"includes" in mapfiles?
McGraw, Joanne
mcgrawj at AGR.GC.CA
Fri Jun 3 05:51:25 PDT 2005
Is there any syntax for including the contents of another file in a mapfile?
I have about 60+ layers that need to go online and most of them fall into fairly clear groups of five layers each. Based on their selection in a drop-down list, users will indicate the group of maps they are interested in looking at and the application will load that map file. There are, however, about 10 ancillary layers of data that should be available no matter what map is loaded (roads, hydro, cities, etc.). Rather than repetitively defining this information in every map file, is there any way I can define the ancillary layers in one file, and then simply load that file's contents from within the other map files?
I'm not sure what to call these except "includes." I haven't had any luck in the archive with that expression, but I cannot believe no one has wanted to do this before.
Cheers,
jtm
Joanne T. McGraw
Spatial Data Visualization Specialist / Spécialiste en visualisation des données spatiales
Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire Canada
Telephone/Téléphone: (613) 759-6103
Facsimile/Télécopieur: (613) 759-1937
960 Carling Ave, #1136
Ottawa, Ontario
K1A 0C6
mcgrawj at agr.gc.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050603/b25e3446/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3190 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050603/b25e3446/attachment.jpg>
More information about the MapServer-users
mailing list