>
> I was wondering if there is a way to mask raster layers that are 
> loaded via WMS (OpenLayers.Layer.WMS). What I am thinking of is a case 
> where for all pixels that are withing a certain range make them 
> transparent. 
I have never done this but it should be straightfoward. You want to take 
the SLD being used and add a colourmapentry with opacity="0" for the 
range you want.
For your layer do:
layer.mergeNewParams({sld_body:mySLD}); //mySLD contains the new raster 
style
and redraw.



Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to