MS_MAXLAYERS Question
Frank Warmerdam
warmerdam at POBOX.COM
Thu Dec 14 18:18:53 PST 2006
On 12/15/06, Ben Tuttle <funkbucket at gmail.com> 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
> as MS_MAXLAYERS?
Ben,
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 pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list