.map within a .map

Lowell.Filak lfilak at MEDINACO.ORG
Tue Nov 8 05:47:44 PST 2005


Oliver Ishmael writes: 

> Hi all, 
> 
> Is it possible to call a nested .map file within a mapfile. 
> 
> For example, i am developing a mapserver for work and have some of the data
> at home, but not the raster data for example. To enable me to easily run and
> edit the mapfile from home, it would be useful if some of this data could be
> called in a separate mapfile, (which i could comment out as necessary). 
> 
> What is the syntax for calling a .map file from within a .map file.

Oliver, 

I don't think you can 'nest' mapfiles but Ed M. has posted a few times to 
the list describing a method to utilize the C preprocessor:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0209/msg00230.html 

HTH 

Lowell



More information about the MapServer-users mailing list