[Mapserver-users] Maximum Num of Features?

Martin, Daniel DMartin at erac.com
Wed Jan 29 14:28:03 PST 2003


Hmm, I don't see a CLASSITEM declared in your layer.

Try adding:

CLASSITEM my-field-name

to your LAYER object.  There is a limit of 50 layers, unless you can
recompile, but I don't think there is a CLASS limit.

-Dan


> -----Original Message-----
> From: Chris Hagwood [mailto:chagwood at ci.garner.nc.us]
> Sent: Wednesday, January 29, 2003 4:15 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] Maximum Num of Features?
> 
> 
> I have a layer (police zones) that I would like to make 
> colored so that it each zone will stand out.  When I try, it 
> appears to choke mapserver.
> 
> Here's the part from my .map file:
> LAYER
>   NAME newzone
>   TYPE Polygon
>   STATUS off
>   DATA newdist
> 
>       CLASS
>         EXPRESSION '8300'
>         COLOR 243 137 139
>         OUTLINECOLOR 0 0 0
>      END  # CLASS
> 
>       CLASS
>         EXPRESSION '8301'
>         COLOR 123 254 205
>         OUTLINECOLOR 0 0 0
>      END  # CLASS
> 
> 	#REPEAT for each zone
> 
>       CLASS
>         EXPRESSION '8412'
>         COLOR 40 128 60
>         OUTLINECOLOR 0 0 0
>      END  # CLASS
> END  # LAYER
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 



More information about the MapServer-users mailing list