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

I found an area (around Vesuvius national park in Italy) where there are lots of duplicate relations (they have slightly different name, but they refer to the same hiking path, like these two: https://www.openstreetmap.org/relation/2672045#map=15/40.8100/14.4386 and https://www.openstreetmap.org/relation/9278294#map=15/40.7982/14.4421 ).

Is there a better way to merge them/remove the duplicate one without manually removing all the member paths from one of them?

There is a similar question here: https://help.openstreetmap.org/questions/2014/is-it-possible-to-merge-relations but it is old and does not provide an answer for the web editor.

asked 31 Oct '22, 16:51

Tom%C3%A1%C5%A1%20Hnyk's gravatar image

Tomáš Hnyk
16112
accept rate: 0%


As you have already found out iD (the default "web" editor) requires you to empty relations before deleting them, this is a design decision based on the target user base.

Any kind of more involved relation maintenance, particularly because you will want to compare the contents of one editor with another should be done with JOSM (there are other editors that allow you to delete a non-empty relation, but as said, probably not useful in your use case).

See https://josm.openstreetmap.de/

permanent link

answered 02 Nov '22, 07:20

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Thank you, it was reasonably easy with JOSM, after I got over the steep learning curve how to even download the data in question.

As for merging, there sdoes not seem to be a one-click way to do that, but one can copy all tags of a relation at once and I guess I could select all members of one relation and add it to the other, but I in the end did not need to do that.

(03 Nov '22, 13:00) Tomáš Hnyk
Your answer
toggle preview

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

question asked: 31 Oct '22, 16:51

question was seen: 2,434 times

last updated: 03 Nov '22, 13:00

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