Trip Profiles
Trip Profile
This object define the parameters used during trip or distance matrix calculation.
See TripProfile
definition under Schemas/TripProfile in MCDI OpenAPI Documentation.
Example of Trip Profile
{
"name": "Standard",
"description": "Standard Trip profile for North Area",
"roadMapName": "FRA202309",
"speedPreferences": [
{
"category": "MOTORWAY_SPEED",
"speed": 130,
"preferenceIndicator": 50
}
],
"avoidTolls": true,
"avoidBoatLinks": true,
"minimalDistance": 100,
"minimalDuration": 60,
"calculationMode": "THE_FASTEST",
"truckAttributes": {
"weight": 44,
"weightPerAxle": 5,
"length": 12,
"lengthPerAxle": 6,
"width": 2.5,
"height": 2.8,
"explosive": 0,
"pollutant": 0,
"dangerous": 0,
"goods": true,
"passengers": false,
"tunnel": false,
"bridge": false
},
"useVariableSpeed": true,
"withTurnRestrictions": false,
"useBiDirectionnalSites": true,
"useOncoming": false,
"circulationZoneNames": [],
"resolutionMode": "EXACT"
}
Info
speedPreferences
property is a list of Speed Preference
Info
truckAttributes
define the attributes to be used for calculation.
Speed Preference
This object describes average speed and preference per road type.
See SpeedPreference
definition under Schemas/SpeedPreference in MCDI OpenAPI Documentation.
Example of Speed Preference
{
"category": "MOTORWAY_SPEED",
"speed": 130,
"preferenceIndicator": 50
}
Truck Attributes
This object describes attributes for a truck.
See TruckAttributes
definition under Schemas/TruckAttributes in MCDI OpenAPI Documentation.
Example of Truck Attributes
{
"weight": 44,
"weightPerAxle": 5,
"length": 12,
"lengthPerAxle": 6,
"width": 2.5,
"height": 2.8,
"explosive": 0,
"pollutant": 0,
"dangerous": 0,
"goods": true,
"passengers": false,
"tunnel": false,
"bridge": false
}