[OSM-dev] "Deep History" App

Karl Guggisberg karl.guggisberg at guggis.ch
Tue Sep 15 19:54:47 BST 2009


>  Am I the only one that cares about this?

No, I'm interested in this too.

 

If I wanted to know the  primitive which was valid at the certain point in
time, currently I would have to query the whole history with

  /api/0.6/<type>/#id/history

find out the version from the timestamps in the history and then retrieve
the primitive with this version using

  /api/0.6/<type>/#id/#version

 

The API could be extended with 

  /api/0.6/<type>/#id/versions?from=date&until=date

 which would reply all primitive versions in the specified range.

 

Is there any reason why we can query changesets in ceratain timerange, but
not primitive versions?

 

-- Karl 

 

 

Von: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org] Im
Auftrag von Ian Dees
Gesendet: Dienstag, 15. September 2009 20:30
An: Tom Hughes
Cc: dev
Betreff: Re: [OSM-dev] "Deep History" App

 

 

On Tue, Sep 15, 2009 at 1:22 PM, Tom Hughes <tom at compton.nu> wrote:

On 15/09/09 19:05, Ian Dees wrote:

Ok, next question: is there a way to fetch full history for more than
one node at a time? I'd prefer to not have to either (a) download and
parse the full planet or (b) make tons of node/history queries to the
main API server.

 

Planet won't help as it doesn't have history, and if you do try scraping the
history from the api you will find yourself blocked
as soon as I notice...


When someone changes a way by moving/deleting/adding nodes there's no way to
see what it looked like beforehand?

That's disappointing. Am I the only one that cares about this? With
permission I'd be happy to try and write something for the openstreetmap.org
site to make this feasible and not kill the API frontend servers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090915/5220e362/attachment.html>


More information about the dev mailing list