From OpenStreetMap Wiki
Jump to navigation Jump to search

Undelete a single relation

Is it possible with this tool to undelete single relation and nothing else? --TBKMrt (talk) 17:52, 16 April 2017 (UTC)

Sure, if you provide the changeset which deleted the relation and then upload only the "selection". But it is easier to just use JOSM/Plugins/Undelete. --Aseerel4c26 (talk) 22:36, 16 April 2017 (UTC).
Thanks for your fast answer. I tested this option, but didn't work for me. Today I found out that stupid me just forgot the "r" infront of the relation's number.
REVERTER: I have tried to upload only a selection, but you have to click on eg. a way to select-upload just this way. This did not work with the relation since I can't select it and the option to select upload is greyed out if you have not selected anything (same for select revert). The only way I can think of how to revert the deletion of a single relation with Reverter this is to undo the whole changeset and revert the revert. Since the deletion of objects is not reapplied this could work.
Nonetheless, thanks again for your fast answer! --TBKMrt (talk) 10:28, 17 April 2017 (UTC)
@"This did not work with the relation since I can't select it" – I did not try it now, but I am quite sure that it works if you select (right click) the relation via the relation dialog window or select a way/node which is a member and then right click the relation (memberships) and "select".
By the way: please note that wiki talk pages are meant to discuss the wiki page's content/formatting, .... But not really for discussions on the topic itself. The site would be one of the options where such questions are better suited. --Aseerel4c26 (talk) 12:25, 17 April 2017 (UTC)

Partial revert of a node does nothing

I did

Initially, download the objects to be reverted, select them and use the option Revert selection only in the Reverter dialog.

Then I suppose press "Upload". Well, nothing to be uploaded, it says. Jidanni (talk) 15:25, 24 August 2017 (UTC)

The reverter does not change the "deleted" status (you cannot upload any object which still has an internal "delete" status in the editor, and whose version matches the older one and already synchronized with the database).
For that you need to use the undelete tool to restore it first in its last visible version (this works only if the object was not "redacted" administratively and hidden to all users except logged in admins with specific privileges to query objects that have been masked).
If this is not your problem, what you can do is to mark the object as "modified": you can add a dummy tag on it such as "note=restored from previous version", or change this tag by adding or removing a minor punctuation at end of its value. The reverter itself does not change any tag or other properties of the object, the object is loaded in its last state and selected version number (if it's visible for you and not fully redacted), so you need to modify it (JOSM will not upload any object which is not internarly part of the dirty set to avoid polluting the data server with multiple new versions of objects without any visible change in their tags or in their properties, other than the changeset number in which it was committed).
This minor modification will allow the object to be effectively sent to the server with this new or modified tag and will create a new incremented version of it (visible in the object history along with the former "deleted" version), and it will be part of your new uploaded changeset listed in your own user history.
Note that you should avoid uploading other modifications in your reverting changeset : indicate that you are reverting objects and the reason in your changeset comment, when filling it in the upload dialog. When this is done, make sure the last changeset was closed. And then you can correct all things based on this object and upload these additional modifications in a separate changeset. — Verdy_p (talk) 17:08, 24 August 2017 (UTC)
Using the ID editor I accidentally moved a mountain peak. With no way to put it back to the exact same spot in ID, I eventually crafted a .osm file and successfully fed that to JOSM. (I found that much easier than learning the plugin.) Jidanni (talk) 15:59, 25 August 2017 (UTC)