RouteVehicleSpan
¶
Source code in docs_src/capo_geo_routes/types/route_vehicle_span.py
best_case_duration
instance-attribute
¶
best_case_duration: DurationSeconds
Duration of the computed span without traffic congestion.
Unit: seconds
car_access
instance-attribute
¶
car_access: NotRequired[RouteSpanCarAccessAttributeList]
Access attributes for a car corresponding to the span.
country
instance-attribute
¶
country: NotRequired[CountryCode3]
3 letter Country code corresponding to the Span.
distance
instance-attribute
¶
distance: DistanceMeters
Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.
duration
instance-attribute
¶
duration: DurationSeconds
Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.
Unit: seconds
dynamic_speed
instance-attribute
¶
dynamic_speed: NotRequired[RouteSpanDynamicSpeedDetails]
Dynamic speed details corresponding to the span.
Unit: kilometers per hour
functional_classification
instance-attribute
¶
functional_classification: NotRequired[SensitiveInteger]
A numerical value indicating the functional classification of the road segment corresponding to the span.
Classification values are part of the hierarchical network that helps determine a logical and efficient route, and have the following definitions:
-
Roads that allow for high volume, maximum speed traffic movement between and through major metropolitan areas.
-
Roads that are used to channel traffic to functional class 1 roads for travel between and through cities in the shortest amount of time.
-
Roads that intersect functional class 2 roads and provide a high volume of traffic movement at a lower level of mobility than functional class 2 roads.
-
Roads that provide for a high volume of traffic movement at moderate speeds between neighborhoods.
-
Roads with volume and traffic movement below the level of any other functional class.
gate
instance-attribute
¶
gate: NotRequired[RouteSpanGateAttribute]
Attributes corresponding to a gate. The gate is present at the end of the returned span.
geometry_offset
instance-attribute
¶
geometry_offset: NotRequired[int]
Offset in the leg geometry corresponding to the start of this span.
incidents
instance-attribute
¶
incidents: NotRequired[IndexList]
Incidents corresponding to the span. These index into the Incidents in the parent Leg.
names
instance-attribute
¶
names: NotRequired[LocalizedStringList]
Provides an array of names of the vehicle span in available languages.
notices
instance-attribute
¶
notices: NotRequired[IndexList]
Notices are additional information returned that indicate issues that occurred during route calculation.
railway_crossing
instance-attribute
¶
railway_crossing: NotRequired[RouteSpanRailwayCrossingAttribute]
Attributes corresponding to a railway crossing. The gate is present at the end of the returned span.
region
instance-attribute
¶
region: NotRequired[SensitiveString]
2-3 letter Region code corresponding to the Span. This is either a province or a state.
road_attributes
instance-attribute
¶
road_attributes: NotRequired[RouteSpanRoadAttributeList]
Attributes for the road segment corresponding to the span.
route_numbers
instance-attribute
¶
route_numbers: NotRequired[RouteNumberList]
Designated route name or number corresponding to the span.
scooter_access
instance-attribute
¶
scooter_access: NotRequired[RouteSpanScooterAccessAttributeList]
Access attributes for a scooter corresponding to the span.
speed_limit
instance-attribute
¶
speed_limit: NotRequired[RouteSpanSpeedLimitDetails]
Speed limit details corresponding to the span.
Unit: kilometers per hour
toll_systems
instance-attribute
¶
toll_systems: NotRequired[IndexList]
Toll systems are authorities that collect payments for the toll.
truck_access
instance-attribute
¶
truck_access: NotRequired[RouteSpanTruckAccessAttributeList]
Access attributes for a truck corresponding to the span.
truck_road_types
instance-attribute
¶
truck_road_types: NotRequired[IndexList]
Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.
There are currently no other supported values as of 26th April 2024.
typical_duration
instance-attribute
¶
typical_duration: DurationSeconds
Duration of the computed span under typical traffic congestion.
Unit: seconds