Ferry-Costs
Posted: Fri Jan 04, 2019 1:23 pm
Hello and happy new year,
maybe you can help me:
I have a routing with the use of a ferry - but I do not receive the costs for that ferry.
Where is my mistake (xroute / calculateAdvancedTour)?
Thanks in advance!
Max
maybe you can help me:
I have a routing with the use of a ferry - but I do not receive the costs for that ferry.
Where is my mistake (xroute / calculateAdvancedTour)?
Code: Select all
{
"waypoints": [
{
"$type": "TourPointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"servicePeriod": 100,
"useServicePeriodForRecreation": false,
"completeServiceInIntervals": true,
"openingIntervals": [],
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 788716.73418,
"y": 6704772.0515
}
}
]
},
{
"$type": "TourPointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"servicePeriod": 300,
"useServicePeriodForRecreation": false,
"completeServiceInIntervals": true,
"openingIntervals": [],
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": -83922.146986,
"y": 6800409.1771
}
}
]
}
],
"tourOptions": {
"restrictToSingleOperatingInterval": false
},
"routingOptions": [
{
"parameter": "EXCLUDE_COUNTRIES",
"value": "41"
},
{
"parameter": "OPTIMIZATION",
"value": "80"
},
{
"parameter": "AVOID_FERRIES",
"value": "-66"
},
{
"parameter": "SPEED_PROFILE",
"value": "90,50,70,40,60,40,40,20,30,10,20,5,6,6,1,1"
}
],
"exceptionPaths": [
{
"extSegments": "",
"street": "[Mülheimer Brücke]/[Leverkusener Brücke]/[Zoobrücke]/[Deutzer Brücke]",
"binaryPathDesc": "",
"relMalus": 2501,
"absTimeMalus": 0
}
],
"details": {
"manoeuvres": false,
"texts": false,
"nodes": false,
"binaryPathDesc": false,
"polygon": true,
"detailLevel": "STANDARD",
"dynamicInfo": false,
"segments": false,
"segmentAttributes": false,
"manoeuvreAttributes": false,
"brunnelManoeuvres": false,
"urbanManoeuvres": false,
"manoeuvreGroups": false,
"manoeuvreGroupRatio": 1,
"tollManoeuvres": false,
"boundingRectanglesC": 5,
"boundingRectanglesOffset": 300,
"totalRectangle": false
},
"countryInfoOptions": {
"$type": "CountryInfoVehicleOptions",
"detailedTollCosts": false,
"allEuro": true,
"tollDate": "2019-01-11T16:00:00+02:00",
"calculatePartTollCosts": false,
"options": [
{
"parameter": "TYPE",
"value": "TRL"
},
{
"parameter": "TOTAL_WEIGHT",
"value": "35000"
},
{
"parameter": "NUMBER_OF_AXLES",
"value": "5"
},
{
"parameter": "EMISSION_CLASS",
"value": "EURO_6"
}
]
},
"callerContext": {
"properties": [
{
"key": "ResponseGeometry",
"value": "PLAIN"
},
{
"key": "CoordFormat",
"value": "PTV_MERCATOR"
},
{
"key": "Profile",
"value": "truckfast"
}
]
}
}
Max