[OSM-talk] Best way to download data of route relations?

Jo winfixit at gmail.com
Thu Mar 27 05:31:51 UTC 2014


Unfortunately this seems to be specific to Overpass Turbo. It would be nice
to see it as part of the Overpass API languages (themselves).

Polyglot


2014-03-27 1:58 GMT+01:00 Pierre Béland <pierzenh at yahoo.fr>:

> I just learned about this interesting paremetrization with  {{key}}
> {{value}}
>
>
> Pierre
>
>   ------------------------------
>  *De :* Brad Neuhauser <brad.neuhauser at gmail.com>
> *À :* Rob Nickerson <rob.j.nickerson at gmail.com>
> *Cc :* OSM <talk at openstreetmap.org>
> *Envoyé le :* Mercredi 26 mars 2014 17h36
> *Objet :* Re: [OSM-talk] Best way to download data of route relations?
>
> Here's a similar but more general query with OverpassTurbo if you want to
> avoid all that punctuation ;)  http://overpass-turbo.eu/s/2S9
>
>
> On Wed, Mar 26, 2014 at 4:26 PM, Rob Nickerson <rob.j.nickerson at gmail.com>wrote:
>
> There was a question about bus routes/route relations just the other day.
> See my reply* at:
> https://lists.openstreetmap.org/pipermail/talk/2014-March/069413.html
>
> Using Overpass API you can extract a "line" for a bus route relation. By
> default you "line" is made up of all the roads that form part of the bus
> route with the roads being in OSM's XML format. You can also extract the
> "line" as GPX or as GeoJSON. Either way you will have to process the result
> to convert the collection or roads into a single "line" (if that's what you
> want).
>
> Regards,
> Rob
>
> * Note: The link at number [7] should be everything starting at "http" and
> ending "body;". It should have a space between "Travel" and "De" (but no
> linebreak character).
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
>
> _______________________________________________
> 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/20140327/307b176e/attachment.html>


More information about the talk mailing list