[Mapserver-dev] hierarchical map files

Titus von der Malsburg malsburg at cl.uni-heidelberg.de
Fri Sep 3 05:31:07 EDT 2004


On Tue, Aug 31, 2004 at 01:03:03AM +0200, Carlo A. Bertelli wrote:
> definitely, when you have a lot of layers, MS maps are not easily
> manageable between several applications.

Hi Carlo,

I use the C preprocessor to manage very large modular mapfiles and it works
quite well.  It gives you at least two additional tools:

	Includes: I use them just as you described it

	Variables: for things like

		SHAPEPATH MYSHAPEPATH
		MINSCALE MYSCALE_MIN
		MAXSCALE MYSCALE_MAX

	or for things like

		#ifdef DEBUG
  		LAYER
      		NAME "graticule"
	  		...
		#endif

If you embed this in a configure/make-setup it is a very convenient
solution.

	Titus
	  



More information about the mapserver-dev mailing list