New Feature: Snapped Waypoints


#1

The snapped waypoint feature from the Routing API is now integrated into the Route Optimization API. A snapped waypoint is the access point of your coordinate to the network. Usually addresses are not located directly on a road link, therefore, to access the road we need to determine an access point which we call snapped waypoint. If you require snapped waypoints in the response of the Route Optimiaztion API, just modify your request as follows:

  "configuration":{
     "routing":{
         "return_snapped_waypoints": true
     }  
  }

Each address in the response now has an additional field called “snapped_waypoint” like this:

"activities": [
        {
          "type": "start",
          "location_id": "berlin",
          "address": {
            "location_id": "berlin",
            "lat": 52.537,
            "lon": 13.406,
            "snapped_waypoint": {
              "lat": 52.53569,
              "lon": 13.40951
            }
          },
          ...
        },
        ...
}]

#2

Nice! With that feature one can now see the influence of the “street_hint” feature directly in the response.