OSRM

App · 5 actions

Road routing on OpenStreetMap data: directions with distance and travel time, travel-time tables between many places, the quickest order to visit a list of stops, the nearest road to a point, and GPS tracks snapped to roads. By car, bicycle or on foot, with no account needed, or on your own OSRM server.

Actions

ActionWhat it does
Find the nearest roadFind the roads closest to a point, with each road's name, how far away it is and the nearest spot on it.
Get directionsFind the road route from a start to a finish, through any stops in between, in the order given.
Get travel times between placesMeasure the travel time and road distance from each place in From to each place in To, and name the quickest pair.
Plan the quickest order of stopsWork out the quickest order to visit a set of stops, starting at the first one, for a delivery run or a day of site visits.
Snap a GPS track to roadsTake GPS points recorded along a journey, such as a delivery van's or a phone's, and work out the roads actually travelled.

Find the nearest road

Find the roads closest to a point, with each road's name, how far away it is and the nearest spot on it. Handy for moving a pin dropped in a car park or a field onto the road a driver can reach.

Inputs

LatitudelatitudenumberRequired
Decimal degrees, -90 to 90 (north is positive).From -90 to 90.
LongitudelongitudenumberRequired
Decimal degrees, -180 to 180 (east is positive).From -180 to 180.
Number of roadsnumber_of_resultsnumber
How many of the nearest roads to return.From 1 to 10. Default: 1.
Travel bytravel_modetext
How the trip is made. On your own OSRM server, the modes it offers depend on how it was set up.One of: car, bike (Bicycle), foot (On foot). Default: car.

Outputs

latitudenumber
The latitude you gave.
longitudenumber
The longitude you gave.
nearestobject
The nearest road.
roadslist
The nearest roads, closest first.
summarytext
One line naming the nearest road.
travel_modetext
How the trip was made: 'car', 'bike' or 'foot'.
Example output
{
  "latitude": 52.5163,
  "longitude": 13.3777,
  "nearest": {
    "distance_meters": 36.7,
    "distance_text": "37 m (120 ft)",
    "latitude": 52.51634,
    "longitude": 13.378236,
    "road": "Pariser Platz"
  },
  "roads": [
    {
      "distance_meters": 36.7,
      "distance_text": "37 m (120 ft)",
      "latitude": 52.51634,
      "longitude": 13.378236,
      "road": "Pariser Platz"
    },
    {
      "distance_meters": 36.8,
      "distance_text": "37 m (121 ft)",
      "latitude": 52.516317,
      "longitude": 13.378241,
      "road": "Pariser Platz"
    }
  ],
  "summary": "Nearest road: Pariser Platz, 37 m (120 ft) away",
  "travel_mode": "car"
}

Get directions

Find the road route from a start to a finish, through any stops in between, in the order given. Returns the distance (km and miles) and travel time, each leg between stops, and, if you want them, turn-by-turn directions and the route line for a map. Have an address instead? Look it up first with OpenStreetMap Nominatim's 'Search for places' step and use its latitude and longitude.

Inputs

