Unfortunately it's not always practical to aim for exactly one rule applying
at any scale. For example a roads layer will usually show highways and
residential roads at the same scale.

In my WMS roads layer all road features are contained in a single Shapefile
with an attribute indicating road type, so I style them all using a single
SLD. I want highways to show on top of residential roads so I do need to
worry about z-ordering.

In some cases I only want to show one type of road but I want something like
a thick green line with a slightly thicker grey line behind it to provide an
outline. Again, this requires multiple rules at the same scale and makes
z-ordering important.

Given the number of different types of roads it is not practical (and
presumably bad for performance) to break them out into different layers and
different SLDs.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/SLD-drawing-order-tp4948595p4950831.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to