[mapserver-users] Changing OUTPUTFORMAT via CGI URL
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Tue Mar 2 12:25:07 EST 2010
I'm pretty sure you can't do what you're trying to do. Best bet would be to create the necessary output formats ahead of time and switch between them with map.imagetype=PNGQ16 or map.imagetype=PNG256...
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ivan Mincik
Sent: Tuesday, March 02, 2010 8:27 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Changing OUTPUTFORMAT via CGI URL
Dear Mapserver users,
Is it possible to change OUTPUTFORMAT parameters via CGI URL ?
I have this OUTPUTFORMAT definition:
and I want to change FORMATOPTION "QUANTIZE_COLORS=256" to FORMATOPTION "QUANTIZE_COLORS=16".
I have tried all possibilities like &map.outputformat[PNGQ]=FORMATOPTION+QUANTIZE_COLORS%3d256& and similar.
Can anybody confirm that at least it should be working ?
I am using Mapserver 5.2.2.
Thanks a lot
More information about the mapserver-users