[OSM-talk] Help with reverting a changeset (somebody deleted weeks and weeks of work)

Dave F davefoxfac63 at btinternet.com
Sun Apr 9 16:59:46 UTC 2023


There /may/ be a way using josm's revert changeset.

Load the changeset using the revert changeset tool.
Use filters to select only the required data (start with layer<0).
When you have only the objects you require, select them. Then go to the 
revert changeset dialog again & select the 'revet selection only & 
restore deleted object' option.

Hopefully being underground the objects won't be attached to as many 
other objects & not cause too many conflicts.

As suggested, try one or two objects first.

Genuinely surprised it still loads in OSMcha
https://osmlab.github.io/changeset-map/#54488428

DaveF



On 09/04/2023 16:47, Andy Townsend wrote:
> On 09/04/2023 12:55, Bjoern Hassler wrote:
>> Hello everybody!
>>
>> I hope you're having a good weekend. I'm looking for help with 
>> reverting a changeset 
>> https://www.openstreetmap.org/changeset/54488428?way_page=6#map=14/51.5273/-0.1224. 
>> (Kings Cross, London)
>>
>> The changeset is labeled "Large correction of outdated information", 
>> and while the 'correction' was large, the information wasn't outdated 
>> at all. The editor mistook an extensive set underground paths 
>> (labeled correctly with level, leading to underground railways) for 
>> obsolete footpaths and stripped them all out - removing the entire 
>> underground structure. They hadn't noticed that the same user (me, 
>> bjohas) had put them all in only a year or so earlier (which took me 
>> weeks and weeks to do, sigh).
>>
>> Obviously a few edits have happened since, but the underground 
>> footpaths haven't been restored/re-added. I'd like to 'cautiously' 
>> revert/merge those edits. However, it does involve many many paths, 
>> nodes etc etc. While I'm a fairly experienced mapper / josm user 
>> (https://www.openstreetmap.org/user/bjohas), I feel that I'd best do 
>> this with support from somebody, to make sure that the initial 
>> destruction doesn't lead to more destruction...
>>
>>
> Given that it's 5 years ago that these were deleted, you're not going 
> to be able to do a simple revert.
>
> What you could do is, where particular things are still missing, 
> "undelete" the deleted paths one by one and then join up to any 
> current features (checking for problems with the JOSM validator as you 
> go).
>
> For "undelete" functionality you could use JOSM's "undelete" plugin or 
> the perl revert scripts' "undo.pl".  There may be other options too.
>
> You're going to have to do it one object at a time anyway, so perhaps 
> do a couple first and then ask again to see if anyone can see any 
> problems with what you've done?
>
> Best Regards,
>
> Andy
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk




More information about the talk mailing list