[Mapserver-dev] MAXLAYERS, MAXSTYLES, MAXCLASSES bumped up
Daniel Morissette
morissette at dmsolutions.ca
Thu Mar 27 12:21:29 EST 2003
Hi,
I noticed that the values for MAXLAYERS, MAXCLASSES, and MAXSTYLES have
been bumped up in map.h, actually they've been multiplied by 10 between
revision 1.230 and 1.231 of map.h!
97,98c97,98
< #define MS_MAXCLASSES 50
< #define MS_MAXSTYLES 5
---
> #define MS_MAXCLASSES 500
> #define MS_MAXSTYLES 50
100c100
< #define MS_MAXLAYERS 100 /* maximum number of layers in a map file */
---
> #define MS_MAXLAYERS 1000 /* maximum number of layers in a map file */
Is this really an intentional change? This can have a quite significant
impact on memory usage.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the mapserver-dev
mailing list