RouteViolatedConstraints
¶
Source code in docs_src/capo_geo_routes/types/route_violated_constraints.py
all_hazards_restricted
instance-attribute
¶
all_hazards_restricted: NotRequired[SensitiveBoolean]
This restriction applies to truck cargo, where the resulting route excludes roads on which hazardous materials are prohibited from being transported.
axle_count
instance-attribute
¶
axle_count: NotRequired[RouteNoticeDetailRange]
Total number of axles of the vehicle.
hazardous_cargos
instance-attribute
¶
hazardous_cargos: RouteHazardousCargoTypeList
List of Hazardous cargo contained in the vehicle.
max_kpra_length
instance-attribute
¶
max_kpra_length: DimensionCentimeters
The maximum Kpra length of the vehicle.
Unit: centimeters
max_payload_capacity
instance-attribute
¶
max_payload_capacity: WeightKilograms
The maximum load capacity of the vehicle.
Unit: kilograms
max_weight
instance-attribute
¶
max_weight: NotRequired[RouteWeightConstraint]
The maximum weight of the route.
Unit: kilograms
max_weight_per_axle
instance-attribute
¶
max_weight_per_axle: WeightKilograms
The maximum weight per axle of the vehicle.
Unit: kilograms
max_weight_per_axle_group
instance-attribute
¶
max_weight_per_axle_group: NotRequired[WeightPerAxleGroup]
The maximum weight per axle group of the vehicle.
Unit: kilograms
occupancy
instance-attribute
¶
occupancy: NotRequired[RouteNoticeDetailRange]
The number of occupants in the vehicle.
Default value: 1
restricted_times
instance-attribute
¶
restricted_times: NotRequired[str]
Access radius restrictions based on time.
time_dependent
instance-attribute
¶
time_dependent: NotRequired[SensitiveBoolean]
The time dependent constraint.
trailer_count
instance-attribute
¶
trailer_count: NotRequired[RouteNoticeDetailRange]
Number of trailers attached to the vehicle.
Default value: 0
travel_mode
instance-attribute
¶
travel_mode: NotRequired[SensitiveBoolean]
Travel mode corresponding to the leg.
truck_road_type
instance-attribute
¶
truck_road_type: NotRequired[str]
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.
truck_type
instance-attribute
¶
truck_type: NotRequired[RouteTruckType]
The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations.
tunnel_restriction_code
instance-attribute
¶
tunnel_restriction_code: NotRequired[TunnelRestrictionCode]
The tunnel restriction code.
Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them.
-
Tunnel Category B
-
Risk Level: Limited risk
-
Restrictions: Few restrictions
-
-
Tunnel Category C
-
Risk Level: Medium risk
-
Restrictions: Some restrictions
-
-
Tunnel Category D
-
Risk Level: High risk
-
Restrictions: Many restrictions occur
-
-
Tunnel Category E
-
Risk Level: Very high risk
-
Restrictions: Restricted tunnel
-