Module Values.IsolineTruckOptionsSource

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

Sourcetype nonrec t = {
  1. axleCount : IsolineTruckOptionsAxleCountInteger.t option;
    (*

    The total number of axles on the vehicle. Required for certain road restrictions and weight limit calculations.

    *)
  2. engineType : IsolineEngineType.t option;
    (*

    The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics. INTERNAL_COMBUSTION—Standard gasoline or diesel engine. ELECTRIC—Battery electric vehicle. PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.

    *)
  3. grossWeight : WeightKilograms.t option;
    (*

    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. Unit: kilograms

    *)
  4. hazardousCargos : IsolineHazardousCargoTypeList.t option;
    (*

    Types of hazardous materials being transported. This affects which roads and tunnels can be used based on local regulations. Combustible—Materials that can burn readily Corrosive—Materials that can destroy or irreversibly damage other substances Explosive—Materials that can produce an explosion by chemical reaction Flammable—Materials that can easily ignite Gas—Hazardous materials in gaseous form HarmfulToWater—Materials that pose a risk to water sources if released Organic—Hazardous organic compounds Other—Hazardous materials not covered by other categories Poison—Toxic materials PoisonousInhalation—Materials that are toxic when inhaled Radioactive—Materials that emit ionizing radiation

    *)
  5. height : IsolineTruckOptionsHeightLong.t option;
    (*

    The vehicle height in centimeters. Used to avoid routes with low bridges or other height restrictions. Unit: centimeters

    *)
  6. heightAboveFirstAxle : IsolineTruckOptionsHeightAboveFirstAxleLong.t option;
    (*

    The height in centimeters measured from the ground to the highest point above the first axle. Used for specific bridge and tunnel clearance restrictions. Unit: centimeters

    *)
  7. kpraLength : DimensionCentimeters.t option;
    (*

    The kingpin to rear axle (KPRA) length in centimeters. Used to determine if the vehicle can safely navigate turns and intersections. Unit: centimeters

    *)
  8. length : IsolineTruckOptionsLengthLong.t option;
    (*

    The total vehicle length in centimeters. Used to avoid roads with length restrictions and determine if the vehicle can safely navigate turns. Unit: centimeters

    *)
  9. licensePlate : IsolineVehicleLicensePlate.t option;
    (*

    License plate information used in regions where road access or routing restrictions are based on license plate numbers.

    *)
  10. maxSpeed : IsolineTruckOptionsMaxSpeedDouble.t option;
    (*

    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. Unit: kilometers per hour

    *)
  11. occupancy : IsolineTruckOptionsOccupancyInteger.t option;
    (*

    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. Default value: 1

    *)
  12. payloadCapacity : WeightKilograms.t option;
    (*

    The maximum cargo weight in kilograms that the vehicle (including attached trailers) is rated to carry. Unit: kilograms

    *)
  13. tireCount : IsolineTruckOptionsTireCountInteger.t option;
    (*

    The total number of tires on the vehicle.

    *)
  14. trailer : IsolineTrailerOptions.t option;
    (*

    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.

    *)
  15. truckType : IsolineTruckType.t option;
    (*

    The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations.

    *)
  16. tunnelRestrictionCode : TunnelRestrictionCode.t option;
    (*

    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

    *)
  17. weightPerAxle : WeightKilograms.t option;
    (*

    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. Unit: kilograms

    *)
  18. weightPerAxleGroup : WeightPerAxleGroup.t option;
    (*

    Specifies the total weight for different axle group configurations. Used in regions where regulations set different weight limits based on axle group types. Unit: kilograms

    *)
  19. width : IsolineTruckOptionsWidthLong.t option;
    (*

    The vehicle width in centimeters. Used to avoid routes with width restrictions. Unit: centimeters

    *)
}
Sourceval make : ?axleCount:??? -> ?engineType:??? -> ?grossWeight:??? -> ?hazardousCargos:??? -> ?height:??? -> ?heightAboveFirstAxle:??? -> ?kpraLength:??? -> ?length:??? -> ?licensePlate:??? -> ?maxSpeed:??? -> ?occupancy:??? -> ?payloadCapacity:??? -> ?tireCount:??? -> ?trailer:??? -> ?truckType:??? -> ?tunnelRestrictionCode:??? -> ?weightPerAxle:??? -> ?weightPerAxleGroup:??? -> ?width:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of IsolineTruckOptionsMaxSpeedDouble.t | `Enum of string | `Integer of IsolineTruckOptionsAxleCountInteger.t | `List of [> `Enum of string ] list | `Long of WeightKilograms.t | `String of TunnelRestrictionCode.t | `Structure of (string * [> `Integer of IsolineTrailerOptionsAxleCountInteger.t | `Long of WeightKilograms.t | `String of IsolineVehicleLicensePlateLastCharacterString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t