Allows classifications against datasets. Every Layer object MUST have a CLASS object. For full details of the MapServer LAYER>CLASS Object please see the MapServer MAP Documentation.
Info |
---|
If you are using MapInfo TAB files you have a STYLEITEM “auto” option in the Layer object. In this case you have a simple empty CLASS END item. |
Element | Description | Example |
---|---|---|
NAME | OPTIONAL – used when showing Legends as title. | “More than 30” |
EXPRESSION | Expressions are very powerful. You can use Regular Expressions, SQL Like expressions or simply an attribute value. See following for more info: | EXPRESSION ([Total] < 6) EXPRESSION /^(REAR OF|ACCESS)/ EXPRESSION "2005" |
MapServer allows you to define styles for features. These can be stacked on top of each other. | ||
The Label class can allow for multiple columns to form an Expression for the label. |
...