Closed fititnt closed 2 months ago
If there have been no recent changes to the code, it should work. I do this from time to time and it works for me. Write what steps you took to undelete the node and what message you saw.
Yes, I noticed it had no recent code changes.
Not today, but seems reasonable I provide step by step, so I will do it with dummy data later
I will use node/9560774926 (created as test node by someone else as example. Will add screenshots on the relevant steps.
Following the current version of documentation on https://wiki.openstreetmap.org/wiki/Level0
Undelete a node
- Open the node's page on osm.org: e.g. https://www.openstreetmap.org/node/345345
Ok, would be this https://www.openstreetmap.org/node/9560774926
- Check that it is deleted and find its version.
by https://www.openstreetmap.org/node/9560774926, this case, would be n9560774926 version 1. The version 2 was the deleted one.
- Enter n345345.W into Level0 editor's URL field, where 345345 is the node's identifier, and W is its version minus one (e.g. 2 if the version was 3).
Ok, on this case would be n9560774926.1
Ok, with coordinates, the browser shows this
node 9560774926: -30.0318242, -51.2221417
- Upload changes (see steps 6-7 of editing a POI). (from https://wiki.openstreetmap.org/wiki/Level0#Edit_a_POI_tags)
- Press Log in button and the press Accept (or whatever osm.org site asks).
- Type a changeset comment (e.g. updated opening hours) and press Upload to OSM.
Used the upload comment "undelete test. See https://github.com/Zverik/Level0/issues/80"
One error message "Nothing to upload." appears
(Note: one difference betwen the documentation and my test is at step 6, the account already is logged in. Unsure if this is the problem, because it would works for other edits)
You didn't complete step four:
4. then add the deletion version to the node's identifier after a dot, like that: "node 345345.3:
It this case it would be node 9560774926.2: -30.0318242, -51.2221417
Oh, that explains. Thank you. I will post the screenshots here (in case anyone needs to know in the future), and then will close this issue.
For the object https://www.openstreetmap.org/node/9560774926/history
version 2, the code used would need to be
node 9560774926.2: -30.0318242, -51.2221417
Then this time instead of "Nothing to upload" will appear the link for the changeset (this one) https://www.openstreetmap.org/changeset/154124990
Thank you @maro-21 !
Related question/issue: https://help.openstreetmap.org/questions/81087/how-to-undelete-a-node-using-level0-editor
Is the functionality of https://wiki.openstreetmap.org/wiki/Level0#Undelete_a_node (undeleting a node) still working?
I attempted undelete a node like the documentation and do other edit, however it does not undeleted the deleted node. Yes, I do know exist other tools, however was a simple change.
More context: