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

[closed] How can I get the directly connected bus stops to a certain bus stop using openstreetmap?

-1

urrently I am working on a project and I want to create a graph for certain city where the nodes are the bus stops and the edges are the routes between the bus stops. I am able to get the whole city bus stops using openstreetmap but I don't know How to get the set of bus stops which directly connected to a certain bus stops. Any Ideas or suggestions?

asked 27 Nov '15, 09:06

aearm's gravatar image

aearm
10112
accept rate: 0%

closed 27 Nov '15, 20:46

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Which city? Bus routes are mapped in different ways in different places. As well as the two wiki public transport schemas I've seen bus routes as a relation of just nodes and also as a relation of just ways, in addition to a mixture.

(27 Nov '15, 10:02) SomeoneElse ♦

Uppsala city sweden

(27 Nov '15, 10:46) aearm

Source code available on GitHub .