5
1

If someone deletes an item, I realise I don't know how I can find the original data (or who changed it, or why, or the history) unless I know the id. (Obviously, if I have an old copy of the data, then I have the id, but in the case I just hit, I didn't). Is there some magic way I don't know about, despite my many years with OSM? Is there some way to ask for deleted items in a bounding box?

asked 07 Jul '16, 15:25

davidearl's gravatar image

davidearl
121236
accept rate: 0%

edited 07 Jul '16, 15:26

2

A little outdated mentioning tools which don't exist anymore and not mentioning all existing working ones.

(09 Jul '16, 01:29) malenki

@malenki: then update it! ;-) People will still find the old question.

(09 Jul '16, 14:20) aseerel4c26 ♦

When you know where data is amiss you can use use Overpass Turbo to display the data of that region at a certain date or between two dates.

To do so you go to the place where you miss the data (zoom in as far as possible to minimize the server load), paste the query of your desire at the left side and click "Run".

To restore data you can either click on the data you look for and use the changeset or way/node ID for an undeletion in JOSM with reverter or undelete plugin. Or you try some of the possibilities "export" offers (although only "raw data" worked for me while testing it now.

(I tried to paste the queries here but they aren't shown, thus just the link.)

screenshot of Overpass Turbo showing deleted objects

permanent link

answered 08 Jul '16, 21:09

malenki's gravatar image

malenki
4.7k24683
accept rate: 6%

edited 09 Jul '16, 10:03

Your query give me an error

An error occured during the execution of the overpass query! This is what overpass API returned:

Error: line 5: parse error: ';' expected - 'osm' found.

Error: line 12: parse error: Unexpected end of input.

(01 Dec '16, 15:06) ff5722

You can use Potlatch 1 to look for deleted ways in an area. There isn't an easy way of looking for deleted nodes.

If someone's deleted something and replaced it with something else then you can of course look for nodes that were deleted in the changeset that added the new thing, but with large changesets that'll be a challenge.

permanent link

answered 07 Jul '16, 15:38

SomeoneElse's gravatar image

SomeoneElse ♦
32.3k63336756
accept rate: 15%

Yes, it was nodes I was after this time. Useful to know about ways in old Potlatch though. How does it do it, if there isn't an API call for it? Perhaps we need such an API operation?

(07 Jul '16, 15:43) davidearl
3

Potlatch 1 uses its own API. The call has never been recreated in the mainstream XML API.

(07 Jul '16, 21:49) Richard ♦

If you forget both the location and id, there's still a tedious way. Download the full-history file and search for the item with your item's name (or any tags). If the item has the condition of "visible=false", then it's deleted.

But remember, this is the last resort.

permanent link

answered 08 Dec '16, 08:44

Wetitpig0's gravatar image

Wetitpig0
292151827
accept rate: 10%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×240
×71
×28

question asked: 07 Jul '16, 15:25

question was seen: 3,393 times

last updated: 08 Dec '16, 08:44

powered by OSQA