-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Create duplicate line segments by deleting node on line. #9329
Comments
Incidentally, I had been taking advantage of this behavior to map double-sided curbs, but apparently OSM Inspector complained, causing some mappers to turn them into single-sided curbs. I wound up splitting the way so that there are two coincident ways facing in opposite directions. However, now I notice that there’s a |
the question that remains is what iD should do in such a situation with the closed way triangle A-B-C-A when deleting node C:
|
This, but then it has to have a proper geometry validation that won't let you commit the changeset. iD still lets many invalid area geometries to be committed, and they can only be detected post-hoc by QA tools such as OSM Inspectors. I reported similar ones at #9154 and #8167. |
Ya, IF there is the ability to disallow the commit of a malformed feature then I vote for
If, however, it is difficult for the editor to disallow this type of thing the next best is to
If a user deletes a node and sees the entire object get deleted they will either, 1) be fine with that and move on or 2) undo the delete to figure out what went wrong. I guess there is a third option where they don't realize that the object was deleted... hmmm. |
Here's another variation on the theme (your #9328 is yet another): Start with a concave but valid polygon area, such as the one on the left. Now, delete the bottom node. As the result, you get a self-intersecting area like the one on the right. iD will let you commit. |
The URL is not great because I fixed the issue there, but if you follow the steps to reproduce you will see the issue.
URL
https://www.openstreetmap.org/way/545586121
How to reproduce the issue?
At this point you will have a line that references the same node twice.
The change file shows a the two new nodes and one node being referenced twice.
Screenshot(s) or anything else?
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit, RapiD version at mapwith.ai/rapid
What version numbers does this issue effect?
2.22.0
Which browsers are you seeing this problem on?
Chrome
The text was updated successfully, but these errors were encountered: