IsolineTrafficOptions - Amazon Location Service

IsolineTrafficOptions

Controls how real-time and historical traffic data is used when calculating reachable areas. This affects both the size and shape of isolines by accounting for expected travel speeds based on congestion patterns.

Contents

FlowEventThresholdOverride

The duration in seconds that real-time congestion data is considered valid before reverting to historical traffic patterns. This helps balance between using current conditions and more predictable historical data when calculating travel times.

Unit: seconds

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

Usage

Controls whether traffic data is used in calculations. UseTrafficData considers both real-time congestion and historical patterns, while IgnoreTrafficData calculates routes based solely on road types and speed limits. Using traffic data provides more accurate real-world estimates but may produce different results at different times of day.

Default value: UseTrafficData

Type: String

Valid Values: IgnoreTrafficData | UseTrafficData

Required: No

See Also

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