Opened 9 years ago
#11870 new enhancement
Better prevention of overlapping ways when appending a node to a way
Reported by: | mdk | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Load the attached sample and go to “Draw nodes (A)” mode. Select an end node and try to extend the way to the existing inner node. In this case JOSM silently rejects the operation and simply select the middle node. The way still contains only 3 nodes. This is a useful behavior of JOSM!
But if you remove the inner point of the way (way has now 2 nodes), select an end node and add a new node in the way (where the deleted node was), JOSM ads a new node and don't select the new node. Now we have a way with 4 nodes and “Overlapping highway” warning, if you validate.
I would expect a similar behavior independent if the node which should be appended to the way is new or old. Generally appending a node to a way should prevent “mini loops” of only 2 nodes like A-B-C-B or A-B-A.