We need to get the distance that if provided location. The distance should be related to a bus route & should not be alternative paths. It can be one or more bus route references related to the location. We need to get the distance to the location that provided bus route reference. Can we do this and when if its possible please give guidelines.
Do you have access to GTFS gtfs data in your area of interest? Often, the data includes shape data, i.e. the exact path a bus takes.
1 Like
Thanks ToniE… haven’t access to GTFS. can we used OSRM?
Sure, you can used OSRM or valhalla or graphopper or any other routing engine.
It depends on how often you want to do that and whether you want to do that manually or automated.
I guess all of them allow specifying start, stop and intermediate points in the URL.
But buses aren’t cars with respect to height, weight, length, access restrictions.
Brouter allows creating and modifying a profile, taking those topics into account. I haven’t tried that yet, so i can’t say anything about how complicated this can be.