Skip to content

Using OSMnx, OSRM, and Google Maps Directions API with Python to calculate shortest, fastest, and traffic-based most-efficient routes for a set of origin and destination points

License

Notifications You must be signed in to change notification settings

rajesvariparasa/spatial-routing-libraries-and-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open In Colab

Exploring OSRM, OSMnx (and networkx), and Google Maps Directions API using python for finding routes between a set of origin-destination pairs.

In this notebook, I explore three routing libraries for calculating fastest, shortest, and traffic-based 'most efficient' travel routes for a set of origin and destination pairs, along with information such as travel distances and travel times along these routes. And then exporting a shapefile/GeoJSON of these routes along with the route attributes (duration and length/distance). Based on your use case, you can pick which one works best for you. Some other routing services that you can also explore, not discussed in this notebook, are TomTom Routing Engine and Mapbox Directions API.

Releases

No releases published

Packages

No packages published