[Geoserver-users] Unique styles

Hi list,

I have two polygon layers, Zone and Subzone. A Zone can contain one or more
Subzones. Subzones have an attribute, typenumber, which can range from 1 to
5 in some Zones and from 100-200 in other Zones etc.

I would like to show the Subzones with a common typenumber value in the same
color, i.e. typenumer 1 is blue, typenumber 2 is yellow etc. In some
Subzones it would be typenumber 100 that is yellow and typenumber 110 that
is blue, etc. What the various colors are, are not important.

How would I best do this? Some Zones have only one Subzone and other Zones
have up to 20 Subzones. Typenumber can vary a lot. Making a SLD manually
seems almost impossible. Is there a way to do this automagically? Or is
there a thing like an "unique value" function that could be used in a SLD?

Thanks,

ZM
--
View this message in context: http://old.nabble.com/Unique-styles-tp29609266p29609266.html
Sent from the GeoServer - User mailing list archive at Nabble.com.