[mapserver-users] How ro get transparent image on 6.0.1

Janeks Kamerovskis janeks.kamerovskis at silvita.lv
Thu Nov 3 06:46:15 PDT 2011


Hi,

I recently moved to 6.0.1, but stumped to getting transparent image.

I used following syntaxis in my map file:

     IMAGECOLOR 255 255 255

     OUTPUTFORMAT
         NAME "png"
         DRIVER AGG/PNG
         MIMETYPE "image/png"
         IMAGEMODE RGBA
         EXTENSION "png"
         FORMATOPTION "GAMMA=0.75"
         TRANSPARENT ON
     END

     IMAGETYPE png

But my request is still getting nontransparent image:
http://10.162.129.14/MapApp/wms_rs.asp?LAYERS=rs&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A25884&BBOX=166509.5,6040766.7857144,908910.5,6571053.2142856&WIDTH=1050&HEIGHT=750

What could be wrong?

brgds & thanks in advance
Janeks



More information about the MapServer-users mailing list