/AWS1/CL_GERROUTETRAFFICOPTS¶
Traffic options for the route.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_floweventthreshoverride TYPE /AWS1/GERDURATIONSECONDS /AWS1/GERDURATIONSECONDS¶
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.
iv_usage TYPE /AWS1/GERTRAFFICUSAGE /AWS1/GERTRAFFICUSAGE¶
Specifies how traffic data should be used when calculating routes.
Default Value:
UseTrafficDataTraffic data usage depends on the time parameters in your route request:
When
Usageis set toUseTrafficData:
If
DepartNowis set totrue, or if you specifyDepartureTimeorArrivalTime, then all traffic data is considered (including live traffic and closures).If
DepartNow,DepartureTime, andArrivalTimeare all unspecified, then only long-term closures are considered, regardless of this setting.When
Usageis set toIgnoreTrafficData, then all traffic data is ignored regardless of the time parameters in your route request.
Queryable Attributes¶
FlowEventThresholdOverride¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FLOWEVENTTHRESHOVERRIDE() |
Getter for FLOWEVENTTHRESHOLDOVERRIDE |
Usage¶
Specifies how traffic data should be used when calculating routes.
Default Value:
UseTrafficDataTraffic data usage depends on the time parameters in your route request:
When
Usageis set toUseTrafficData:
If
DepartNowis set totrue, or if you specifyDepartureTimeorArrivalTime, then all traffic data is considered (including live traffic and closures).If
DepartNow,DepartureTime, andArrivalTimeare all unspecified, then only long-term closures are considered, regardless of this setting.When
Usageis set toIgnoreTrafficData, then all traffic data is ignored regardless of the time parameters in your route request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USAGE() |
Getter for USAGE, with configurable default |
ASK_USAGE() |
Getter for USAGE w/ exceptions if field has no value |
HAS_USAGE() |
Determine if USAGE has a value |