Interesting idea. Is it possible to render the same layer twice with a
different style each time, within one request (as I do not want to double my
requests number)?


jody.garnett wrote
> Looks like I misunderstood your question - in that case you should be able
> to use z-order to overlay your second symbol. Won't be the exact same SLD
> but it will be the correct visual effect.
> 
> Jody Garnett
> 
> 
> On Mon, Mar 24, 2014 at 9:39 PM, uki <

> ukiz@

> > wrote:
> 
>> No SE function can produce multiple symbolizers for one point, and I'm
>> not
>> looking for workarounds here. I would like to efficiently express with
>> CSS
>> what I can express with a (pretty simple) SLD.
>>
>> Lukasz
>>
>>
>> jody.garnett wrote
>> > 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 (
>>
>> > ukiz@
>>
>> > ) 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
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/CSS-styling-create-overlapping-SLD-rules-tp5130070p5130619.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





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/CSS-styling-create-overlapping-SLD-rules-tp5130070p5130982.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

Reply via email to