[mapserver-users] Fwd: Constraining WMS output type

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Mar 12 10:03:53 EDT 2012


Hi,

I would have a try by defining a 8-bit png outputformat for img/png MIME type and using wms_getmap_formatlist in the metadata. How have you defined the png8 now in your mapfile?

-Jukka Rahkonen-
________________________________
Jan Hartmann wrote:


> Hi all,

> Is there a way to restrict the output types Mapserver offers as a WMS service, e.g. only png 8-bits? In QGIS, when I choose "png" as output for a WMS layer, I always get back png24 rasters, even if I explicitly specify png8 as outputtype in the mapfile.

> Not sure if this would be according to the WMS specs, though.
> Jan



More information about the mapserver-users mailing list