[mapserver-dev] variable substitution for projection

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Dec 21 12:04:26 EST 2011

Zach: You should be able to change the projection through the URL like so:


No need to runtime subs...


From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Zach Aller
Sent: Tuesday, December 20, 2011 5:28 PM
To: mapserver-dev at lists.osgeo.org
Subject: [mapserver-dev] variable substitution for projection

ok i am working with mapserver and a nodejs project and so i am calling mapserver like so.

mapserv -nh "/getPreviewImg.map&mode=map&mapext='+req.params.extent+'&filename='+req.params.imgname+'&projection=3158"

the issue is that mapserver dose not support projection based run time substitution and so i was wondering if that is possible to add and how hard it would be (maybe i could to it myself etc if pointed in right direction because i have no experience with mapserver's src)

map file example thats what i want to replace


or perhaps even this then i could build what ever

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20111221/7bbb8052/attachment.html

More information about the mapserver-dev mailing list