This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Can I search for a deleted ID in OSM?

3

Is it possible to search an ID in OSM, even if does not exist any more (e.g. because it was deleted or corrected in the meantime?)

asked 15 Feb '11, 08:00

Surv's gravatar image

Surv
59224
accept rate: 0%

edited 15 Feb '11, 09:17

twain's gravatar image

twain
2.4k2538


3 Answers:

8

You can access details about any historic object even if it has been deleted, through an URL of the form

https://www.openstreetmap.org/browse/way/place_your_way_id_here/history

(works for nodes and relations too).

What you cannot do so easily is search for something if you do not know the id ("show me all deleted objects that used to be in this area", "find something that was called Foo Road somewhere in this city"). For such an endeavour, it may be best to download an old planet file from planet.openstreetmap.org and search in there, or if you know that the object vanished on a certain date you could also check that day's diff file.

answered 15 Feb '11, 08:10

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

2

If you know exactly where the missing way is but not what it was called or what ID it was, you might be able to use Potlatch's "undelete" function to get the details. In Potlatch 1 it's "advanced, undelete" - deleted ways will show in red and you can click on them to show the way details. Don't unlock the ways unless you actually want to undelete them of course!

answered 15 Feb '11, 19:46

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

1

There is now a wiki page Find the ID of a deleted node which lists 5 possible approaches.

answered 07 Oct '16, 13:57

hfs's gravatar image

hfs
85151525
accept rate: 17%

Source code available on GitHub .