Benoît Andrieu wrote:
Is this possible to have a single map file referencing multiple map files ?
You could probably achieve what you want by splitting all your mapfiles in two parts and using the include directive.
For each mapfile you'd have a "mymap_main.map" that would contain everything except the layer definitions, and a "mymap_layers.include" that contains all layer definitions for that map. The mymap_main.map would be the main entry point for that specific map and would use "include 'mymap_layers.include'" to refer to the layer definitions.
Then for your WMS service, you'd create a "my_wms.map" that contains the general mapfile info (map name, extents, web object, etc.) and then includes all the "*_layers.include" files.
Daniel -- Daniel Morissette http://www.mapgears.com/ _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
