Yes, I think that was the point of CSS?
Something like
[ speed > 0.5 ] {
mark: symbol('cross');
}
* {
mark: symbol('circle');
}
Jody Garnett
On Thu, Mar 20, 2014 at 8:35 PM, uki <[email protected]> wrote:
> Is it possible with CSS styling to create a style with two overlapping SLD
> rules: one with a symbolizer for all features and one with a second
> symbolizer for features that meet certain criteria? So that features that
> meet the criteria have both symbolizers and the rest has only one. For
> example:
>
> <Rule>
> <PointSymbolizer>
> <Graphic>
> <Mark>
> <WellKnownName>circle</WellKnownName>
> </Mark>
> </Graphic>
> </PointSymbolizer>
> </Rule>
>
> <Rule>
> <ogc:Filter>
> <ogc:PropertyIsGreaterThanOrEqualTo>
> <ogc:PropertyName>speed</ogc:PropertyName>
> <ogc:Literal>0.5</ogc:Literal>
> </ogc:PropertyIsGreaterThanOrEqualTo>
> </ogc:Filter>
> <PointSymbolizer>
> <Graphic>
> <Mark>
> <WellKnownName>cross</WellKnownName>
> </Mark>
> </Graphic>
> </PointSymbolizer>
> </Rule>
>
> Can this be done with CSS?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/CSS-styling-create-overlapping-SLD-rules-tp5130070.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