-
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
Catch more invalid polygon situations #4745
Comments
It's difficult to see what they did exactly, but there are still plenty of ways to create invalid polygons. Here's a situation where I dragged a midpoint from one line on an outer way over to a different line on the same multipolygon. It probably shouldn't be allowed. Also, iD only checks geometry in drag node and drawing modes. You can still select multiple things and just move them or rotate them to cause a self intersection. |
Thanks for considering this issue. |
Looks like it was fixed in OSM already, but this is ok since I put some screen captures in the ticket. |
Thanks for the new test to avoid creating a self-crossing invalid polygon.
but I see that a user is still able to make a invalid polygon that make a "forward/backward" with a duplicate node
https://www.openstreetmap.org/way/90262899
duplicate node https://www.openstreetmap.org/node/5356991998
node "external" to the polygon https://www.openstreetmap.org/node/5356991994
it would be great if iD could prevent the user from creating invalid polygons
The text was updated successfully, but these errors were encountered: