-
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
Train users how to create multipolygons with holes #3610
Comments
Perhaps we could add a validator warning about self-intersecting areas, by checking whether a node ID is repeated within a way? There are some valid self-intersecting areas, such as the one that @pnorman points out. But I wonder if we can detect this case:
Let’s call the repeated node A. In this example, a node adjacent to A is far from A but near another edge of the area. Sounds like something that could be cobbled together using turf-point-to-line-distance, but I haven’t considered performance. |
After I merge #4602, users won't be able to draw self intersecting polygons anymore. It will still be possible for someone really dedicated to manually construct a multipolygon like this out of ways and relations, but at least casual users will be discouraged from creating them with the area drawing mode. That still doesn't really solve the problem of training users to do the right thing to create a hole. So I'll leave this issue open until we have added some better help text and/or training in the walkthrough. |
Seems as if some users are using the area tool in a slightly unexpected way:
While not strictly illegal in the OSM data model, it is likely something that iD should catch in one way or the other (only the outer node is shared in the example). The question is, naturally, if iD should create the inner ring automatically or not. In any case joining nodes as in this example should not be possible.
The text was updated successfully, but these errors were encountered: