ExAws. Location. Routes. IsolineTruckOptions
(ex_aws_location v0.1.0)
Copy Markdown
Vehicle characteristics and restrictions that affect which roads can be used when calculating reachable areas for trucks. These details ensure that routes respect physical limitations and legal requirements.
These apply when the provided travel mode is Truck
Fields
:axle_count- The total number of axles on the vehicle. Required for certain road restrictions and weight limit calculations.:engine_type- The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics. Valid values:Electric,InternalCombustion,PluginHybrid.:gross_weight- The gross vehicle weight (the maximum weight a vehicle can safely operate at, as specified by the manufacturer) in kilograms. Used to avoid roads with weight restrictions and ensure compliance with maximum allowed vehicle weight regulations.:hazardous_cargos- Types of hazardous materials being transported. This affects which roads and tunnels can be used based on local regulations. Valid values:Combustible,Corrosive,Explosive,Flammable,Gas,HarmfulToWater,Organic,Other,Poison,PoisonousInhalation,Radioactive.:height- The vehicle height in centimeters. Used to avoid routes with low bridges or other height restrictions.:height_above_first_axle- The height in centimeters measured from the ground to the highest point above the first axle. Used for specific bridge and tunnel clearance restrictions.:kpra_length- The kingpin to rear axle (KPRA) length in centimeters. Used to determine if the vehicle can safely navigate turns and intersections.:length- The total vehicle length in centimeters. Used to avoid roads with length restrictions and determine if the vehicle can safely navigate turns.:license_plate- License plate information used in regions where road access or routing restrictions are based on license plate numbers.:max_speed- The maximum speed in kilometers per hour at which the vehicle can or is permitted to travel. This affects travel time calculations and may result in different reachable areas compared to using default speed limits. Value must be between 3.6 and 252 kilometers per hour.:occupancy- The number of occupants in the vehicle. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.:payload_capacity- The maximum cargo weight in kilograms that the vehicle (including attached trailers) is rated to carry.:tire_count- The total number of tires on the vehicle.:trailer- Optional specifications for attached trailers. When provided, trailer characteristics affect route calculations to ensure compliance with trailer-specific restrictions such as length limits, weight distribution requirements, and access restrictions for multi-trailer configurations.:truck_type- The type of truck:LightTruckfor smaller delivery vehicles,StraightTruckfor rigid body trucks, orTractorfor tractor-trailer combinations. Valid values:LightTruck,StraightTruck,Tractor.:tunnel_restriction_code- The tunnel restriction code.:weight_per_axle- The heaviest weight per axle in kilograms, regardless of axle type or grouping. Used for roads with axle-weight restrictions in regions where regulations don't distinguish between different axle configurations.:weight_per_axle_group- Specifies the total weight for different axle group configurations. Used in regions where regulations set different weight limits based on axle group types.:width- The vehicle width in centimeters. Used to avoid routes with width restrictions.
See https://docs.aws.amazon.com/location/latest/APIReference/API_IsolineTruckOptions.html
Summary
Types
@type t() :: %ExAws.Location.Routes.IsolineTruckOptions{ axle_count: integer() | nil, engine_type: String.t() | nil, gross_weight: integer() | nil, hazardous_cargos: [String.t()] | nil, height: integer() | nil, height_above_first_axle: integer() | nil, kpra_length: integer() | nil, length: integer() | nil, license_plate: ExAws.Location.Routes.IsolineVehicleLicensePlate.t() | nil, max_speed: number() | nil, occupancy: integer() | nil, payload_capacity: integer() | nil, tire_count: integer() | nil, trailer: ExAws.Location.Routes.IsolineTrailerOptions.t() | nil, truck_type: String.t() | nil, tunnel_restriction_code: String.t() | nil, weight_per_axle: integer() | nil, weight_per_axle_group: ExAws.Location.Routes.WeightPerAxleGroup.t() | nil, width: integer() | nil }