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

How can I merge two parts of the same road?

6

There is one road currently drawn as two separate paths (one goes to one side of an intersection, the other one goes to the other side of the intersection). Is there a way to make them one path instead?

asked 30 May '11, 20:12

J%C4%81nis's gravatar image

Jānis
150348
accept rate: 0%

edited 30 May '11, 20:12


One Answer:

8

Not entirely magic key presses:

  • Potlach. Select both ways whilst holding the CTRL key down. Then in the tool panel at bottom right click on the chain icon and the two ways become one. If you are in advanced view it shows whether the two ways have different tag values (its a good idea to check in case the ways are split for a reason).
  • Josm. Select both ways, and the short-cut "c" will combine the two ways. In JOSM a dialog box prompts if the tagging is different or the ways have different orientations.

answered 30 May '11, 20:27

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

1

Thank you, it worked! Tags were the same.

(30 May '11, 20:30) Jānis
1

In iD Select both ways whilst holding the SHIFT key down. Then click on the plus sign to merge the roads (or use short-cut "c").

(04 Aug '15, 08:09) glozzie

Note: in addition to making sure the tags on the road ways are the same, you should also make sure there are no differences in any relations they are a part of. For example, a transit route might only go down one of the road segments.

(04 Aug '15, 14:38) neuhausr

Source code available on GitHub .