[mapserver-users] MAP file INCLUDE with wildcard

Schepers, Benjamin schepers at rvr-online.de
Wed Apr 27 23:12:18 PDT 2016


Hi,

it doesn't work out of the box with typical wildcards as *?.

Maybe this could be done with some naming-conventions and a wrapper-script [http://mapserver.org/cgi/wrapper.html] adding something like "cat" with wildcards on "include-files" before mapserver execution.
i.e 
	cat ways_*.layer > all_ways.include

"all_ways.include" would be referenced in your mapfile. With this method you could also realize user specific mapfiles or other kinds of differentiation.

but as stated on the above link, using a wrapper script is inefficient because of process-spawning... and I'm sure, sooner or later exhaustive use of this method will also lead to mapfile-chaos ;-)


Benjamin Schepers

Luftbild und Geoinformationssysteme
luftbilder.geoportal.ruhr
schepers at rvr-online.de



Kronprinzenstraße 35
45128 Essen
Germany
www.metropoleruhr.de


More information about the mapserver-users mailing list