[OSM-talk] Downloading Version 3 of all bus stops in a country

Jo winfixit at gmail.com
Tue Sep 26 11:40:26 UTC 2017


It is a bit odd that you are not interested in the latest versions of these
objects, but OK. (As long as you don't plan to use them for an updated
import to OSM, of course)

Overpass API also makes it possible to fetch data for a given point in time.

Jo

2017-09-26 13:31 GMT+02:00 Safwat Halaby <swiftfast at gmx.com>:

> On Tue, 2017-09-26 at 12:15 +0100, Tom Hughes wrote:
> > On 26/09/17 11:41, Safwat Halaby wrote:
> > > On Tue, 2017-09-26 at 11:31 +0200, Michael Reichert wrote:
> > > > Hi,
> > > >
> > > > Am 2017-09-26 um 09:19 schrieb SwiftFast:
> > > > > I need to download all version 3 bus stops in a country which
> > > > > has
> > > > > about
> > > > > 30,000 bus stops. Version 3 exists since a 2012 import. What's
> > > > > the
> > > > > recommended way to accomplish this? I have two ways in mind.
> > > >
> > > > Version 3 of what?
> > > >
> > > > Best regards
> > > >
> > >
> > > Version 3 of all Israeli bus stops that have
> > > "source=israel_gtfs_v1".
> > > See this: https://www.openstreetmap.org/node/1802982884/history and
> > > look at "version #3".
> >
> > But how do you know it's version 3 you want for every one?
> >
> > It sounds like you're making an assumption that all these objects
> > have
> > only been edited in a particular way by some automated process and
> > that
> > nobody has ever touched one by hand and hence added an extra version.
> >
> > Tom
> >
>
> V3 was an automatic import for all nodes. it was made pretty quickly
> after v1 and v2 and it's very unlikely someone edited during that time.
> But I solved my problems simply by fetching the responsible changeset.
> I was overcomplicating this problem. All I needed was:
>
> get https://api.openstreetmap.org/api/0.6/changeset/14265835/download
>
> Thanks for the help!
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20170926/7b50d7b9/attachment.html>


More information about the talk mailing list