No transparency for WMS-rasterlayer NOT in a Baselayergroup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

No transparency for WMS-rasterlayer NOT in a Baselayergroup

Reservoirdog
hey guys,
the title kind of says it all,
i am getting raster-layers from a wms-service.
if these layers are displayed in a baselayergroup (with tile-caching)
i can configure white color as transparency-color.
if i do use one of these raster-layers NOT in a baselayergroup,
the white color covers all the other baselayer-groups. (although configured with white as transparency-color too)

My main problem is, that there are a lot of these layers,
and i don't want to create a baselayergroup for each of these layers.
Any hint on how to get the "white parts" transparent when used as a
"normal" layer?
Reply | Threaded
Open this post in threaded view
|

Re: No transparency for WMS-rasterlayer NOT in a Baselayergroup

Reservoirdog
found the answer myself...
the trick is to set the in the wms-datasource under advanced (config-document)
the checkbox "transparent". This way even when not used in a baselayergroup,
white color of the raster is interpreted as transparent...