merkaartor icon indicating copy to clipboard operation
merkaartor copied to clipboard

Move Node along Way

Open joernheissler opened this issue 6 years ago • 1 comments

Hi, is there a way to move a Node along a Way? E.g. I've got two ways that share a node: screenshot from 2018-11-02 17-50-26

I'd like to move the node along the longer Way: screenshot from 2018-11-02 17-51-52

I.e. the three outer nodes are not moved, the long Way stays exactly where it is. It is straigt before and after. Only the intersection node is moved.

What currently happens when I move a node is this (I exaggerated a bit); the way isn't straigt anymore: screenshot from 2018-11-02 17-56-20

Suggested user interaction: Select Move tool, hold down a magic key (e.g. shift) and then drag the node. The node can only be dragged along the ways it is connected to. If the mouse cursor isn't exactly on the way, the nearest position on the way is used.

joernheissler avatar Nov 02 '18 16:11 joernheissler

Giving this a bit more thought. It might be difficult to define the exact behavior. For example, consider two intersecting ways and moving the intersection. How do we fix the moving/fixed way?

But I suppose we can work around that and not define a fixed way at all, but provide snap points (or rather, snap lines) where the original ways are. That way, the user can do the right thing most of the time.

Krakonos avatar Nov 17 '19 20:11 Krakonos