Hi I'm missing Potlatch 1's 'Undelete' command where a user could zoom to an area, press the 'U' key & it would display all deleted entities in red from which the user could choose which to undelete. To restore objects in JOSM the specific id of each object has to be known & supplied. Is there another utility which has P1's convenience. asked 26 Jun '21, 16:37 DaveF |
Sadly no; there is no API call that returns deleted objects in an area that other editors could use. Potlatch 1 was using a very specific API that, while not yet decommissioned, will probably be retired very soon, and the "modern day" XML/JSON based API does not have a replacement. It is not impossible to build such an API but fraught with problems and difficulties. For example, when undeleting an old way which happened to use a node that was not deleted, and meanwhile moved across town, what do you do - and things like that. answered 26 Jun '21, 16:47 Frederik Ramm ♦ Would the upload problem you highlight be a similar problem in JOSM? Even if the utility was restricted to just being able to see the objects & to retrieve the ids to use in JOSM's undelete, would be of benefit.
(26 Jun '21, 17:42)
DaveF
1
This previous question has an Overpass based solution for retrieval. I don't know if this could be retrieved directly into JOSM?
(27 Jun '21, 01:23)
InsertUser
@InsertUser I don't quite grok this query (https://overpass-turbo.eu/s/18Vf in case anyone wants to play with it) but it appears to highlight the position of deleted and modified ways within the bounding box. I think maybe only those that intersected still extant elements -- so a deleted building, for instance, might not show. Personally I use achavi (https://nrenner.github.io/achavi/) for sleuthing deletions -- just zoom in to the area in question (or draw a bbox), set a date range in the date boxes, and click "load". It will distinguish between moved elements in dark red and deleted ones in bright red. But it doesn't usually work well unless your search area is tiny and and your date range is short, so you need a pretty good idea about what you're looking for and when it was deleted.
(28 Jun '21, 19:07)
jmapb
|