On Wed, Dec 2, 2009 at 9:10 PM, Richard Fairhurst <[email protected]> wrote:
>
> Steve Bennett wrote:
> > How do you make a style that depends on two attributes? Eg,
> > highway=residential *and* cycleway=lane?
>
> Simply:
>
> way[highway=residential][cycleway=lane] { ...}
>
Thanks, I tried every combination but that one. :)
Next question: when and why do you need to add :area to be able to tag areas?
way[landuse=commercial] { fill-color: purple; }
worked. But this:
way[building=yes] { fill-color: black; }
didn't. And this:
way:area[building=yes] { fill-color: black; }
Did. ?
And finally, I have these rules:
----
way[landuse=commercial] { fill-color: purple;fill-opacity:0.5;z-index:1;}
way:area[building=yes] { fill-color:orange; z-index:4;}
----
Now, some buildings are getting rendered on top of the commercial
areas (and coming out bright orange), and some of them are being
rendered beneath the commercial areas (and coming out a dark red
colour). Bug?
Steve
_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk