On 04/06/2010 04:04 PM, Andrea Aime wrote:
> Hi,
> looking at how CSS behaves I have the impression
> the relationship with the CSS and the generation
> of multiple feature type styles follows a set of
> heuristics.
>
> I was wondering, wouldn't it be better to have
> it user controlled by means of something explicit,
> like z-index, for example?
>
> Cheers
> Andrea
>
>    
Yes it would.  Tickets are welcome, patches more so.

btw, the current heuristic is to order by geometry type, then by 
declaration in the style rule. so we have:

polygon symbolizers (fill only, the css module never outputs a stroke 
for a polygon)
line symbolizers
point symbolizers
text symbolizers (although I think geotools treats these specially anyway?)

No rule is produced with more than one symbolizer in it, and then 
featuretypestyles are created with only mutually exclusive rules in 
them.  No provisions are made to avoid mixing symbolizer types within 
these featuretypestyles, so I imagine there are some combinations of 
rules with different numbers of strokes/fills that could have fills 
overlapping outlines, etc.

--
David Winslow
OpenGeo - http://opengeo.org/

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to