On Thu, May 29, 2008 at 9:27 PM, Brian Peschel <[EMAIL PROTECTED]> wrote:
> I think I have this right in my head, but I just want to check.
>
> A Layer can have multiple Styles.
> A Style can have multiple Rules.
>
> When processing a Layer, all Styles that apply (based on the rules) and
> drawn.
> When processing a Style, the first Rule that applies is used.

Actually, I think all rules that match apply.

> So, a feature that is at scale of (say) 50000 with the right conditions
> based on the filter would be drawn twice.  Once with a stroke width of 3
> (the tunnels-casing style) and once with a stroke width of 2 (the
> tunnels-fill style).  And they will be drawn in the order defined by the
> Layer tag?

That's about right.

Have a nice day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to