Skip to content

Rethink handling of fenced=yes #514

@Hufkratzer

Description

@Hufkratzer

Current behaviour

iD seems to produce warnigs for all objects with fenced=yes that look like
fencedmeadow
because of

"old": {"fenced": "yes"},
"replace": {"barrier": "fence"}

If the user executes the option to "upgrade the tags". iD replaces fenced=yes with barrier=fence on the same object.

Why this is not a good idea

fenced=yes is a tag mainly for area features, most of the objects tagged with it do also have an area tag, mostly landuse=* or leisure=*. In contrast, barrier=fence is a tag for a linear feature (a fence). For these objects, replacing fenced=yes with barrier=fence produces objects that are tagged with an area and a linear feature tag mixed together. This is generally discouraged, explained in these discussions:

Possible solutions

  • Replace the current option to "upgrade the tags" with another one that produces a separate way with barrier=fence (and its attributes, if present). There is already a similar option for nodes that are part of a way but shouldn't:
    pitch
    Also objects that already have got these mixed area and linear tags should be handled.
  • Don't do anything in case of fenced=yes and ignore its deprecation (until some better solution than the current one is available).
  • Question whether fenced=yes should be deprecated at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions