[OSM-talk] Halcyon/MapCSS question

Eugene Alvin Villar seav80 at gmail.com
Sun Dec 6 17:51:19 GMT 2009


On Fri, Dec 4, 2009 at 1:10 AM, Martin Koppenhoefer
<dieterdreist at gmail.com>wrote:

> 2009/12/2 Richard Fairhurst <richard at systemed.net>
>
>  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091207/a096af93/attachment.html>


More information about the talk mailing list