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

Steve Lime steve.lime at dnr.state.mn.us
Thu Mar 27 13:51:50 EST 2003


Who made the change?

>>> Sean Gillies <sgillies at frii.com> 03/27/03 12:30PM >>>
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 

_______________________________________________
Mapserver-dev mailing list
Mapserver-dev at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list