Click or drag to resize

Telogis.GeoBase.Routing.VehicleSpec

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

Used to describe a vehicle's specifications.

JavaScript
// Create a new vehicle specifications object
var VehSpec = new Telogis.GeoBase.Routing.VehicleSpec();

// Set some vehicle properties (weight, height, length, width etc.)
VehSpec.GrossWeight_kg = 30000; // 30 tonnes
VehSpec.Height_cm = 410; // 4.1 meters high
VehSpec.Length_cm = 1800; // 18 meters long
VehSpec.Width_cm = 260; // 2.6 meters wide

// Apply the VehicleSpec to a route --
// Routes will now be generated that are safe for a vehicle with
// the described specifications. For example, avoiding bridges
// that are too low or too narrow, or that cannot support the
// vehicle's weight
myRoute.setVehicleSpec(VehSpec);
Properties
NameTypeDescription
GrossWeight_kgNumber

Total weight of the vehicle (including fuel, cargo and passengers), measured in kilograms.

Height_cmNumber

Maximum height of the vehicle, measured in centimeters.

KingpinToEnd_cmNumber

Distance from the kingpin to the end of the trailer, measured in centimeters.

KingpinToLastAxle_cmNumber

Distance from the kingpin to the last trailer axle, measured in centimeters.

KingpinToMiddleOfLastTandem_cmNumber

Distance from the kingpin to the center of the last tandem axle, measured in centimeters.

Length_cmNumber

Maximum length of the vehicle, measured in centimeters.

LoadArray

Loads carried by this vehicle.

LoadCountNumber

Number of Loads carried by this vehicle.

LoadLengthNumber

Maximum number of allowed loads.

MaxAxleWeight_kgNumber

Maximum (distributed) weight supported by an axle, measured in kilograms.

MaxTandemAxleWeight_kgNumber

Maximum (distributed) weight supported by a tandem axle, measured in kilograms.

MaxTrailerLength_cmNumber

Maximum length of the trailer, measured in centimeters.

MaxTridemAxleWeight_kgNumber

Maximum (distributed) weight supported by a tridem axle, measured in kilograms.

NumberOfAxlesNumber

Total number of axles on this vehicle (including trailers).

NumberOfAxlesOnTrailersNumber

Sum total of the number of axles on each trailer.

NumberOfTrailersNumber

Total number of trailers pulled by this vehicle.

NumberOfWheelsNumber

Total number of wheels on this vehicle.

TractorLength_cmNumber

Maximum length of the tractor, measured in centimeters.

UnladenWeight_kgNumber

Unladen (without cargo) weight of the vehicle, measured in kilograms.

VehicleTypeNumber

Classification of this vehicle:null, as a Routing.VehicleType.

WeightPerInchWidthOfTire_kgNumber

Maximum weight per inch of width of tire. This is a measure of the maximum pressure exterted by this vehicle onto the road surface.

Width_cmNumber

Maximum width of the vehicle, measured in centimeters.