6. OSRM Open Source Routing & Geometry API
Calculate road network driving distance, duration, and GeoJSON route geometry between two coordinates.
Querying OSRM routing engine...
{{error}}
OSRM Driving Profile | GeoJSON Vertices: {{route.vertexCount}}
Road Distance
{{route.km}} km
Estimated Duration
{{route.mins}} mins
{{route.geoJson}}