IsolineTrafficOptions
¶
Used by
-
AsyncGeoRoutesClient Operationscalculate_isolines -
GeoRoutesClient Operationscalculate_isolines
Source code in docs_src/capo_geo_routes/types/isoline_traffic_options.py
flow_event_threshold_override
instance-attribute
¶
flow_event_threshold_override: DurationSeconds
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
usage
instance-attribute
¶
usage: NotRequired[TrafficUsage]
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