[OSM-dev] Rendering transparent OSM maps using Mapnik
Andre Joost
andre+joost at nurfuerspam.de
Fri Feb 3 08:09:56 GMT 2012
Am 03.02.2012 09:00, schrieb Ciprian Talaba:
> Hi,
>
> I have a working installation of Mod_tile + Tirex + Mapnik rendering a
> small region. The next step was to create s simpler style without
> landuse and with transparent background in order to use this as an
> overlay. Currently osm.xml have a map background of #B5D0D0 (assuming
> that this is due to the fact that a lot of tiles contain water areas).
> The rendered tiles have instead a background of "#F1EEE8" so somewhere
> this is set, but a search in the original style (and any includes) led
> me to nothing.
>
> Have anyone tried to generate transparent tiles with Mapnik. I am
> missing something here?
>
The blue background is replaced by a white background along with the
coastline rendering. To have transparent tiles, just leave out the
background-color entry from your style.
HTH,
André Joost
More information about the dev
mailing list