Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Delete nodes from a way #270

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Delete nodes from a way #270

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: dean[at]earlsoft.co.uk
[Submitted to the original trac issue database at 3.45pm, Wednesday, 16th August 2006]

It would be useful when adjusting/simplifying ways to be able to delet a node from a way.
This should be exactly the same as deleting a node with two segments normally but with the added code to remove the deleted segment from any ways it is in.

@openstreetmap-trac
Copy link
Author

Author: dean[at]earlsoft.co.uk
[Added to the original trac issue at 6.04pm, Sunday, 3rd September 2006]

This patch adds support for deleting nodes when the associated segments are part of a way.
If the way contains BOTH segments, then the deleted segment will be removed. If it contains only 1, it will warn the user and exit.

Currently, the way editing and the node removal appears as two separate entries in the history, and as such, it may change one way and then exit if it later finds one that conflicts.

Enjoy.

@openstreetmap-trac
Copy link
Author

Author: dean[at]earlsoft.co.uk
[Added to the original trac issue at 10.01pm, Monday, 4th September 2006]

Ok, this version of the patch fixes all the previous issues.
Way checking is done in two passes. All are checked before anything is changed, THEN the ways are updated. All the undo actions are now grouped into a dingle action.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant