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

Rob Nickerson rob.j.nickerson at gmail.com
Wed Mar 26 21:26:07 UTC 2014

There was a question about bus routes/route relations just the other day.
See my reply* at:

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


* 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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20140326/dacd2b8e/attachment.html>

More information about the talk mailing list