Let's say I have a paths that form T shape.

  • when horizontal path already exists, and I add vertical one I can move the edited red dot from new one to old one, blue dot appears, and I can create a join
  • when both paths (horizontal and vertical) exist, I can drag red dot from the vertical one over the horizontal one, and no blue dot appears, and I cannot create a join

Question: how to join two existing paths?

I am motivated by http://help.openstreetmap.org/questions/1022/what-are-the-most-common-mapping-mistakes-that-other-users-make to fix this. The mentioned J key does not work.

asked 22 Aug '12, 13:33

macias's gravatar image

macias
20181117
accept rate: 0%

edited 22 Aug '12, 13:46


permanent link

answered 22 Aug '12, 14:34

Pieren's gravatar image

Pieren
9.7k2075157
accept rate: 15%

1

Thank you, indeed. The answer about joining existing paths is in the comments to the answer -- one has to delete the ending point and add it again.

(22 Aug '12, 15:38) macias

You don't. But I can't really understand your question, I'm afraid - the talk of "horizontal path" and "vertical path" and "edited red dot" is confusing. Could you clarify?

(22 Aug '12, 17:50) Richard ♦

@Richard, forget about horizontal and vertical then. You have two paths ------ and -------- . They are already created. How to join them (without deleting or adding new nodes)?

(22 Aug '12, 19:44) macias
1

Move a node of one way so it is exactly over the other way.

Make sure the node is selected. (Make sure you are not in drawing mode with the 'elastic band'.)

Press J.

(If that's not working, could you clarify if you're using a non-QWERTY keyboard layout? It might be possible that the keypress is mapped somewhere else.)

(22 Aug '12, 21:17) Richard ♦
2

Do as Richard says "exactly over the other way" and it WILL work, More magnification helps

(23 Aug '12, 08:42) andy mackey
2

@Richard, hurray, indeed now it works. Andy, thank you too for pointing out zoom factor. "Exactly" is the key. And for record -- one has to drag and DROP the point over other line. You cannot drag and while dragging press J -- it won't work.

(24 Aug '12, 18:12) macias
showing 5 of 6 show 1 more comments

Switch to JOSM :-) (sorry, too easy)

In JOSM, you can join a node to the closest way by using the join action (shortcut J). If the target way has already a node at the desired jonction position, you can drag-and-drop your node on the target by holding Ctrl pressed, and the nodes will be merged.

permanent link

answered 22 Aug '12, 21:05

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256
accept rate: 13%

edited 22 Aug '12, 21:29

In JOSM I sometimes have a similar problem:

  • I have two intersecting paths
  • no node at the intersection
  • now I want to add one node at the intersection point, which should belong to both paths

How do you do this in JOSM?

[ My current way to do it:

  • add a node on both paths very near the intersection poin
  • join these nodes together (with shift-J)

many clicks, and always small deviations from the intersection point ]

(22 Aug '12, 21:14) mmehl
1

Switch to Potlatch and shift-click the intersection. :)

(22 Aug '12, 21:17) Richard ♦
1

@mmehl when I move the mouse over the intersection, the both ways become highlighted, if I click, a node is created at these intersection. I've no matter with that :-)

(22 Aug '12, 21:25) NicolasDumoulin
2

Thanks for the hint with potlatch: a similar trick in JOSM: in edit mode: move the cursor near the intersection until both paths are highlighted, then click.

(22 Aug '12, 21:28) mmehl

If using potlatch2 J while the joint node is high-lighted will do it as long as the join point is exactly over the other way. You may have to use more magnification in the editor to see this.Note shift J separates the join. This video may help as well although P2 as updated and improved a lot since.http://vimeo.com/24984085

permanent link

answered 22 Aug '12, 19:15

andy%20mackey's gravatar image

andy mackey
11.7k74126259
accept rate: 4%

edited 23 Aug '12, 08:56

Thank you, but I think you missed the fact I am asking about both existing paths. J with or without Shift does not work. From what I see, one has to create new node to activate joining mode -- in order to avoid too many nodes, you can delete the last one first, and then re-create it again -- so joining mode will be activated.

(22 Aug '12, 19:52) macias
1

Sorry yes, you will have to click shift to create a node at the junction for joining, before using J

(23 Aug '12, 08:54) andy mackey
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:

×65
×5

question asked: 22 Aug '12, 13:33

question was seen: 5,174 times

last updated: 24 Aug '12, 18:12

powered by OSQA