openstreetmap/iD

Different algorithms for straightening ways and nodes

Offen

#10.202 geöffnet am 14.04.2024

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.449 Forks)github user discovery
help wantedoperation

Repository-Metriken

Stars
 (3.818 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 29T 14h) (82 gemergte PRs in 30 T)

Beschreibung

URL

No response

How to reproduce the issue?

  1. Create 5 nodes which are not in line and apply any preset to them
  2. Copy and paste the nodes
  3. Create a line that follows the first five nodes
  4. Straighten the line (notice that the two end nodes don't move)
  5. Select the five free nodes and straighten then (notice that the end nodes move)

It would be best if the end nodes stay at their location since it's a lot easier to straighten trees/shops/benches/bins that way instead of having to make dummy lines.

Screenshot(s) or anything else?

No response

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

2.28.1

Which browsers are you seeing this problem on?

Firefox

Contributor Guide