Hello Genis.

I think the way the WMS spec works to request a tranparent background  
tile you need to set up OpenLayers to send TRANSPARENT=true as one of  
you getMap request parameters. This is not the way Mapnik works but  
how the OgcServer implementation works.

Dane



On Oct 8, 2009, at 1:31 PM, Genis Pujol Hamelink  
<[email protected]> wrote:

> Hello list,
>
> I've created a wms service using mapnik with 2 layers.
>
> One is being used as the base layer (using openlayers) and the 2nd  
> one is a switchable layer on top of that (it displays a UTM grid).
>
> The problem appears to be that the backgound of the 2nd layer (a  
> grid) is color white instead of transparent, so it renders on top of  
> the base layer...
>
> I know I can set the opacity of the polygon to 0, but how can I set  
> the background of the map to transparent?
>
> Kind Regards,
>
> G
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to