View Source AWS.GeoRoutes (aws-elixir v1.0.4)

With the Amazon Location Routes API you can calculate routes and estimate travel time based on up-to-date road network and live traffic information.

Calculate optimal travel routes and estimate travel times using up-to-date road network and traffic data. Key features include:

* Point-to-point routing with estimated travel time, distance, and turn-by-turn directions

* Multi-point route optimization to minimize travel time or distance

* Route matrices for efficient multi-destination planning

* Isoline calculations to determine reachable areas within specified time or distance thresholds

* Map-matching to align GPS traces with the road network

Link to this section Summary

Functions

Use the CalculateIsolines action to find service areas that can be reached in a given threshold of time, distance.

Calculates route matrix containing the results for all pairs of Origins to Destinations.

Calculates a route given the following required parameters: Origin and Destination.

Calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.

The SnapToRoads action matches GPS trace to roads most likely traveled on.

Link to this section Functions

Link to this function

calculate_isolines(client, input, options \\ [])

View Source

Use the CalculateIsolines action to find service areas that can be reached in a given threshold of time, distance.

Link to this function

calculate_route_matrix(client, input, options \\ [])

View Source

Calculates route matrix containing the results for all pairs of Origins to Destinations.

Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.

Link to this function

calculate_routes(client, input, options \\ [])

View Source

Calculates a route given the following required parameters: Origin and Destination.

Link to this function

optimize_waypoints(client, input, options \\ [])

View Source

Calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.

Link to this function

snap_to_roads(client, input, options \\ [])

View Source

The SnapToRoads action matches GPS trace to roads most likely traveled on.