StopsstopslistRequired
The start, any stops on the way, and the finish, in order. Add a row for each, with its latitude and longitude. Up to 50.
Travel bytravel_modetext
How the trip is made. On your own OSRM server, the modes it offers depend on how it was set up.One of: car, bike (Bicycle), foot (On foot). Default: car.
Turn-by-turn directionsinclude_stepstrue/false
Include each turn as a sentence, such as 'Turn left onto Main Street', with its distance.Default: false.
Route lineroute_linetext
Include the line of the route, for drawing it on a map. Simplified is plenty for a small map.One of: none (Don't include), simplified, full (Full detail). Default: none.
Line formatline_formattext
How the line is written. An encoded polyline is short text that Google Maps and Mapbox can draw; GeoJSON lists every coordinate.Only when Route line is Simplified or Full detail. One of: polyline (Encoded polyline (Google Maps, Mapbox)), polyline6 (Encoded polyline, 6-digit precision), geojson (GeoJSON coordinates). Default: polyline.

Outputs

directionstext
The turn-by-turn directions as a numbered list, one step per line. Empty unless they were asked for.
distance_kmnumber
The distance in kilometres, to 2 decimals.
distance_metersnumber
The distance in metres.
distance_milesnumber
The distance in miles, to 2 decimals.
distance_texttext
The distance to read, in both units, e.g. '4.7 km (2.9 mi)'.
duration_minutesnumber
The travel time in minutes, to 1 decimal.
duration_secondsnumber
The travel time in seconds.
duration_texttext
The travel time to read, e.g. '12 min' or '1 h 5 min'.
legslist
One leg per pair of consecutive stops.
route_linetext
The route's line as an encoded polyline, when a route line in that format was asked for. Google Maps and Mapbox can draw it.
route_line_geojsonobject
The route's line as a GeoJSON LineString ({type, coordinates}, each coordinate longitude first), when GeoJSON was asked for.
stopslist
The stops, in the order you gave them.
summarytext
One line about the route, e.g. '5.8 km (3.6 mi), about 12 min by car from Brandenburg Gate to Alexanderplatz'.
travel_modetext
How the trip was made: 'car', 'bike' or 'foot'.
Example output
{
  "directions": "1. Head south on Pariser Platz (18 m)\n2. Keep left onto Pariser Platz (86 m)\n3. Continue onto Unter den Linden (1.3 km)\n4. Continue onto Schlo\u00dfplatz (B 2; B 5) (295 m)\n5. Continue onto Karl-Liebknecht-Stra\u00dfe (B 2; B 5) (852 m)\n6. Turn right onto Alexanderstra\u00dfe (B 2; B 5) (152 m)\n7. Turn right (25 m)\n8. Arrive at Alexanderplatz",
  "distance_km": 2.75,
  "distance_meters": 2754.3,
  "distance_miles": 1.71,
  "distance_text": "2.8 km (1.7 mi)",
  "duration_minutes": 5.1,
  "duration_seconds": 308.3,
  "duration_text": "5 min",
  "legs": [
    {
      "distance_km": 2.75,
      "distance_meters": 2754.3,
      "distance_miles": 1.71,
      "distance_text": "2.8 km (1.7 mi)",
      "duration_minutes": 5.1,
      "duration_seconds": 308.3,
      "duration_text": "5 min",
      "from": "Brandenburg Gate",
      "leg_number": 1,
      "steps": [
        {
          "direction": "right",
          "distance_km": 0.02,
          "distance_meters": 17.8,
          "distance_miles": 0.01,
          "distance_text": "18 m (58 ft)",
          "duration_minutes": 0.2,
          "duration_seconds": 9.2,
          "duration_text": "9 s",
          "instruction": "Head south on Pariser Platz",
          "latitude": 52.51634,
          "longitude": 13.378236,
          "maneuver": "depart",
          "road": "Pariser Platz"
        },
        {
          "direction": "left",
          "distance_km": 0.09,
          "distance_meters": 86.2,
          "distance_miles": 0.05,
          "distance_text": "86 m (283 ft)",
          "duration_minutes": 0.3,
          "duration_seconds": 19.4,
          "duration_text": "19 s",
          "instruction": "Keep left onto Pariser Platz",
          "latitude": 52.516181,
          "longitude": 13.378265,
          "maneuver": "continue",
          "road": "Pariser Platz"
        },
        {
          "direction": "straight",
          "distance_km": 1.33,
          "distance_meters": 1326.1,
          "distance_miles": 0.82,
          "distance_text": "1.3 km (0.8 mi)",
          "duration_minutes": 2.4,
          "duration_seconds": 141.5,
          "duration_text": "2 min",
          "instruction": "Continue onto Unter den Linden",
          "latitude": 52.516266,
          "longitude": 13.379528,
          "maneuver": "new name",
          "road": "Unter den Linden"
        },
        {
          "direction": "straight",
          "distance_km": 0.3,
          "distance_meters": 295.4,
          "distance_miles": 0.18,
          "distance_text": "295 m (0.2 mi)",
          "duration_minutes": 0.5,
          "duration_seconds": 28.5,
          "duration_text": "28 s",
          "instruction": "Continue onto Schlo\u00dfplatz (B 2; B 5)",
          "latitude": 52.517587,
          "longitude": 13.39893,
          "maneuver": "new name",
          "road": "Schlo\u00dfplatz (B 2; B 5)"
        },
        {
          "direction": "straight",
          "distance_km": 0.85,
          "distance_meters": 852.1,
          "distance_miles": 0.53,
          "distance_text": "852 m (0.5 mi)",
          "duration_minutes": 1.5,
          "duration_seconds": 88.1,
          "duration_text": "1 min",
          "instruction": "Continue onto Karl-Liebknecht-Stra\u00dfe (B 2; B 5)",
          "latitude": 52.518873,
          "longitude": 13.402702,
          "maneuver": "new name",
          "road": "Karl-Liebknecht-Stra\u00dfe (B 2; B 5)"
        },
        {
          "direction": "right",
          "distance_km": 0.15,
          "distance_meters": 152.0,
          "distance_miles": 0.09,
          "distance_text": "152 m (499 ft)",
          "duration_minutes": 0.3,
          "duration_seconds": 17.9,
          "duration_text": "18 s",
          "instruction": "Turn right onto Alexanderstra\u00dfe (B 2; B 5)",
          "latitude": 52.523893,
          "longitude": 13.412151,
          "maneuver": "turn",
          "road": "Alexanderstra\u00dfe (B 2; B 5)"
        },
        {
          "direction": "right",
          "distance_km": 0.02,
          "distance_meters": 24.7,
          "distance_miles": 0.02,
          "distance_text": "25 m (81 ft)",
          "duration_minutes": 0.1,
          "duration_seconds": 3.7,
          "duration_text": "4 s",
          "instruction": "Turn right",
          "latitude": 52.523106,
          "longitude": 13.413966,
          "maneuver": "turn",
          "road": null
        },
        {
          "direction": "straight",
          "distance_km": 0.0,
          "distance_meters": 0.0,
          "distance_miles": 0.0,
          "distance_text": "0 m (0 ft)",
          "duration_minutes": 0.0,
          "duration_seconds": 0.0,
          "duration_text": "0 s",
          "instruction": "Arrive at Alexanderplatz",
          "latitude": 52.522937,
          "longitude": 13.41373,
          "maneuver": "arrive",
          "road": null
        }
      ],
      "to": "Alexanderplatz",
      "via": "Unter den Linden, Karl-Liebknecht-Stra\u00dfe"
    }
  ],
  "route_line": "cbp_I_}spA^EaHsbC}GuViUak@{FkKzCkJ`@n@",
  "route_line_geojson": null,
  "stops": [
    {
      "input_latitude": 52.5163,
      "input_longitude": 13.3777,
      "label": "Brandenburg Gate",
      "latitude": 52.51634,
      "longitude": 13.378236,
      "name": "Brandenburg Gate",
      "position": 1,
      "road": "Pariser Platz",
      "snapped_distance_meters": 36.7
    },
    {
      "input_latitude": 52.5219,
      "input_longitude": 13.4132,
      "label": "Alexanderplatz",
      "latitude": 52.522937,
      "longitude": 13.41373,
      "name": "Alexanderplatz",
      "position": 2,
      "road": null,
      "snapped_distance_meters": 120.9
    }
  ],
  "summary": "2.8 km (1.7 mi), about 5 min by car from Brandenburg Gate to Alexanderplatz",
  "travel_mode": "car"
}

Get travel times between places

Measure the travel time and road distance from each place in From to each place in To, and name the quickest pair. Use it to find which store, depot or technician is closest to a customer. Leave To empty to compare the From places with each other. Have an address instead? Look it up first with OpenStreetMap Nominatim's 'Search for places' step and use its latitude and longitude.

Inputs

FromoriginslistRequired
The places the trips start at. Add a row for each, with its latitude and longitude.
Todestinationslist
The places the trips end at. Leave empty to measure between the From places. Up to 100 places in From and To together.
Travel bytravel_modetext
How the trip is made. On your own OSRM server, the modes it offers depend on how it was set up.One of: car, bike (Bicycle), foot (On foot). Default: car.

Outputs

destinationslist
The To places (the From places again when To was left empty).
fastestobject
The pair with the shortest travel time.
originslist
The From places, where OSRM placed them on the road.
pair_countnumber
How many pairs were measured.
pairslist
One row per trip from a From place to a To place, grouped by the From place.
summarytext
One line naming the quickest pair.
travel_modetext
How the trip was made: 'car', 'bike' or 'foot'.
unreachable_countnumber
How many pairs have no road route between them.
Example output
{
  "destinations": [
    {
      "input_latitude": 52.5219,
      "input_longitude": 13.4132,
      "label": "Alexanderplatz",
      "latitude": 52.522937,
      "longitude": 13.41373,
      "name": "Alexanderplatz",
      "position": 1,
      "road": null,
      "snapped_distance_meters": 120.9
    },
    {
      "input_latitude": 52.5096,
      "input_longitude": 13.3759,
      "label": "Potsdamer Platz",
      "latitude": 52.509551,
      "longitude": 13.37591,
      "name": "Potsdamer Platz",
      "position": 2,
      "road": "Potsdamer Platz",
      "snapped_distance_meters": 5.5
    }
  ],
  "fastest": {
    "distance_km": 1.27,
    "distance_meters": 1265.3,
    "distance_miles": 0.79,
    "distance_text": "1.3 km (0.8 mi)",
    "duration_minutes": 3.5,
    "duration_seconds": 208.0,
    "duration_text": "3 min",
    "from": "Brandenburg Gate",
    "from_position": 1,
    "reachable": true,
    "to": "Potsdamer Platz",
    "to_position": 2
  },
  "origins": [
    {
      "input_latitude": 52.5163,
      "input_longitude": 13.3777,
      "label": "Brandenburg Gate",
      "latitude": 52.51634,
      "longitude": 13.378236,
      "name": "Brandenburg Gate",
      "position": 1,
      "road": "Pariser Platz",
      "snapped_distance_meters": 36.7
    }
  ],
  "pair_count": 2,
  "pairs": [
    {
      "distance_km": 2.75,
      "distance_meters": 2754.3,
      "distance_miles": 1.71,
      "distance_text": "2.8 km (1.7 mi)",
      "duration_minutes": 5.1,
      "duration_seconds": 308.3,
      "duration_text": "5 min",
      "from": "Brandenburg Gate",
      "from_position": 1,
      "reachable": true,
      "to": "Alexanderplatz",
      "to_position": 1
    },
    {
      "distance_km": 1.27,
      "distance_meters": 1265.3,
      "distance_miles": 0.79,
      "distance_text": "1.3 km (0.8 mi)",
      "duration_minutes": 3.5,
      "duration_seconds": 208.0,
      "duration_text": "3 min",
      "from": "Brandenburg Gate",
      "from_position": 1,
      "reachable": true,
      "to": "Potsdamer Platz",
      "to_position": 2
    }
  ],
  "summary": "2 pairs by car; quickest: Brandenburg Gate to Potsdamer Platz, 3 min, 1.3 km (0.8 mi)",
  "travel_mode": "car",
  "unreachable_count": 0
}

Plan the quickest order of stops

Work out the quickest order to visit a set of stops, starting at the first one, for a delivery run or a day of site visits. Returns the stops in visiting order, each leg, and the total distance and time. Have an address instead? Look it up first with OpenStreetMap Nominatim's 'Search for places' step and use its latitude and longitude.

Inputs

StopsstopslistRequired
The places to visit. The first is where the trip starts. Add a row for each, with its latitude and longitude. Up to 50.
Triptrip_shapetext
Come back to the first stop at the end, or finish at the last stop in your list.One of: round_trip (Round trip, back to the first stop), one_way (One way, from the first stop to the last). Default: round_trip.
Travel bytravel_modetext
How the trip is made. On your own OSRM server, the modes it offers depend on how it was set up.One of: car, bike (Bicycle), foot (On foot). Default: car.
Route lineroute_linetext
Include the line of the route, for drawing it on a map. Simplified is plenty for a small map.One of: none (Don't include), simplified, full (Full detail). Default: none.
Line formatline_formattext
How the line is written. An encoded polyline is short text that Google Maps and Mapbox can draw; GeoJSON lists every coordinate.Only when Route line is Simplified or Full detail. One of: polyline (Encoded polyline (Google Maps, Mapbox)), polyline6 (Encoded polyline, 6-digit precision), geojson (GeoJSON coordinates). Default: polyline.

Outputs

distance_kmnumber
The distance in kilometres, to 2 decimals.
distance_metersnumber
The distance in metres.
distance_milesnumber
The distance in miles, to 2 decimals.
distance_texttext
The distance to read, in both units, e.g. '4.7 km (2.9 mi)'.
duration_minutesnumber
The travel time in minutes, to 1 decimal.
duration_secondsnumber
The travel time in seconds.
duration_texttext
The travel time to read, e.g. '12 min' or '1 h 5 min'.
legslist
One leg per drive between consecutive stops in that order.
orderlist
The stops in the order to visit them.
round_triptrue/false
True when the trip ends back at the first stop.
route_linetext
The route's line as an encoded polyline, when a route line in that format was asked for. Google Maps and Mapbox can draw it.
route_line_geojsonobject
The route's line as a GeoJSON LineString ({type, coordinates}, each coordinate longitude first), when GeoJSON was asked for.
summarytext
One line with the total and the stops in visiting order.
travel_modetext
How the trip was made: 'car', 'bike' or 'foot'.
Example output
{
  "distance_km": 9.09,
  "distance_meters": 9089.0,
  "distance_miles": 5.65,
  "distance_text": "9.1 km (5.6 mi)",
  "duration_minutes": 18.9,
  "duration_seconds": 1133.0,
  "duration_text": "19 min",
  "legs": [
    {
      "distance_km": 2.75,
      "distance_meters": 2754.3,
      "distance_miles": 1.71,
      "distance_text": "2.8 km (1.7 mi)",
      "duration_minutes": 5.1,
      "duration_seconds": 308.3,
      "duration_text": "5 min",
      "from": "Brandenburg Gate",
      "leg_number": 1,
      "to": "Alexanderplatz",
      "via": null
    },
    {
      "distance_km": 3.01,
      "distance_meters": 3006.0,
      "distance_miles": 1.87,
      "distance_text": "3.0 km (1.9 mi)",
      "duration_minutes": 5.8,
      "duration_seconds": 346.4,
      "duration_text": "6 min",
      "from": "Alexanderplatz",
      "leg_number": 2,
      "to": "Checkpoint Charlie",
      "via": null
    },
    {
      "distance_km": 1.18,
      "distance_meters": 1180.0,
      "distance_miles": 0.73,
      "distance_text": "1.2 km (0.7 mi)",
      "duration_minutes": 2.9,
      "duration_seconds": 172.8,
      "duration_text": "3 min",
      "from": "Checkpoint Charlie",
      "leg_number": 3,
      "to": "Potsdamer Platz",
      "via": null
    },
    {
      "distance_km": 2.15,
      "distance_meters": 2148.7,
      "distance_miles": 1.34,
      "distance_text": "2.1 km (1.3 mi)",
      "duration_minutes": 5.1,
      "duration_seconds": 305.5,
      "duration_text": "5 min",
      "from": "Potsdamer Platz",
      "leg_number": 4,
      "to": "Brandenburg Gate",
      "via": null
    }
  ],
  "order": [
    {
      "input_latitude": 52.5163,
      "input_longitude": 13.3777,
      "label": "Brandenburg Gate",
      "latitude": 52.51634,
      "longitude": 13.378236,
      "name": "Brandenburg Gate",
      "position": 1,
      "road": "Pariser Platz",
      "snapped_distance_meters": 36.7,
      "visit_number": 1
    },
    {
      "input_latitude": 52.5219,
      "input_longitude": 13.4132,
      "label": "Alexanderplatz",
      "latitude": 52.522937,
      "longitude": 13.41373,
      "name": "Alexanderplatz",
      "position": 2,
      "road": null,
      "snapped_distance_meters": 120.9,
      "visit_number": 2
    },
    {
      "input_latitude": 52.5075,
      "input_longitude": 13.3904,
      "label": "Checkpoint Charlie",
      "latitude": 52.507502,
      "longitude": 13.390429,
      "name": "Checkpoint Charlie",
      "position": 4,
      "road": "Friedrichstra\u00dfe",
      "snapped_distance_meters": 2.0,
      "visit_number": 3
    },
    {
      "input_latitude": 52.5096,
      "input_longitude": 13.3759,
      "label": "Potsdamer Platz",
      "latitude": 52.509551,
      "longitude": 13.37591,
      "name": "Potsdamer Platz",
      "position": 3,
      "road": "Potsdamer Platz",
      "snapped_distance_meters": 5.5,
      "visit_number": 4
    }
  ],
  "round_trip": true,
  "route_line": null,
  "route_line_geojson": null,
  "summary": "9.1 km (5.6 mi), about 19 min by car: Brandenburg Gate \u2192 Alexanderplatz \u2192 Checkpoint Charlie \u2192 Potsdamer Platz \u2192 Brandenburg Gate",
  "travel_mode": "car"
}

Snap a GPS track to roads

Take GPS points recorded along a journey, such as a delivery van's or a phone's, and work out the roads actually travelled. Returns the distance and time driven, how confident the match is, and where each point sits on the road.

Inputs

GPS pointspointslistRequired
The recorded points, in the order they were recorded. At least 2 and up to 100. Give each a time if you have it, or leave every time empty.
Travel bytravel_modetext
How the trip is made. On your own OSRM server, the modes it offers depend on how it was set up.One of: car, bike (Bicycle), foot (On foot). Default: car.
GPS accuracy (metres)gps_accuracy_metersnumber
How far a point may be from the road it was really on. Raise it for a noisy phone track; lower it in dense streets.From 1 to 50.0. Default: 20.0.
Route lineroute_linetext
Include the line of the route, for drawing it on a map. Simplified is plenty for a small map.One of: none (Don't include), simplified, full (Full detail). Default: none.
Line formatline_formattext
How the line is written. An encoded polyline is short text that Google Maps and Mapbox can draw; GeoJSON lists every coordinate.Only when Route line is Simplified or Full detail. One of: polyline (Encoded polyline (Google Maps, Mapbox)), polyline6 (Encoded polyline, 6-digit precision), geojson (GeoJSON coordinates). Default: polyline.

Outputs

confidencenumber
How sure OSRM is of the match, from 0 to 1. Below 0.5, check the points or raise the GPS accuracy.
distance_kmnumber
The distance in kilometres, to 2 decimals.
distance_metersnumber
The distance in metres.
distance_milesnumber
The distance in miles, to 2 decimals.
distance_texttext
The distance to read, in both units, e.g. '4.7 km (2.9 mi)'.
duration_minutesnumber
The travel time in minutes, to 1 decimal.
duration_secondsnumber
The travel time in seconds.
duration_texttext
The travel time to read, e.g. '12 min' or '1 h 5 min'.
matched_countnumber
How many GPS points were placed on a road.
pointslist
Every GPS point, in order, with where it sits on the road.
route_linetext
The route's line as an encoded polyline, when a route line in that format was asked for. Google Maps and Mapbox can draw it.
route_line_geojsonobject
The route's line as a GeoJSON LineString ({type, coordinates}, each coordinate longitude first), when GeoJSON was asked for.
segment_countnumber
How many separate pieces the track was matched as. More than 1 means a gap OSRM could not join.
summarytext
One line about the match.
travel_modetext
How the trip was made: 'car', 'bike' or 'foot'.
unmatched_countnumber
How many GPS points were left out.
Example output
{
  "confidence": 0.983,
  "distance_km": 0.48,
  "distance_meters": 476.8,
  "distance_miles": 0.3,
  "distance_text": "477 m (0.3 mi)",
  "duration_minutes": 0.9,
  "duration_seconds": 55.5,
  "duration_text": "56 s",
  "matched_count": 4,
  "points": [
    {
      "input_latitude": 52.5173,
      "input_longitude": 13.3881,
      "label": null,
      "latitude": 52.51735,
      "longitude": 13.388765,
      "matched": true,
      "name": "Friedrichstra\u00dfe",
      "position": 1,
      "road": "Friedrichstra\u00dfe",
      "snapped_distance_meters": 45.5
    },
    {
      "input_latitude": 52.517,
      "input_longitude": 13.39,
      "label": null,
      "latitude": 52.51694,
      "longitude": 13.39001,
      "matched": true,
      "name": "Unter den Linden",
      "position": 2,
      "road": "Unter den Linden",
      "snapped_distance_meters": 6.7
    },
    {
      "input_latitude": 52.5172,
      "input_longitude": 13.3925,
      "label": null,
      "latitude": 52.517108,
      "longitude": 13.392517,
      "matched": true,
      "name": "Unter den Linden",
      "position": 3,
      "road": "Unter den Linden",
      "snapped_distance_meters": 10.3
    },
    {
      "input_latitude": 52.5174,
      "input_longitude": 13.395,
      "label": null,
      "latitude": 52.51734,
      "longitude": 13.39501,
      "matched": true,
      "name": "Unter den Linden",
      "position": 4,
      "road": "Unter den Linden",
      "snapped_distance_meters": 6.7
    }
  ],
  "route_line": null,
  "route_line_geojson": null,
  "segment_count": 1,
  "summary": "Matched 4 of 4 GPS points to roads: 477 m (0.3 mi), about 56 s by car (98% confidence)",
  "travel_mode": "car",
  "unmatched_count": 0
}

On this page