Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

TruckDimensions - Amazon Location Service

TruckDimensions

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

Contents

Height

The height of the truck.

  • For example, 4.5.

Note

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

Type: Double

Valid Range: Minimum value of 0.

Required: No

Length

The length of the truck.

  • For example, 15.5.

Note

For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

Type: Double

Valid Range: Minimum value of 0.

Required: No

Unit

Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

Type: String

Valid Values: Meters | Feet

Required: No

Width

The width of the truck.

  • For example, 4.5.

Note

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

Type: Double

Valid Range: Minimum value of 0.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.