loading dynamically generated maps

Attila Csipa plists at PROMETHEUS.ORG.YU
Sun Apr 30 14:50:45 EDT 2006

I'm about to make a patch for mapserver that adds a loadmap-like function, but 
that takes the map file in a string as parameter (instead of the 
classical .map filename). This obviously makes life easier for dynamically 
generated maps/mapfiles, and also makes possible things like

cat myfancy.xml  | xml2map -user $user |  shp2img -i PNG > /out/dir/image.png

I have not touched mapserver code in quite a while so I'm not sure if such a 
change requires a RFC, or if something similar already exists in mapserver 
land. The main counterargument could be security, since if mapserver is run 
in cgi mode you could have a potentially higher exposure to mapserver 
internals. Perhaps in that case some sort of limitation mechanism could be 
desired (OTOH this applies for mapserver as a whole), so comments are 

More information about the mapserver-dev mailing list