[mapserver-dev] variable substitution for projection

Zach Aller allerzach at gmail.com
Tue Dec 20 18:28:11 EST 2011


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

PROJECTION
    "init=epsg:%projection%"
END

or perhaps even this then i could build what ever

PROJECTION
    %projection%
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20111220/b7f3807b/attachment.html


More information about the mapserver-dev mailing list