---
title: "POST /v2/route-matrix"
method: POST
path: "/v2/route-matrix"
---

# POST /v2/route-matrix

`POST /v2/route-matrix`

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.

For more information, see [Calculate route matrix](https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html) in the _Amazon Location Service Developer Guide_.

## Query parameters

- `key` string, password

## Request body

- object
  - `Allow` object — Allow Options related to the route matrix.
    - `Hot` boolean — <p>Allow Hot (High Occupancy Toll) lanes while calculating the route.</p> <p>Default value: <code>false</code> </p>
    - `Hov` boolean — <p>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</p> <p>Default value: <code>false</code> </p>
  - `Avoid` object — Specifies options for areas to avoid when calculating the route. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.
    - `Areas` RouteMatrixAvoidanceArea[] — Areas to be avoided.
      - `Geometry` object, required — Geometry of the area to be avoided.
        - `BoundingBox` Double[] — Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
        - `Polygon` LinearRing[] — Geometry defined as a polygon with only one linear ring.
          - Position[]
            - Double[]
        - `PolylinePolygon` PolylineRing[] — A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon of the first linear ring (the outer ring) and from second item to the last item (the inner rings). For more information on polyline encoding, see <a href="https://github.com/aws-geospatial/polyline">https://github.com/aws-geospatial/polyline</a>.
    - `CarShuttleTrains` boolean — Avoid car-shuttle-trains while calculating the route.
    - `ControlledAccessHighways` boolean — Avoid controlled access highways while calculating the route.
    - `DirtRoads` boolean — Avoid dirt roads while calculating the route.
    - `Ferries` boolean — Avoid ferries while calculating the route.
    - `TollRoads` boolean — Avoids roads where the specified toll transponders are the only mode of payment.
    - `TollTransponders` boolean — Avoids roads where the specified toll transponders are the only mode of payment.
    - `TruckRoadTypes` TruckRoadType[] — <p>Truck road type identifiers. <code>BK1</code> through <code>BK4</code> apply only to Sweden. <code>A2,A4,B2,B4,C,D,ET2,ET4</code> apply only to Mexico.</p> <note> <p>There are currently no other supported values as of 26th April 2024.</p> </note>
    - `Tunnels` boolean — Avoid tunnels while calculating the route.
    - `UTurns` boolean — Avoid U-turns for calculation on highways and motorways.
    - `ZoneCategories` RouteMatrixAvoidanceZoneCategory[] — Zone categories to be avoided.
      - `Category` 'CongestionPricing' | 'Environmental' | 'Vignette', password — Zone category to be avoided.
  - `DepartNow` boolean — Uses the current time as the time of departure.
  - `DepartureTime` string, password — <p>Time of departure from the origin.</p> <p>Time format:<code>YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm</code> </p> <p>Examples:</p> <p> <code>2020-04-22T17:57:24Z</code> </p> <p> <code>2020-04-22T17:57:24+02:00</code> </p>
  - `Destinations` RouteMatrixDestination[], required — <p>List of destinations for the route in World Geodetic System (WGS 84) format: [longitude, latitude].</p> <note> <p>Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html">Routes pricing</a> in the <i>Amazon Location Service Developer Guide</i>.</p> </note> <p>The maximum number of destinations depends on the routing boundary configuration:</p> <ul> <li> <p>With <code>RoutingBoundary.Geometry</code> set: maximum 500 destinations</p> </li> <li> <p>With <code>RoutingBoundary.Unbounded</code> set to <code>true</code>: maximum 100 destinations</p> </li> <li> <p>For <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers in <code>ap-southeast-1</code> and <code>ap-southeast-5</code>: maximum 350 destinations</p> </li> </ul> <p>The total matrix size (origins × destinations) must not exceed:</p> <ul> <li> <p>With <code>RoutingBoundary.Geometry</code>: 160,000</p> </li> <li> <p>With <code>RoutingBoundary.Unbounded</code>: 100</p> </li> <li> <p>For <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers in <code>ap-southeast-1</code> and <code>ap-southeast-5</code>: 122,500</p> </li> </ul>
    - `Options` object — Destination related options. Not supported in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
      - `AvoidActionsForDistance` integer — Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.
      - `Heading` number, double — GPS Heading at the position.
      - `Matching` object — Options to configure matching the provided position to the road network.
        - `NameHint` string, password — Attempts to match the provided position to a road similar to the provided name.
        - `OnRoadThreshold` integer — <p>If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.</p> <p> <b>Unit</b>: <code>meters</code> </p>
        - `Radius` integer — <p>Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.</p> <p> <b>Unit</b>: <code>meters</code> </p>
        - `Strategy` 'MatchAny' | 'MatchMostSignificantRoad' — Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
      - `SideOfStreet` object — Options to configure matching the provided position to a side of the street.
        - `Position` Double[], required — Position in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `UseWith` 'AnyStreet' | 'DividedStreetOnly' — <p>Strategy that defines when the side of street position should be used. AnyStreet will always use the provided position.</p> <p>Default value: <code>DividedStreetOnly</code> </p>
    - `Position` Double[], required — Position in World Geodetic System (WGS 84) format: [longitude, latitude].
  - `Exclude` object — Specifies strict exclusion options for the route calculation. This setting mandates that the router will avoid any routes that include the specified options, rather than merely attempting to minimize them.
    - `Countries` CountryCode[] — List of countries to be avoided defined by two-letter or three-letter country codes.
  - `OptimizeRoutingFor` 'FastestRoute' | 'ShortestRoute' — <p>Controls the trade-off between finding the shortest travel time (<code>FastestRoute</code>) and the shortest distance (<code>ShortestRoute</code>) when calculating reachable areas.</p> <p>Default value: <code>FastestRoute</code> </p>
  - `Origins` RouteMatrixOrigin[], required — <p>List of origins for the route in World Geodetic System (WGS 84) format: [longitude, latitude].</p> <note> <p>Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/routes-pricing.html">Routes pricing</a> in the <i>Amazon Location Service Developer Guide</i>.</p> </note> <p>The maximum number of origins depends on the routing boundary configuration:</p> <ul> <li> <p>With <code>RoutingBoundary.Geometry</code> set: maximum 500 origins</p> </li> <li> <p>With <code>RoutingBoundary.Unbounded</code> set to <code>true</code>: maximum 15 origins</p> </li> <li> <p>For <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers in <code>ap-southeast-1</code> and <code>ap-southeast-5</code>: maximum 350 origins</p> </li> </ul> <p>The total matrix size (origins × destinations) must not exceed:</p> <ul> <li> <p>With <code>RoutingBoundary.Geometry</code>: 160,000</p> </li> <li> <p>With <code>RoutingBoundary.Unbounded</code>: 100</p> </li> <li> <p>For <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers in <code>ap-southeast-1</code> and <code>ap-southeast-5</code>: 122,500</p> </li> </ul>
    - `Options` object — Origin related options. Not supported in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
      - `AvoidActionsForDistance` integer — Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.
      - `Heading` number, double — GPS Heading at the position.
      - `Matching` object — Options to configure matching the provided position to the road network.
        - `NameHint` string, password — Attempts to match the provided position to a road similar to the provided name.
        - `OnRoadThreshold` integer — <p>If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.</p> <p> <b>Unit</b>: <code>meters</code> </p>
        - `Radius` integer — <p>Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.</p> <p> <b>Unit</b>: <code>meters</code> </p>
        - `Strategy` 'MatchAny' | 'MatchMostSignificantRoad' — Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.
      - `SideOfStreet` object — Options to configure matching the provided position to a side of the street.
        - `Position` Double[], required — Position in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `UseWith` 'AnyStreet' | 'DividedStreetOnly' — <p>Strategy that defines when the side of street position should be used. AnyStreet will always use the provided position.</p> <p>Default value: <code>DividedStreetOnly</code> </p>
    - `Position` Double[], required — Position in World Geodetic System (WGS 84) format: [longitude, latitude].
  - `RoutingBoundary` object — Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.
    - `Geometry` object — Geometry of the area to be avoided.
      - `AutoCircle` object — <p> <code>AutoCircle</code> requests the route matrix service to define a <code>Circle</code> boundary that best attempts to include most waypoints (<code>Origins</code> and <code>Destinations</code>) using the <code>AutoCircle</code> settings. Any waypoints outside of the auto-defined <code>Circle</code> boundary will be considered out of the routing boundary, which results in a route matrix entry error.</p> <p> <code>AutoCircle</code> is only used in the request to configure a <code>Circle</code> for the route calculation. The derived <code>Circle</code> will also be provided in the response.</p>
        - `Margin` integer — <p>The minimal distance, in meters, between any waypoint and the perimeter of the circle auto-defined for the boundary. Some margin is usually recommended so that the routing has enough leeway to travel from one waypoint to another optimally without conflicting with the routing boundary.</p> <p>The total of <code>MaxRadius</code> and <code>Margin</code> must be less than or equal to 200,000 meters.</p>
        - `MaxRadius` integer — <p>The maximum radius, in meters, that the auto-defined <code>Circle</code> boundary should have, before the <code>Margin</code> distance is added to the circle.</p> <p>The total of <code>MaxRadius</code> and <code>Margin</code> must be less than or equal to 200,000 meters.</p>
      - `Circle` object — <p>Geometry defined as a circle. The circle defines the routing boundary area. Any waypoints outside the circle will result in a route matrix entry error.</p> <p>You can specify a <code>Circle</code> directly in the request, or it will be auto-derived when <code>AutoCircle</code> is used. When <code>AutoCircle</code> is set in the request, the response routing boundary will return <code>Circle</code> derived from the <code>AutoCircle</code> settings.</p>
        - `Center` Double[], required — <p>Center of the Circle in World Geodetic System (WGS 84) format: [longitude, latitude].</p> <p>Example: <code>[-123.1174, 49.2847]</code> represents the position with longitude <code>-123.1174</code> and latitude <code>49.2847</code>. </p>
        - `Radius` number, double, required — <p>Radius of the Circle.</p> <p> <b>Unit</b>: <code>meters</code> </p> <p>Valid Range: Minimum value of 0. Maximum value of 200000.</p>
      - `BoundingBox` Double[] — <p>Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.</p> <p>Diagonal distance of the bounding box must be less than or equal to 400,000 meters.</p>
      - `Polygon` LinearRing[] — <p>Geometry defined as a polygon with only one linear ring. A linear ring is a closed sequence of four or more coordinates. The first and last coordinates are the same, forming a closed boundary. Each coordinate is a position in [longitude, latitude] format.</p> <p>The structure is an array of linear rings (only 1 allowed). Each linear ring is an array of coordinates (minimum 4), and each coordinate is an array of two doubles [longitude, latitude].</p> <p>Maximum distance between any two vertices must be less than or equal to 400,000 meters.</p>
        - Position[]
          - Double[]
    - `Unbounded` boolean — No restrictions in terms of a routing boundary, and is typically used for longer routes.
  - `Traffic` object — Traffic related options.
    - `FlowEventThresholdOverride` integer — Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.
    - `Usage` 'IgnoreTrafficData' | 'UseTrafficData' — <p>Determines if traffic should be used or ignored while calculating the route.</p> <p>Default value: <code>UseTrafficData</code> </p>
  - `TravelMode` 'Car' | 'Pedestrian' | 'Scooter' | 'Truck' — <p> Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. For <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers, <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions support only <code>Car</code>, <code>Pedestrian</code>, and <code>Scooter</code>. </p> <p>Default value: <code>Car</code> </p>
  - `TravelModeOptions` object — Travel mode related options for the provided travel mode.
    - `Car` object — Travel mode options when the provided travel mode is <code>Car</code>.
      - `LicensePlate` object — The vehicle License Plate.
        - `LastCharacter` string — The last character of the License Plate.
      - `MaxSpeed` number, double — <p>Maximum speed</p> <p> <b>Unit</b>: <code>kilometers per hour</code> </p>
      - `Occupancy` integer — <p>The number of occupants in the vehicle.</p> <p>Default value: <code>1</code> </p>
    - `Scooter` object — <p>Travel mode options when the provided travel mode is <code>Scooter</code>. </p> <note> <p>When travel mode is set to <code>Scooter</code>, then the avoidance option <code>ControlledAccessHighways</code> defaults to <code>true</code>.</p> </note>
      - `LicensePlate` object — The vehicle License Plate.
        - `LastCharacter` string — The last character of the License Plate.
      - `MaxSpeed` number, double — <p>Maximum speed.</p> <p> <b>Unit</b>: <code>kilometers per hour</code> </p>
      - `Occupancy` integer — <p>The number of occupants in the vehicle.</p> <p>Default value: <code>1</code> </p>
    - `Truck` object — Travel mode options when the provided travel mode is <code>Truck</code>.
      - `AxleCount` integer — Total number of axles of the vehicle.
      - `GrossWeight` integer — <p>Gross weight of the vehicle including trailers, and goods at capacity.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
      - `HazardousCargos` RouteMatrixHazardousCargoType[] — List of Hazardous cargo contained in the vehicle.
      - `Height` integer — <p>Height of the vehicle.</p> <p> <b>Unit</b>: <code>centimeters</code> </p>
      - `KpraLength` integer — <p>Kingpin to rear axle length of the vehicle</p> <p> <b>Unit</b>: <code>centimeters</code> </p>
      - `Length` integer — <p>Length of the vehicle.</p> <p> <b>Unit</b>: <code>centimeters</code> </p>
      - `LicensePlate` object — The vehicle License Plate.
        - `LastCharacter` string — The last character of the License Plate.
      - `MaxSpeed` number, double — <p>Maximum speed</p> <p> <b>Unit</b>: <code>kilometers per hour</code> </p>
      - `Occupancy` integer — <p>The number of occupants in the vehicle.</p> <p>Default value: <code>1</code> </p>
      - `PayloadCapacity` integer — <p>Payload capacity of the vehicle and trailers attached.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
      - `Trailer` object — Trailer options corresponding to the vehicle.
        - `TrailerCount` integer — <p>Number of trailers attached to the vehicle.</p> <p>Default value: <code>0</code> </p>
      - `TruckType` 'LightTruck' | 'StraightTruck' | 'Tractor', password — The type of truck: <code>LightTruck</code> for smaller delivery vehicles, <code> StraightTruck</code> for rigid body trucks, or <code>Tractor</code> for tractor-trailer combinations.
      - `TunnelRestrictionCode` string, password — <p>The tunnel restriction code.</p> <p>Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them.</p> <ul> <li> <p> <i>Tunnel Category B</i> </p> <ul> <li> <p> <i>Risk Level</i>: Limited risk</p> </li> <li> <p> <i>Restrictions</i>: Few restrictions</p> </li> </ul> </li> <li> <p> <i>Tunnel Category C</i> </p> <ul> <li> <p> <i>Risk Level</i>: Medium risk</p> </li> <li> <p> <i>Restrictions</i>: Some restrictions</p> </li> </ul> </li> <li> <p> <i>Tunnel Category D</i> </p> <ul> <li> <p> <i>Risk Level</i>: High risk</p> </li> <li> <p> <i>Restrictions</i>: Many restrictions occur</p> </li> </ul> </li> <li> <p> <i>Tunnel Category E</i> </p> <ul> <li> <p> <i>Risk Level</i>: Very high risk</p> </li> <li> <p> <i>Restrictions</i>: Restricted tunnel</p> </li> </ul> </li> </ul>
      - `WeightPerAxle` integer — <p>Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
      - `WeightPerAxleGroup` object — Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.
        - `Single` integer — <p>Total weight in kilograms for single axle configurations.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
        - `Tandem` integer — <p>Total weight in kilograms for tandem (two adjacent) axle configurations.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
        - `Triple` integer — <p>Total weight in kilograms for triple (three adjacent) axle configurations.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
        - `Quad` integer — <p>Total weight in kilograms for quad (four adjacent) axle configurations.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
        - `Quint` integer — <p>Total weight in kilograms for quint (five adjacent) axle configurations.</p> <p> <b>Unit</b>: <code>kilograms</code> </p>
      - `Width` integer — <p>Width of the vehicle.</p> <p> <b>Unit</b>: <code>centimeters</code> </p>

