[mapserver-users] Passing a mapfile via CGI

Bob Basques Bob.Basques at ci.stpaul.mn.us
Mon Apr 16 09:22:59 PDT 2012


All, 

Did anything ever develop from this idea?  I need to generate a variable length list of layers pro grammatically. 

I'm not finding anything from a quick search of things related to passing a MAPFILE via the CGI call.  I want to be able to generate a MAPFILE, or chunks of it, on the fly.  A possible solution (maybe scary security wise) would be to use a param like "INCLUDE_<someID>=", to pass in MAP fragments to an existing MAPFILE.  I need to essentially add layers. 

Another thought I had (Ok, it's a bit odd, I'll admit . . .) would be to have MapServer build it's own MAPFILE as a TEMPLATE output, but I'm not coming up with a way immediately of passing the resulting MAPFILE to Mapserver in the end. 

bobb 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120416/2586f227/attachment.htm>


More information about the MapServer-users mailing list