[mapserver-users] maximum number of classes

Stephen Lime steve.lime at dnr.state.mn.us
Thu Aug 23 16:21:57 EDT 2001


The limits apply to what can be present in a mapfile. Since display is tied to a mapfile
then I guess the limit applies there to.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Shawn L Johnston <sjohnston at satshot.com> 08/23/01 09:44AM >>>
Is this limit the maximum number of layers (and maximum number of classes
per layer) or is this the maximum number of layers/classes that can be
displayed at any one time?

Cheers,

Shawn



>Hey, they seemed like reasonable limits at the time. The current limit on
layers is 100, and for classes it's 50. You can certainly change them, but
not at runtime. You'll have to edit map.h and change the values for
MS_MAXLAYERS and MS_MAXCLASSES to suit your needs and re-compile.

Stephen Lime
Internet Applications Analyst Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155

651-297-2937 >>> Nicolau Werneck <nwerneck at yahoo.com.br> 08/09/01 06:01PM
>>>
  The documentation says that there's a maximum number
of 50 layers possibe to define in a map file... Is
there also a maximum number of 50 classes to be
defined on a layer???   Whyyyyy? :( ++nicolau





More information about the mapserver-users mailing list