Telogis.GeoBase.Routing.VehicleType |
Describes a type of vehicle. When applied to a route as a vehicle specification, routes suitable for the specified vehicle type will be generated. For example, Emergency vehicles will be routed using emergency vehicle lanes and directions; and Taxi, CarPool and Bus vehicle types will be routed along suitable restricted traffic lanes where available.
// Create a new vehicle specifications object var VehSpec = new Telogis.GeoBase.Routing.VehicleSpec(); // Set the vehicle type (tractor semi trailer) VehSpec.VehicleType = Telogis.GeoBase.Routing.VehicleType.TractorSemiTrailer; // Apply the VehicleSpec to a route -- // Routes will now be generated that are legal for the vehicle type myRoute.setVehicleSpec(VehSpec);
Name | Type | Description |
---|---|---|
All | Number | All vehicles |
AllButEmergency | Number | Any vehicle, except for an emergency vehicle |
Auto | Number | Automobile |
Bus | Number | Bus |
CarPool | Number | Car-pooling vehicle |
Default | Number | No specific vehicle type has been set. When applied to a Route, a VehicleType of Auto will actually be used. |
Emergency | Number | Emergency vehicle |
IntermediateDouble | Number | An intermediate-length truck with two trailers |
LongDouble | Number | A long truck with two trailers |
OtherLCV | Number | Other light commercial vehicle |
StandardDouble | Number | A truck with two trailers |
StraightTruck | Number | Straight truck (as opposed to a tractor/trailer combination) |
Taxi | Number | Taxi |
TractorSemiTrailer | Number | A tractor with a single trailer |
Triple | Number | A truck with three trailers |
Truck | Number | Truck, combination of the different truck types |
Unknown | Number | No information about this vehicle is available |