Have a look at the SE functions, Categorize, Recode etc... for these cases.
-- 
Jody Garnett

On 22 March 2014 at 5:13:54 am, uki ([email protected]) wrote:

> If you want the equivalent of SLD I believe you need to invert your line of  
> thinking,and be explicit about the overlap, like this (untested, but  
> hopefully you  
> get the idea):  

> [ speed > 0.5 ] {  
> mark: symbol('cross');  
> }  
> [speed <= 0.5] {  
> mark: symbol('cross),symbol('circle');  
> }  

I'm sure this will work, but it involves repetition that I wanted to avoid.  
The whole PointSymbolizer for the 'cross' is repeated twice and the  
resulting SLD will be overly complex. Looks like CSS is not best suited for  
such cases. How about a solution that would allow defining sections in CSS  
that would be evaluated separately/independently - just an idea...  

Lukasz  



--  
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/CSS-styling-create-overlapping-SLD-rules-tp5130070p5130407.html
  
Sent from the GeoServer - User mailing list archive at Nabble.com.  

------------------------------------------------------------------------------  
Learn Graph Databases - Download FREE O'Reilly Book  
"Graph Databases" is the definitive new guide to graph databases and their  
applications. Written by three acclaimed leaders in the field,  
this first edition is now available. Download your free book today!  
http://p.sf.net/sfu/13534_NeoTech  
_______________________________________________  
Geoserver-users mailing list  
[email protected]  
https://lists.sourceforge.net/lists/listinfo/geoserver-users  
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to