[mapserver-users] wms output problem
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Wed Jan 6 05:43:01 PST 2010
Hi,
Are you sure you are asking for png? Your client may have a default setting for jpeg. The request should look like
http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\osm.map&REQUEST=GetMap&SERVICE=WMS
&VERSION=1.1.1&WIDTH=1059&HEIGHT=687&LAYERS=default&TRANSPARENT=TRUE
&FORMAT=image/png
&BBOX=3430775,6764522,3430932,6764624
&SRS=epsg:2393&STYLES=
-Jukka Rahkonen-
Valeria Muñoz wrote:
Hi!
i have a problem with the output image of my wms, i define PNG but return
JPEG.
Source mapfile
OUTPUTFORMAT
NAME png
DRIVER "AGG/PNG"
MIMETYPE 'image/png'
IMAGEMODE RGB
EXTENSION "png"
FORMATOPTION "TRANSPARENT=OFF"
FORMATOPTION "INTERLACE=ON"
END
source wms mapfile
OUTPUTFORMAT
NAME png
DRIVER "AGG/PNG"
MIMETYPE 'image/png'
IMAGEMODE RGB
EXTENSION "png"
FORMATOPTION "TRANSPARENT=OFF"
FORMATOPTION "INTERLACE=ON"
END
can you help me please?
RG
More information about the MapServer-users
mailing list