Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap to intermediate nodes #9368

Open
jidanni opened this issue Nov 11, 2022 · 4 comments
Open

Snap to intermediate nodes #9368

jidanni opened this issue Nov 11, 2022 · 4 comments
Labels
enhancement An enhancement to make an existing feature even better operation An editing operation / edit menu item

Comments

@jidanni
Copy link
Contributor

jidanni commented Nov 11, 2022

Description

Here we are attempting to put a fence around the north half of this playground. As you see we started from a place east of the playground:

Screenshots

20221111T052300
As you see, we have already connected a few existing nodes.
But it is getting rather boring... we wish SHIFT+CLICK or CTRL+CLICK there at the red dot position on the west side of the playground would snap all the intermediate nodes for us!

Final result:

20221111T053223

@1ec5
Copy link
Collaborator

1ec5 commented Nov 11, 2022

#8671 implemented a “follow” operation for this situation. Instead of jumping all the way to the last node, just connect the first couple nodes, then press F repeatedly to follow the other way until you’ve reached the last node.

@jidanni
Copy link
Contributor Author

jidanni commented Nov 11, 2022

Ah... but my™® solution just needs one click®™, instead of 1327 etc. repeated pounds of the F key, especially e.g., along long twisty international borders!

But I'm sure both solutions have their place.

Interesting points:

  • Should the route around the circle pick
    • the shortest way (yes!)
    • the way following the direction (counter/clockwise) of the nodes
  • What if we are following two ways in fact? They both go from A to D, but one goes ABD and the other ACD. Which one to follow. Hmmm... OK, the editor could show both and ask the user to pick one... Same with three ways...

@tyrasd tyrasd added operation An editing operation / edit menu item enhancement An enhancement to make an existing feature even better labels Nov 11, 2022
@Woazboat
Copy link

Woazboat commented Jan 5, 2023

For reference, the JOSM ContourMerge plugin does exactly this.

josm_contourmerge

@Woazboat
Copy link

Woazboat commented Jan 5, 2023

related #9223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to make an existing feature even better operation An editing operation / edit menu item
Projects
None yet
Development

No branches or pull requests

4 participants