-
Notifications
You must be signed in to change notification settings - Fork 5
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
Deleting node of a way with 2 nodes doesn't get visualized #296
Comments
@geohacker can the remaining node be converted to a singular node in the editedGeoJSON layer? If so, we could either save it as a single node point (not sure if there's a valid use case there), or implement a special style that indicates that this node needs another node to be saved. If not, then users should not be able to delete the last two nodes on any lineString. |
@LanesGood thank you. I inspected a bit more and this is a slightly complicated issue we need to address all the way from where the edits are created. So few things to do:
cc @batpad |
The last thing to do in this workflow is to delete polygons with less than 3 nodes. Will close this once @batpad makes a PR for it. |
This is now addressed. To finish the styles we should do #318 |
@LanesGood I noticed that when we delete a node of a way with just 2 nodes, it doesn't show up in modifiedSharedWays layer or editedGeojson layer. Obviously this is because it's no longer a valid LineString. What do you think we should do in these cases?
The text was updated successfully, but these errors were encountered: