Krakonos / merkaartor-oldbugs

0 stars 0 forks source link

Snapping to multiple nodes in existing ways (redmine import 1551, homme, created ) #106

Open Krakonos opened 9 years ago

Krakonos commented 9 years ago

When creating a new way it would be useful to be able to snap to multiple nodes in an existing way without having to click on each existing node. The end result is that your new way shares a row of nodes with the existing way (and so runs adjacent to it). Attached is an image with a mock-up example of what I'm suggesting, but basically the idea is that you:

  1. Begin drawing a way as usual.
  2. Snap to the first node in the existing way that you want to share with your new way.
  3. Move your mouse over the last node that you want to share with the existing way and press a key (e.g. CTRL). All intermediate nodes between the first and last are now highlighted and will be added to the new way when you click on the last node (still pressing the CTRL key).

If the existing way you are snapping to is an area polygon, then it could work that CTRL snaps to all intermediate nodes running in one direction, and e.g. CTRL-SHIFT instead chooses all intermediate nodes running in the reverse direction.

This enhancement would make a lot of editing much easier, especially on-screen digitizing over layers like Yahoo Maps. It would also make it more accurate as users are less likely to snap to the wrong node (i.e. nodes in another way).

[[MapInfo]] has this feature and I find it very useful. Combining this feature with #821 would also be a big help.