NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

When adding tags that apply to the whole object (mostly wikipedia/data, but there are others), should I create a relation and add the tag to the relation, or should I add the tag to every way that's part of the object.

For example the White Cliffs of Dover has several ways. Some have a different set of tags than others, though. Some have different (specific) names, though they're all part of the Cliffs of Dover. Should we have a relation with name=White Cliffs of Dover, wikidata=Q754785, operator=National Trust, etc?

What about streets? I see there's relation:street so I think I'll go ahead and use that.

asked 05 Jan '17, 17:11

mdejean's gravatar image

mdejean
31225
accept rate: 0%


Relation tags do not cascade down to their member elements. If you create three ways and you don't name them, but instead put them in a relation which does have a name tag, virtually nothing (renderer, router, analysis tool, whatever) will understand what you mean.

As the relation:street page says: "Note that this relation is not established and unsupported by some applications." Translation: it's been made up by someone to whose sense of data consistency it appeals, but no-one else uses it.

Relations are used for a few distinct purposes, such as route relations (buses, bike routes, etc.), multipolygons, and so on. For everything else, there is nothing wrong with having two adjacent objects which have the same tags.

permanent link

answered 05 Jan '17, 20:06

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

edited 05 Jan '17, 20:07

1

So the cliffs in the White Cliffs of Dover should each have name=White Cliffs of Dover, alt_name=Shakespeare Cliffs, Langdon Cliffs, etc., wikidata=Q754785?

Is there a way to select all of the ways with the same name to add a tag?

(05 Jan '17, 20:36) mdejean
1

There is no way to select multiple objects in the iD editor, you can do so in JOSM

(06 Jan '17, 08:02) escada

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×236
×34

question asked: 05 Jan '17, 17:11

question was seen: 1,832 times

last updated: 06 Jan '17, 08:02

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum