[MS4W-Users] WMS imagery has transparent pixels

karsten vennemann karsten at terragis.net
Thu Jan 21 12:27:53 EST 2010


Try setting  FORMATOPTION "TRANSPARENT=ON" in your outputformat declaration
and choose an image type that supports transparency like png.
does 
 OUTPUTFORMAT
   NAME "AGGPNG24"
   DRIVER "AGG/PNG"
   MIMETYPE "image/png"
   EXTENSION PNG
   IMAGEMODE RGB
   FORMATOPTION "INTERLACE=OFF"
   FORMATOPTION "TRANSPARENT=ON" 
 END
work ?

Note: I had usually the opposite problem with vector layers and WMS when I
set color to 255 255 255 that as WMS renders then transparent. In that acse
with vectors and one can set color 254 254 254 instead and it will render
fine (white). 

Karsten

Cheers
Karsten

Karsten Vennemann
Principal

Terra GIS LTD
Seattle, WA, USA 
www.terragis.net

 



More information about the MS4W-Users mailing list