## Response `200`

Success

- CalculateRouteMatrixResponse
  - `ErrorCount` integer, required — The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
  - `RouteMatrix` RouteMatrixRow[], required — The calculated route matrix containing the results for all pairs of Origins to Destination positions. 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 Destination positions.
    - RouteMatrixEntry[]
      - `Distance` integer, required — The total distance of travel for the route.
      - `Duration` integer, required — <p>The expected duration of travel for the route.</p> <p> <b>Unit</b>: <code>seconds</code> </p>
      - `Error` 'NoMatch' | 'NoMatchDestination' | 'NoMatchOrigin' | 'NoRoute' | 'OutOfBounds' | 'OutOfBoundsDestination' | 'OutOfBoundsOrigin' | 'Other' | 'Violation' — Error code that occurred during calculation of the route.
  - `RoutingBoundary` object, required — <p>Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.</p> <note> <p>When <code>AutoCircle</code> is set in the request, the response routing boundary will return <code>Circle</code> derived from the <code>AutoCircle</code> settings.</p> </note>
    - `Geometry` object — Geometry of the area to be avoided.
      - `AutoCircle` object — <p> <code>AutoCircle</code> requests the route matrix service to define a <code>Circle</code> boundary that best attempts to include most waypoints (<code>Origins</code> and <code>Destinations</code>) using the <code>AutoCircle</code> settings. Any waypoints outside of the auto-defined <code>Circle</code> boundary will be considered out of the routing boundary, which results in a route matrix entry error.</p> <p> <code>AutoCircle</code> is only used in the request to configure a <code>Circle</code> for the route calculation. The derived <code>Circle</code> will also be provided in the response.</p>
        - `Margin` integer — <p>The minimal distance, in meters, between any waypoint and the perimeter of the circle auto-defined for the boundary. Some margin is usually recommended so that the routing has enough leeway to travel from one waypoint to another optimally without conflicting with the routing boundary.</p> <p>The total of <code>MaxRadius</code> and <code>Margin</code> must be less than or equal to 200,000 meters.</p>
        - `MaxRadius` integer — <p>The maximum radius, in meters, that the auto-defined <code>Circle</code> boundary should have, before the <code>Margin</code> distance is added to the circle.</p> <p>The total of <code>MaxRadius</code> and <code>Margin</code> must be less than or equal to 200,000 meters.</p>
      - `Circle` object — <p>Geometry defined as a circle. The circle defines the routing boundary area. Any waypoints outside the circle will result in a route matrix entry error.</p> <p>You can specify a <code>Circle</code> directly in the request, or it will be auto-derived when <code>AutoCircle</code> is used. When <code>AutoCircle</code> is set in the request, the response routing boundary will return <code>Circle</code> derived from the <code>AutoCircle</code> settings.</p>
        - `Center` Double[], required — <p>Center of the Circle in World Geodetic System (WGS 84) format: [longitude, latitude].</p> <p>Example: <code>[-123.1174, 49.2847]</code> represents the position with longitude <code>-123.1174</code> and latitude <code>49.2847</code>. </p>
        - `Radius` number, double, required — <p>Radius of the Circle.</p> <p> <b>Unit</b>: <code>meters</code> </p> <p>Valid Range: Minimum value of 0. Maximum value of 200000.</p>
      - `BoundingBox` Double[] — <p>Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.</p> <p>Diagonal distance of the bounding box must be less than or equal to 400,000 meters.</p>
      - `Polygon` LinearRing[] — <p>Geometry defined as a polygon with only one linear ring. A linear ring is a closed sequence of four or more coordinates. The first and last coordinates are the same, forming a closed boundary. Each coordinate is a position in [longitude, latitude] format.</p> <p>The structure is an array of linear rings (only 1 allowed). Each linear ring is an array of coordinates (minimum 4), and each coordinate is an array of two doubles [longitude, latitude].</p> <p>Maximum distance between any two vertices must be less than or equal to 400,000 meters.</p>
        - Position[]
          - Double[]
    - `Unbounded` boolean — No restrictions in terms of a routing boundary, and is typically used for longer routes.

## Other responses

- `480` — InternalServerException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/geo-routes.md) · [All operations](https://skmtc.net/aws/apis/geo-routes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/geo-routes/versions/530ae2662aa3/schema)
