[Tagging] Requiring area=yes with barrier=wall, barrier=hedge and other usually linear features when mapped as an area`1

Joseph Eisenberg joseph.eisenberg at gmail.com
Mon Apr 15 01:14:32 UTC 2019

Gates can be mapped as nodes, so the fence or hedge or wall can be
mapped as a single way that goes around the field, and the gates or
stiles as nodes of that way.

I agree with everyone who says that it is best practice to map a
"barrier=hedge" as separate feature from a "landuse=meadow", but in
reality many mappers like to use the same way for both features.

Perhaps some of them think of it as a sub-tag like "fenced=yes" - it
isn't always clear if a tag is a separate feature or a characteristic
of another feature.

But at any rate, we would like to avoid confusing mappers with the
rendering result at Openstreetmap-Carto. These are the 2 options for
how to deal with closed ways that are tagged with another feature.

1) As now, keep rendering a closed way tagged as "barrier=hedge" and
"landuse=*" or "natural=*" as a hedge area, with dark green fill color
over the whole field. Sometimes this gives mappers a hint to change
the rendering, but this combination is still very common in the
database, and the rendering is clearly not what the mapper intended.

2) Render the hedge fill color only for closed ways mapped with
"barrier=hedge" AND "area=yes". This is the recommended way to map a
hedge (or most other features that are usually linear) as an area.

So in case of option 2,
- a closed way that was tagged "barrier=hedge" only will be rendered as a line.
- a closed way tagged as "barrier=hedge" AND "area=yes" will be
rendered with a green fill for the whole area.
- a closed way tagged as "tourism=camp_site" and "barrier=hedge" will
render with a hedge line around the outside, but the campsite color
fill on the inside.
- a closed way (mis-)tagged as "landuse=meadow" and "barrier=hedge"
"AND "area=yes" will render with the green hedge fill for the whole
area, because this is a tagging mistake.

My question to everyone on this forum: does option 2 makes sense to
you as a mapper? Is it less confusing that the current situation
(option 1)

More information about the Tagging mailing list