ExAws.Location.Routes.IsolineTrafficOptions (ex_aws_location v0.1.0)

Copy Markdown

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.

Fields

  • :flow_event_threshold_override - 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.

  • :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. Valid values: IgnoreTrafficData, UseTrafficData.

See https://docs.aws.amazon.com/location/latest/APIReference/API_IsolineTrafficOptions.html

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.IsolineTrafficOptions{
  flow_event_threshold_override: integer() | nil,
  usage: String.t() | nil
}