[MAPSERVER-USERS] color theming shapfiles
Albert Garcia
gis at ROSES.ES
Tue Jan 9 23:24:34 PST 2007
Hi
I have a layer and I draw the polygons in different color by one attribute
(CONSTRU). In this case this attribute is not a number, but is the same. You
can select using the parameter EXPRESSION. Every object CLASS is painted
with a different color.
LAYER
NAME "constru"
STATUS DEFAULT
DATA "constru"
TYPE POLYGON
CLASSITEM "CONSTRU"
UNITS METERS
MAXSCALE 4000
CLASS
NAME "solar"
EXPRESSION "SOLAR"
STYLE
COLOR 233 209 209
OUTLINECOLOR 227 108 53
END
END
CLASS
NAME "PATI"
EXPRESSION "P"
STYLE
COLOR 207 221 193
OUTLINECOLOR 227 108 53
END
END
CLASS
NAME "JARDI"
EXPRESSION "JD"
STYLE
COLOR 207 221 193
OUTLINECOLOR 227 108 53
END
END
CLASS
NAME "AMARRE"
EXPRESSION "ETQ"
STYLE
COLOR 210 235 244
OUTLINECOLOR 227 108 53
END
END
CLASS
NAME "PISCINA"
EXPRESSION "PI"
STYLE
COLOR 131 196 254
OUTLINECOLOR 227 108 53
END
END
CLASS
NAME "CONSTRUCCIO"
STYLE
COLOR 255 181 176
OUTLINECOLOR 227 108 53
END
END
END
Albert
More information about the MapServer-users
mailing list