Route APIs
Routes provide capabilities for calculating optimized paths between locations. These features support applications requiring logistics planning, distance calculations, and route optimization. Users can also snap location points to roads for improved accuracy. For more information, See Amazon Location Service Routes.
-
CalculateIsolines: Generates isolines based on travel time or distance, useful for defining service areas or reachability zones. For more information, See Calculate isolines.
-
CalculateRouteMatrix: Provides a matrix of distances and travel times between multiple origins and destinations, supporting logistics and trip planning. For more information, See Calculate route matrix.
-
CalculateRoutes: Calculates optimized routes for point-to-point or multi-stop navigation, including customizable routing preferences. For more information, See Calculate routes.
-
OptimizeWaypoints: Optimizes the order of waypoints for the most efficient travel route, minimizing distance or time. For more information, See Optimize waypoints.
-
SnapToRoads: Aligns coordinates to the nearest road paths, enhancing GPS accuracy by snapping points to known roads. For more information, See Snap to Roads.
The following table presents a number of business use cases that are best solved with Routes APIs.
Business need |
Useful API |
Examples |
---|---|---|
Calculate the travel distance and time for a origins and a destination Supports the following:
|
|
|
Find route polyline for a origins and a destination Supports the following:
|
|
|
Find routes turn by turn direction for an origin and a destination Supports the following:
|
|
|
Find a route by departing now Supports the following:
|
|
|
Find a route if you depart at specific time Supports the following:
|
|
|
Find a route if you need to arrival at specific time Supports the following:
|
|
|
Find shortest routes Supports the following:
|
|
|
Find fastest routes Supports the following:
|
|
|
Find alternative routes Supports the following:
|
|
|
Find traffic aware routes Supports the following:
|
|
|
Find routes with avoidance such as toll, u-turn, ferry, highway, tunnel, and more Supports the following:
|
|
|
Find routes with custom avoidance by passing polyline or polygon Supports the following:
|
|
|
Calculate toll cost Supports the following:
|
|
|
Find speed limit of a road span on a route Supports the following:
|
|
|
Draw a route on a map Supports waypoint marking. |
|
|
Calculate route matrix of distance and time for multiple origins and destinations Supports the following:
|
|
How to calculate a route matrix of distance and time for multiple origins and destinations |
Calculate route matrix with avoidance Supports the following:
|
|
|
Calculate a service area based on time (isochrones) Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Calculate a service area based on distance (isodistance) Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Calculate a service area with avoidance Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Calculate a service area from reverse direction Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Calculate service area for multi-range of time or distance Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Optimize waypoints for routes (traveling salesman problem) Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Optimize waypoints for a route with traffic awareness Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Optimize waypoints for a route with access hour awareness Supports travel modes, such as truck, pedestrian, car, and scooter. |
|
|
Match GPS traces to road network Supports travel modes, such as truck, pedestrian, car, and scooter. |
Snap to road |
|
Visualize matched GPS traces on a map Supports travel modes, such as truck, pedestrian, car, and scooter. |
|