On Fri, Dec 4, 2009 at 1:10 AM, Martin Koppenhoefer <[email protected]>wrote:
> 2009/12/2 Richard Fairhurst <[email protected]> > > You shouldn't need to add :area for it to render. :area just means >> "only use this rule if the way is closed" (i.e. start and end points >> are the same). >> >> So you might do: >> >> way [highway] [!junction] :area { fill-color: grey; } >> >> which would mean "fill it in grey if it's a highway area, unless the >> junction tag is set". (Because you don't want roundabouts to be filled!) >> > > AFAIK all highways require the area=yes-Tag to be set in order to be > defined as an area, because there are other circular ways that are not > roundabouts or junctions but still aren't areas. I wouldn't want those to be > split just because otherwise they would be recognized as areas. > I assume that way [highway]:area { ... } is different from way [highway][area=yes] { ... } The first only matches ways that are closed polygons (with the exact same starting and end node) and the second matches those that have the area=yes tag.
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

