Hello, Several months (maybe an year?) ago I had thoroughly mapped an area. Now as I check it, all the amenities are missing. It was a square with pharmacies, shops, banks, marketplace, parkings - various stuff.
How can I proceed to find out what happened to all the stuff there? asked 04 Apr '16, 17:51 ivanatora |
Overpass API has some features for restricting queries based on date and time: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Attic_data_.28.22date.22.29 Here's an example showing amenities that existed on a given date: http://overpass-turbo.eu/s/fsj And another showing items that were edited during a period of time: http://overpass-turbo.eu/s/fso Edit: The examples queries above only specify the date. As explained further in the comments below, to get correct results it is necessary to specify the date and time, like "2015-01-01T06:55:00Z". answered 04 Apr '16, 19:57 maxerickson wow, that's cool! sadly turbo is not working since some days :( Firefox' console shows a blocked cross-origin request to the interpreter. Not for you? hmm...
(04 Apr '16, 20:39)
aseerel4c26 ♦
1
@aseerel4c26 Sounds like a bug at your end - http://overpass-turbo.eu/s/fsj works for me in Firefox, Chrome and Seamonkey (all Windows 7).
(04 Apr '16, 21:02)
SomeoneElse ♦
1
@SomeoneElse: Ah, thanks! I digged a bit deeper: The request was made to http://overpass-api.de and was rewritten to https://overpass-api.de by a browser plugin. Either some plugin is not working correctly with another one, or... whatever. Opening overpass-turbo via https fixes the issue. :) If you think this is not useful for others, please delete my comments.
(04 Apr '16, 21:22)
aseerel4c26 ♦
Is this really working? Because, I'm trying this http://overpass-turbo.eu/s/ftx with date 2015-01-01 and it returns amenities I've created yesterday.
(05 Apr '16, 14:49)
ivanatora
For me that query returns exactly three things, all created before 2015-01-01. Look at what's highlighted at the right, not at the data on the map tiles...
(05 Apr '16, 14:52)
SomeoneElse ♦
3
Apparently my assumption that the date alone is sufficient is incorrect. Using date:"2015-01-01T06:55:00Z" omits the banks created yesterday, the date alone includes them.
(05 Apr '16, 15:15)
maxerickson
Yeah, adding an hour seems to filter the list a bit. But still, it returns seemingly odd data. For example I get that node 2147630318 that originates from this changeset 14966325 that is closed at 2013-02-09. How exactly does the
(05 Apr '16, 16:32)
ivanatora
@SomeoneElse I've got a lot of highlights from that query, not just 3 things. And I really see those were returned in the Data tab. Adding hour and time to the query seems to filter the query to those 3 items you see. It is curious why did the same query returned different data for you and for me.
(05 Apr '16, 16:35)
ivanatora
1
It's documented at the link above. Beyond that, the source code. Showing something from 2013 matches my expectations, the date query shows the results of querying the OSM database as it existed on the date in question. Use diff/adiff to see the changes that occurred over a chosen period of time.
(05 Apr '16, 16:51)
maxerickson
showing 5 of 9
show 4 more comments
|
If you can find the changeset where you added the data in your edit history you can click on one of the items you added to see the current version, and from there the history for that node, to work out what happened to it when. answered 04 Apr '16, 18:26 EdLoach ♦ That would be hard, due to the large number of my changesets, and me not knowing when exactly did I added those amenities...
(05 Apr '16, 16:26)
ivanatora
|
There are ways to only see local edits, see how-do-i-see-the-history-for-my-area. answered 04 Apr '16, 19:32 aseerel4c26 ♦ |