[Mapserver-dev] MAXLAYERS, MAXSTYLES, MAXCLASSES bumped up

Sean Gillies sgillies at frii.com
Thu Mar 27 13:30:15 EST 2003


Roll this back!  There's no explanation why this was done
in the log for map.h, so it can't be all that important to
anyone.  Probably a mistake.

On Thursday, March 27, 2003, at 10:21  AM, Daniel Morissette wrote:

> 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.
>
>
--
Sean Gillies
sgillies at frii.com
http://www.frii.com/~sgillies




More information about the mapserver-dev mailing list