This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Extracting bus routes as a sequence of street intersections

0

Dear friends, I have a question regarding extracting bus routes as a sequence of street intersections. I used the following query in Overpass turbo area["name"="London"]; ( rel(area)["route"="bus"] )->.routes; ( node(r.routes:"stop"); )->.stations;

.routes out meta; .stations out center qt;

To extract the bus route based on a sequence of ways. It returned each bus route as a sequence of ways. Each way was indicated as the roles "Forward or Backward or without any role". But actually when I plotted the routes in Matlab, the resulted routes is a complete mass. If there is any one who knows how to solve this problem. Thank you Eli

asked 10 Feb '17, 19:02

ElhamAHM's gravatar image

ElhamAHM
11334
accept rate: 0%

Source code available on GitHub .