[MAPSERVER-USERS] color theming shapfiles
Gregor Mosheh
gregor at HOSTGIS.COM
Tue Jan 9 12:50:21 PST 2007
> I'd like to color theme a layer (shapefile) based on one of its
> attributes.
Check the docs.
For the layer, check out the CLASSITEM.
For the classes, check out EXPRESSION.
And if you need more help, just ask.
Here's a super-simple example to get you started:
LAYER
CLASSITEM "population"
CLASS
NAME "big city"
EXPRESSION ([population] > 1000000)
END
CLASS
NAME "small town"
EXPRESSION ([population] < 10000)
END
END
More information about the MapServer-users
mailing list