Mapfile - 50 Layers Maximum ?

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Fri Jan 13 10:09:51 PST 2006


Randy,

The limit is set in map.h
You can change the limit and recompile
More resent version have a higher limit I think, but I'm not sure what.

-Steve W.

Randy How wrote:
>  
> Greetings,
>  
> I've come across this rumor/fact, that there is a maximum of 50 layers in a
> map file.  Unknowingly  I was experimenting the use of MapServer for QC'ing
> a project, that I put in 2,500 layers into a mapfile.  Yes, not surprisingly
> MapServer baucked about this.  Then the first question is what is the limit,
> then I found out that it was 50!
>  
> I looked in to an existing mapfile that we have and it has 45 layers.  These
> layers are represented at different scales, and/or by spatial reference
> (i.e. Indices for different UTM zones), then a watermark.
>  
> We are moving into more global datasets which may be represented the same
> way.  There's 60 UTM zones.  So the 50 layer limit is going to be a problem
> in the short term.
>  
> Can anyone verify this fact?  And is there a work around in place to
> accomplish these needs?
>  
> Thanks, Randy 
>  
> ________________________________________________
> Randy How 
> 
> Geospatial Applications Developer
> Voice: +1-970-482-4400
> Fax: +1-970-482-4499
> Web: http://www.i3.com/
> 
> i-cubed    	
> 201 Linden, Third Floor    	
> Fort Collins, CO 80524    	
> 



More information about the MapServer-users mailing list