Christian, I feel we're approaching an 'agree to disagree', but I'm curious -
where are the guidelines suggesting that SLDs should only contain one active
style at any scale?

The specification permits multiple FeatureTypeStyle elements for a good
reason - so that you can have multiple 'layers' within the resulting image
and you can control how they are positioned relative to each other. From the
specification (1.1.0):

"Note that there is no restriction against a single UserStyle from including
multiple FeatureTypeStyles that reference the same FeatureTypeName. This
case does not create an exception in the rendering semantics, however, since
a map styler is expected to process all FeatureTypeStyles in the order that
they appear, regardless, plotting one instance over top of another"

This suggests that using FeatureTypeStyle elements to control ordering is in
fact part of the standard. The specification even highlights the importance
of execution order. Given that I can find no mention of a one active style
restriction I assume that this approach is, in fact, convention.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/SLD-drawing-order-tp4948595p4976193.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