GeoRoutesClient

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

Properties

Link copied to clipboard
abstract override val config: GeoRoutesClient.Config

GeoRoutesClient's configuration

Functions

Link copied to clipboard

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

Link copied to clipboard

Use CalculateRouteMatrix to compute 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 copied to clipboard

CalculateRoutes computes routes given the following required parameters: Origin and Destination.

Link copied to clipboard

OptimizeWaypoints 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 copied to clipboard
abstract suspend fun snapToRoads(input: SnapToRoadsRequest): SnapToRoadsResponse

SnapToRoads matches GPS trace to roads most likely traveled on.

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

Use CalculateRouteMatrix to compute 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 copied to clipboard

CalculateRoutes computes routes given the following required parameters: Origin and Destination.

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

OptimizeWaypoints 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 copied to clipboard
inline suspend fun GeoRoutesClient.snapToRoads(crossinline block: SnapToRoadsRequest.Builder.() -> Unit): SnapToRoadsResponse

SnapToRoads matches GPS trace to roads most likely traveled on.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.