[mapserver-users] wms output problem

Valeria Muñoz valemunoz at gmail.com
Wed Jan 6 08:49:57 EST 2010


I define PNG in the mapfile.

RG

2010/1/6 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100106/c7bad77b/attachment.html


More information about the mapserver-users mailing list