thank you very much for your response. Unfortunately, our problem is not about a 40t Truck. We get
costs for that.
Code: Select all
{
"$type":"RouteRequest",
"waypoints":[
{
"$type":"OffRoadWaypoint",
"location":{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x":7.5878101004,
"y":47.548801472
}
},
"tourStopOptions":{
"serviceTime":0.0
},
"name":"0"
},
{
"$type":"OffRoadWaypoint",
"location":{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x":9.1817798897,
"y":45.467960378
}
},
"tourStopOptions":{
"serviceTime":0.0
},
"name":"1"
}
],
"routeOptions":{
"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"
},
"geographicRestrictions":{
"allowedCountries":[
],
"prohibitedCountries":[
]
},
"emissionOptions":{
"valueScenarios":[
{
"$type":"EmissionValueScenario_HBEFA_3_2",
"scenarios":[
"CURRENT_ROUTE"
]
}
]
},
"currency":"EUR"
},
"resultFields":{
"waypoints":true,
"legs":{
"enabled":true
},
"segments":{
"enabled":true,
"descriptors":true,
"roadAttributes":true,
"id":true
},
"eventTypes":[
"COUNTRY_EVENT",
"TOLL_EVENT",
"ROUTE_VIOLATION_EVENT"
],
"polyline":true,
"toll":{
"enabled":true,
"sections":true,
"systems":true
},
"emissions":true,
"encodedPath":true
},
"requestProfile":{
"vehicleProfile":{
"engine":{
"cylinderCapacity":1500,
"fuelType":"GASOLINE",
"fuelConsumption":6.0,
"particleFilterInstalled":false,
"emissionStandardEU":"EURO_6",
"lowEmissionZoneTypes":"DE_GREEN"
},
"weight":{
"emptyWeight":1200.0,
"loadWeight":200.0,
"totalPermittedWeight":2000.0
},
"dimensions":{
"height":160.0,
"heightAboveFrontAxle":100.0,
"length":425.0,
"width":175.0
},
"legalCondition":{
"isEmergency":false,
"isDelivery":false
},
"load":{
"loadType":"PASSENGER"
},
"speeds":{
"speedRangesByNetworkClass":{
"maximumSpeeds":[
135.0,
125.0,
85.0,
60.0,
50.0,
40.0,
16.0,
6.0
],
"minimumSpeeds":[
70.0,
35.0,
25.0,
25.0,
20.0,
18.0,
9.0,
4.0
]
},
"maximumSpeed":150.0
},
"yearOfManufacture":2019,
"numberOfPassengers":2,
"numberOfTrailers":0
},
"featureLayerProfile":{
"themes":[
{
"id":"PTV_TruckAttributes",
"enabled":false
},
{
"id":"PTV_TruckSpeedPatterns",
"enabled":false
},
{
"id":"PTV_TrafficIncidents",
"enabled":false
}
]
},
"routingProfile":{
"linking":{
"maximumDistanceToSegment":10000.0
},
"course":{
"violations":{
"enabled":true
},
"network":{
},
"toll":{
},
"specialAreas":{
},
"combinedTransport":{
"boatPenalty":0,
"railPenalty":0
},
"distanceTimeWeighting":90.0
}
}
},
"coordinateFormat":"EPSG:4326"
}