This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Add a part of a path to relation in iD

1

I found a situation with parallel paths (where it isn't in reality) so I cut one of the tracks and connected the ends to the other path. So far so good. But the path I cut is part of a long hiking trail so now there is a hole in the hiking path relation.

So I want to add the missing piece to the hiking track relation. How do I do this?

screenshot

Edit: The grey dots on the road between the connections got there after I tried to create a short path marked as Path (Linje) using the same nodes as the road. I don't know if that was a good way of doing it.

asked 29 Jun '14, 16:20

Patrik%20Nilsson's gravatar image

Patrik Nilsson
21112
accept rate: 0%

edited 01 Jul '14, 02:56

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

5

You need to add the missing section of the hiking trail back as a relation member.

  • No need to draw another path, just put the existing one in.
  • If the osm way is longer than the trail section, split the osm way (by clicking on a node and selecting the scisors).
  • To add the way to the relation, select the way and click on the '+' at the very bottom of the left panel, and choose the hiking relation.

answered 30 Jun '14, 09:56

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

1

Thanks for the answer! Is it always ok/good practice to make cuts in existing paths were needed?

(08 Jul '14, 10:00) Patrik Nilsson
3

By definition, if a cut is needed (because the attributes change, a route relation connects there, etc), you have to do the cut.

Otherwise, it's better not to cut (or even to join) the ways, unless the way is very big (the threshold varies and is very subjective, but often around 1000 nodes or 50km).

(08 Jul '14, 11:44) Vincent de P... ♦

Source code available on GitHub .