Opened 16 years ago
Closed 16 years ago
#3695 closed enhancement (invalid)
New tool to remove a node from a way without deleteing the node or removing the node from other ways
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | tool remove node | Cc: |
Description
Such a tool is missing and would make some tasks much easier. It would also reduce unnecceassary changes of nodes or ways the database.
Possible usage: Analog to the tool 'split way' you mark one way and one or more nodes on the way. You use the new tool an the marked nodes are removes from the marked way. No other node will be deleted an no other way will be changed. When all nodes of a way are marked a error message should be shown.
One example: {Node id=503283934,version=1,lat=50.8480534,lon=7.0936292}
This node is part of a cycleway, a serviceway and a power line. The tree ways only have one common node. I want to remove the node from the power line because the node gets part of the power line by accident.
Now i mark the node, press <g> und press <u> to unmark the three nodes.
I mark the node and move it. If the power line is moved the search is finieshed. If an other way is moved i press <cltl-z>. I mark the node, press the middle mouse key some times to mark an other node. I move the node. If the power line is moved the search is finished. If an other way is moved i press <cltl-z>. I mark the node, press the middle mouse key some times to mark the third node. I move the node. If the power line is moved the search is finished. If an other way is moved i made a mistake and i must start again.
If the search is finished i press <del> and the node is removed from the way. Now i must not forget to mark the remaining two nodes and to merge them by pressing <m>.
I do not know a better way to do this task.
In the end there are two cases regarding the changes in the database:
In the worst case i deleted the original node. Now i have five changes in the database:
- the node was removed from the power line (this change is intended)
- the node was deleted
- a new node with the same position was created
- in the cycleway the old node is replaced by the new node
- in the serviceway the old node is replaced by the new node
In the other case i deleted a new node with id 0: Now i have two changes to the database:
- the node was removed from the power line (this change is intended)
- the serviceway or the cycleway is is marked as modified but the is no real change
The second way is marked modified, because first (after pressing <g>) the node is replaced by a new node with id 0 and second (after pressing <m>) the new node with id 0 is merged with and replaced by the original node.
JOSM is not able the recognize such sequences of changes, which have no effect to the database. JOSM does also not compare a modified element to the original element before upload.
In JOSM you dont have any control, which element after 'split way' or 'unglue ways' gets the id 0 or gets the original id. So there is no way to avoid the worst case.
Select the way and the node, press g, press d.
That unglues only the selected way on that node, thus creating a new node to the desired way which can then be deleted without affecting the original node or the other ways.