Modify

Opened 10 years ago

Closed 8 years ago

#9252 closed enhancement (worksforme)

Connecting 2 lines

Reported by: juergen.neumann@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: new idea Cc:

Description

I take care in repairing issues in OSM maps introduced by the mappers.
My profile: http://www.openstreetmap.org/user/nafl ,about 900 sets uploaded, most of them around 100 corrections at a time.

Very often 2 lines almost touch and from the aereal photo it is clear that they should be connected.

Idea: Connect the lines easily, withouth having to:
1) make the 2 lines intersect by shifting the last point of one line
2) set the connection point
3) delete the old point of the line I enlarged
To do these steps you have to switch between "set point" mode and move/select object and it is quite some clicking effort.
Idea: press a key (whatever is free), select the endpoint of one line, move it over the second line, release mouse button and keyboard button, JOSM automatically connects, as it does when you draw lines/points

Here 2 crude drawings of the problem. * means a point, +++++ a line
If spaces are not displayed with the same width the drawing is not readable. Copy to text editor to look at.

Situation 1)
before:
++++*++++++++++++++*+++++


*
+
+
+

after:
++++*+++++++*++++++*+++++ l

+
+
+

Situation 2)
before:

  • (line ends here!) + +

++++*++++++++++++++*+++++

+
+
+
+

after:
++++*+++++++*++++++*+++++

+
+
+
+

Attachments (0)

Change History (5)

comment:1 by Don-vip, 10 years ago

Summary: New idea: connecting 2 linesConnecting 2 lines

comment:2 by mdk, 10 years ago

I think you can easily solve this tasks with existing operations without changing the tool:

Here are two different situations:

1) There is already a node in the horizontal way (as in the examples 1 and 2) and you want to merge this node with the end point of the vertical way: Grab the end note of the vertical way and drag it over the node to merge with. Press CTRL and drop the node. As a result both nodes will be merged. Also the tags of the nodes will be merged.

2) Same situation, but in this case the horizontal way has no existing node to merge with. There are two possibilities:

  • Move the vertical end node near to the horizontal way and press "j" (join). As a result, the node will become also member of the horizontal way.
  • Grab the horizontal way at his "+" (I don't know the name for this point), but this will create a new node in the horizontal way. Now drag this node over the end point of the vertical way and again press CTRL and drop the node.

In both cases you can move the merged point to the correct position. For all of this operations you don't need to change the tool, you just need a hand on the keyboard.

So I think we don't need additional tools for this operations.

Last edited 10 years ago by mdk (previous) (diff)

comment:3 by mdk, 10 years ago

Since #5724 is fixed, there is an other solution for the first case:

  • Select end node of vertical way (the node you want to merge)
  • press "M" for merging
  • node will be merged with the nearest node (if they are close enough)

Since #4550 is fixed, there are two other solutions for the second case:

  • Select end node of vertical way
  • press "J" for join node to way
  • the horizontal way get a new node and this node is joined to the way (if they are close enough). The way becomes "bent".
  • Select end node of vertical way
  • press "N" for move node onto way
  • the horizontal way get a new node at the nearest point to the selected node (if they are close enough). The selected node is merged with the new node. The three nodes of the horizontal way are in a line.

I think there are more than enough operations implemented, so we could close this ticket.

comment:4 by mdk, 8 years ago

I think we can close this issue as fixed.

comment:5 by stoecker, 8 years ago

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.