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

Split a road where there is no node

3

I need to split a road into two, something I have done before at a node, but this time there is no node. I have search the help but can't find the answer. I assume I need to add a node then split it.

Secondary question, is it then possible to join one of the sections of the road to another so it appears as one road?

asked 23 May '14, 16:04

GrahamI's gravatar image

GrahamI
913310
accept rate: 0%

edited 23 May '14, 16:04


One Answer:

2

Hi Grahaml, with P2 just push shift and push the left mouse button and there’s a new node in the way. Add all the tags to the road before cutting it, with the cutting tool the scissor hand in the right lower corner. The tutorial is here https://wiki.openstreetmap.org/wiki/Potlatch_2 Joining them is selecting them with your pointer again while pushing the ctrl button and the chain button in the right lower window. In JOSM it’s done by these rules https://wiki.openstreetmap.org/wiki/JOSM/Plugins/utilsplugin2#Add_nodes_at_intersections_.28Shift.2BI.29 If you’re using ID I don’t know but there is a tutorial as well, https://wiki.openstreetmap.org/wiki/ID

answered 23 May '14, 16:20

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

edited 23 May '14, 16:22

1

Thanks Nick. I've been using ID but I reverted to P2 to split and merge the roads.

(23 May '14, 16:40) GrahamI
1

Please note that the page linked to by Hendrikklaas for the JOSM method has nothing to do with what's being discussed here.

(23 May '14, 22:05) alester

Hi Alester, yould rather 've seen this one https://wiki.openstreetmap.org/wiki/JOSM/Guide ?

(23 May '14, 23:32) Hendrikklaas

This one would be best: https://wiki.openstreetmap.org/wiki/JOSM/Basic_editing It covers both adding a node to a way and splitting.

(23 May '14, 23:50) alester
1

Update: It looks as though it should be simple enough to join 2 sections of road in ID. I can select one section and shift-select the other. There is a greyed-out + button but when I hover of it I get the message: these lines can't be merged because they aren't connected. They are connected so I'm guessing it's either a feature that has yet to be implemented or there's a bug...

(25 May '14, 08:04) GrahamI

Hi Graham try this one https://help.openstreetmap.org/questions/22393/how-can-i-merge-two-paths-in-the-id-editor I just added ID in the blank window just below Questions together with ways et voila, succes.

(25 May '14, 08:35) Hendrikklaas
1

@GrahamI Would it be possible to provide a link to the ways that you can't join using iD so that we could have a look and see what the problem might be?

(25 May '14, 09:07) SomeoneElse ♦
1

Hi SomeoneElse. Unfortunately I can't at present as I used P2 to merge the ones I wanted to merge. I shall probably find some others later though...

(25 May '14, 09:34) GrahamI
showing 5 of 8 show 3 more comments

Source code available on GitHub .