Hello all,

I'm working on a time lapse animation that shows when sidewalk tags were added in the Portland, OR, metro area. I can use overpass to get the streets that have sidewalk tags and use their last edit time stamp, but a lot of them have been modified again since the initial addition of the sidewalk=* tag. I'm wondering if it is possible to query the attic data to learn when a particular key was first added to each street in the area, and by whom. I've spent a good amount of time examining the documentation, but have been unable to find any examples like this. Is it possible?

Thank you very much,

Madeline

asked 12 Aug '16, 20:01

mosteele's gravatar image

mosteele
11224
accept rate: 0%

edited 12 Aug '16, 23:03

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548


There's no direct way in Overpass to examine differences between versions of an object. There also is not a way to directly ask for a specific version of an object (I say direct because with enough date queries it should be possible to retrieve all of the versions you are interested in). You would need to fetch the objects you are interested in and then fetch the history for each one from the OSM API or pull them out of a history dump.

There are some existing tools for building history animations:

https://github.com/MaZderMind/osm-history-renderer/blob/master/TUTORIAL.md

Maybe that would be an alternative place to start.

permanent link

answered 12 Aug '16, 21:35

maxerickson's gravatar image

maxerickson
10.7k1073149
accept rate: 31%

edited 12 Aug '16, 21:36

1

There's already an enhancement request to request a specific version of an object, see: https://github.com/drolbr/Overpass-API/issues/282.

Full history processing is not for the faint-hearted, it needs a 51 GB (!) download to start with, unless you find an up to date history extract for your area. MaZderMind used to provide some of these for a few areas, but they don't seem to get updated anymore since at least a year now.

(12 Aug '16, 22:07) mmd
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:

×342
×18
×1

question asked: 12 Aug '16, 20:01

question was seen: 847 times

last updated: 12 Aug '16, 23:03

powered by OSQA