Frank Warmerdam warmerdam at POBOX.COM
Thu Dec 14 21:18:53 EST 2006

On 12/15/06, Ben Tuttle <funkbucket at> wrote:
> Hi all-
> We have a need to up MS_MAXLAYERS, we need to have large numbers of
> layers in our mapfiles. We are thinking perhaps as high as 8000. Does
> anyone have any thoughts on problems we might encounter by doing this
> or other things we need to change at the same time? Are there any
> other compile time contants that should be increased at the same time


I think you will see parsing of the .map file become a dominant
cost with this many layers.  i really suspect you should either be
looking at some sort of tileindex based approach or using
mapscript to dynamic create the layers needed for a given request.

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at
light and sound - activate the windows |
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the mapserver-users mailing list