Overzicht van de teruggaveparameters
{ "routingId": "routeplanning1", //identifier of the usecase, should always be "routeplanning1" "routes": [ { "containsMotorways": true, //Flag that indicates if the route contains a motorway "drivingTime": 6730, //driving time for the whole route [s] "normDrivingTime": 6730, //normalized driving time (product-dependent) [s] "itineraryItems": [ // itinerary related data, one or more objects to follow { //1st itinerary item "country": "DE", //country, e.g. DE, FR, ... "detailLevel": "STOP_OFF", //the detail level of the itinerary item [BORDERS, VERYIMPORTANT, Standard, LESSIMPORTANT, ALL, STOP_OFF, BREAK_ON_ROAD, REST_ON_ROAD] "timeStamp": 1551283200, //the timestamp for this itinerary item (unix time code) "travelTime": 0, //time the trip took so far [s] "distance": 0, //distance the trip took so far [m] "differentialDistance": 0, //The differential distance to the itinearay item before [m] "desc": "D 76131 Karlsruhe Oststadt, Stumpfstr. 1 [08:00 - 17:00] ", //A string describing the maneuver or the stop-off "stopOffIndex": 0, //The index of the item, -1 for any non stop-off items "roadClass": "NONE", //class of the road [Motorway, Highway, TrunkRoad, CountryRoad, CityRoad, ResidentialRoad, SpecialRoad, CycleAndWalkway, NONE] "roadClassNextSegment": "NONE", //as above "turnOrient": "Straight", //orientation of the turn, if applicable [Straigt, Left, Right] "turnWeight": "Normal", //Weight of the maneuver. In combination with turnOrient this gives an information like "half left" or "strong right" [Normal, Half, Strong] "maneuverType": "Further", //Type of the maneuver [Further, Keep, Turn, Uturn, Enter, Exit, EnterRoundabout, StayInRoundabout, ExitRoundabout, ChangeHighway, EnterFerry, ExitFerry, ExitRoundaboutEnter, ExitRoundaboutEnterFerry] "comment": "PTV Planung Transport Verkehr GmbH" //optional comment }, { //2nd itinerary item, description as above "country": "DE", "detailLevel": "Standard", "timeStamp": 1551283266, "travelTime": 66, "distance": 253, "differentialDistance": 252, "desc": "turn left onto Hirtenweg", "stopOffIndex": -1, "streetName": "Albert-Nestler-Straße", "roadClass": "NONE", "roadClassNextSegment": "NONE", "turnOrient": "Left", "turnWeight": "Normal", "maneuverType": "Turn" } //// more itinerary items are following here optionally ], "departureTime": 1551283200, //The departure time (unix time stamp) "arrivalTime": 1551616638, //The arrival time (unix time stamp) "localDepartureTime": 1551283200, //The departure time (local time) (unix time stamp) "localArrivalTime": 1551616638, //The arrival time (local time) (unix time stamp) "boundingBox": { // the geographical bounding box of the route (WGS84) "minX": 8.3150438767, "minY": 48.860014921, "maxX": 8.584122403, "maxY": 49.020308285 }, "countryInfos": [ //country related toll data with leg/stage based detail level { "country": "DE", //country of this leg "localCurrency": "EUR", //currency of the country "totalTollCostsLocal": 3.87, //sum of total toll costs within tthe current country in local currency "currency": "EUR", //currency of the application "tollCostInfos": [ //toll costs related detailed data { "fromStation": { "iD": 200008616, "name": "B10 Karlsruhe, Kapellenstraße", "coordinate": { "lat": 49.006152077, "lon": 8.4118014178 } }, "toStation": { "iD": 200008615, "name": "B10 Karlsruhe, Rüppurer Tor", "coordinate": { "lat": 49.006095331, "lon": 8.4104605668 } }, "sectionID": 23075, "providerID": 2, "distance": 100, "localCurrency": "EUR", "costs": 0.02, "currency": "EUR", "isExtraToll": false, "description": "B10 Karlsruhe, Kapellenstraße", "streetName": "B10", "internalId": "bf4968c9-0218-4daf-91d5-9e79572bc11b", "costsLocal": 0.02, "waypointIndex": 0 } //////////////////////////////////////////////////// // [...] // more stations are following optionally here ], "extraTollCostInfos": [], //The detailed extra toll cost info of the route "scenarioId": 2, //active toll szenario id "tollCollectVias": [ //Toll Collect via-points [ { "node": "B10 Karlsruhe, Kapellenstraße", "road": "B10" }, { "node": "B10 Karlsruhe, Adlerstraße", "road": "B10" } ], // [...] ], "motorwayTollDistance": 17600, //toll distance on motorways [m] "motorwayTollCosts": 3.49, //toll costs on motorways "trunkRoadTollDistance": 1900, //toll distance on trunk roads [m] "trunkRoadTollCosts": 0.38, //toll costs on trunk roads "breakPeriod": 0, //break period in this country [s] "restPeriod": 0, //rest period in this country [s] "servicePeriod": 286200, //service period in this country [s] "drivingTime": 6739, //driving time in this country [s] "waitingTime": 40507, //waiting time in this country [s] "tollCosts": 3.87, //added toll costs in this country "extraDutyCosts": 0, //added extra duty costs in this country "totalTollCosts": 3.87, //total toll costs (inkl. extraTollCosts (optional)) in this country "totalDistance": 67813, //driving distance in this country [m] "wayCosts": 678.1, //way costs in this country "totalCosts": 1793.37, //total costs in this country "totalTime": 333438, //total travel time in this country [s] "routeCosts": 678.1, //total costs of the route in this country "tollDistance": 19500, //total toll distance in this country [m] "unloadenDistance": 0, //distance of an empty run of this route in this country (if applicable) [m] "salaryCosts": { //salary costs in this country "drivingTimeCosts": 22.4, "serviceTimeCosts": 954, "breakTimeCosts": 0, "restTimeCosts": 0, "waitingTimeCosts": 135, "totalSalaryCosts": 1111.4, "additionalGrossWage": 0 } } ], "stageInfos": [ //represents the toll costs of a stage/leg { "countryInfos": [ { "country": "DE", "scenarioId": 2, "localCurrency": "EUR", "currency": "EUR", "totalTollCostsLocal": 0.04, "tollCosts": 0.04, "totalTollCosts": 0.04, "totalDistance": 4575, "wayCosts": 45.8, "totalCosts": 45.84, "totalTime": 5712, "routeCosts": 45.8, "tollDistance": 620 } ], "tollCosts": 0.04, "totalTollCosts": 0.04, "totalDistance": 4575, "wayCosts": 45.8, "totalCosts": 45.84, "totalTime": 852, "routeCosts": 45.8, "tollDistance": 200 }, { "countryInfos": [ { "country": "DE", "scenarioId": 2, "localCurrency": "EUR", "currency": "EUR", "totalTollCostsLocal": 1.47, "tollCosts": 1.47, "totalTollCosts": 1.47, "totalDistance": 28341, "wayCosts": 283.4, "totalCosts": 284.87, "totalTime": 189042, "routeCosts": 283.4, "tollDistance": 7744 } ], "tollCosts": 1.47, "totalTollCosts": 1.47, "totalDistance": 28341, "wayCosts": 283.4, "totalCosts": 284.87, "totalTime": 189042, "routeCosts": 283.4, "tollDistance": 7400 }, { "countryInfos": [ { "country": "DE", "scenarioId": 2, "localCurrency": "EUR", "currency": "EUR", "totalTollCostsLocal": 2.36, "tollCosts": 2.36, "totalTollCosts": 2.36, "totalDistance": 34897, "wayCosts": 349, "totalCosts": 351.36, "totalTime": 143544, "routeCosts": 349, "tollDistance": 12573 } ], "tollCosts": 2.36, "totalTollCosts": 2.36, "totalDistance": 34897, "wayCosts": 349, "totalCosts": 351.36, "totalTime": 143544, "routeCosts": 349, "tollDistance": 11900 } ], "wageCountryInfo": [ //represents information about the minimum wage per country and section { "country": "DE", "drivingPeriod": 6731, "servicePeriod": 286200, "waitingTime": 40507, "totalWorkingPeriod": 333438, "crossBorderEntryTime": "2019-02-27T14:39:00.0000000+00:00", "crossBorderExitTime": "2019-03-03T12:37:18.0000000+00:00", "minimumWage": { //minimum wage related data "id": "STANDARD_DE", "country": "DE", "name": "Deutschland", "lastUpdate": "2019-01-24T00:00:00.0000000+01:00", "validFrom": "2019-01-01T00:00:00.0000000+01:00", "active": true, "driverMinimumWage": 9.19, "coDriverMinimumWage": 9.19, "currency": "EUR", "pickupOrDelivery": true, "cabotage": true, "transit": true, "announcement": true, "uRL": "https://www.meldeportal-mindestlohn.de" }, "transportType": "PICKUPORDELIVERY", "driver": { "baseGrossWagePerHour": 12, "additionalGrossWagePerHour": 0, "totalGrossWagePerHour": 12, "baseGrossWagePerDriver": 1111.4, "additionalGrossWagePerDriver": 0, "totalGrossWagePerDriver": 1111.4 }, "stopOff": [ { "coordinate": { "lat": 49.020339575687, "lon": 8.4410325931532 }, "oldIndex": 0, "newIndex": 0, "stayMinutes": 0, "stayHours": 0, "fuzzyRadius": 0, "timeWindows": [ { "beginHour": 0, "beginMinute": 0, "endHour": 0, "endMinute": 0, "begin": 25200, "end": 57600, "fixTimeWindow": false, "date": 0 } ], "loadAdd": 0, "loadRemove": 0, "loadTrc": "UNCHANGED", "description": "D 76131 Karlsruhe Oststadt, Stumpfstr. 1 [08:00 - 17:00]", "layer": "town", "id": "", "comment": "PTV Planung Transport Verkehr GmbH", "country": "DE", "completeServiceInIntervals": false, "cost": 0, "costComment": "", "minimumWageType": "PICKUPORDELIVERY" }, { "coordinate": { "lat": 48.99965, "lon": 8.39735 }, "oldIndex": 0, "newIndex": 1, "stayMinutes": 45, "stayHours": 51, "fuzzyRadius": 0, "loadAdd": 0, "loadRemove": 0, "loadTrc": "UNCHANGED", "description": "D Karlsruhe / Südweststadt, Bahnhofstraße", "layer": "town", "id": "", "comment": "Second Station", "country": "DE", "completeServiceInIntervals": false, "cost": 0, "costComment": "", "minimumWageType": "PICKUPORDELIVERY" }, { "coordinate": { "lat": 48.86092, "lon": 8.5648 }, "oldIndex": 0, "newIndex": 2, "stayMinutes": 45, "stayHours": 27, "fuzzyRadius": 0, "timeWindows": [ { "beginHour": 0, "beginMinute": 0, "endHour": 0, "endMinute": 0, "begin": 28800, "end": 61200, "fixTimeWindow": false, "date": 0 } ], "loadAdd": 0, "loadRemove": 0, "loadTrc": "UNCHANGED", "description": "D 75305 Neuenbürg / Arnbach, Ottenhäuser Straße 12 [09:00 - 18:00]", "layer": "town", "id": "", "comment": "Customer 0815", "country": "DE", "completeServiceInIntervals": false, "cost": 0, "costComment": "", "minimumWageType": "PICKUPORDELIVERY" }, { "coordinate": { "lat": 48.97613, "lon": 8.31513 }, "oldIndex": 0, "newIndex": 3, "stayMinutes": 0, "stayHours": 0, "fuzzyRadius": 0, "loadAdd": 0, "loadRemove": 0, "loadTrc": "UNCHANGED", "description": "D Rheinstetten / Forchheim, Friedrich-Ebert-Straße 54", "layer": "town", "id": "", "comment": "Fourth Station", "country": "DE", "completeServiceInIntervals": false, "cost": 0, "costComment": "", "minimumWageType": "PICKUPORDELIVERY" } ] } ], "showMinimumWageStopOffDialog": false, //system internal value, don't use "emissionsComposite": { //vehicle emission related data "totalEmissions": { //total emissions of the route "distance": 67813, //The distance in [m] for aggregated emissions (urban emissions, non urban emissions, etc) "hydrocarbons": 9.02, //hydrocarbons [g] "methane": 0.22, //methane [g] "hydrocarbonsExMethane": 8.81, //hydrocarbons except for methane [g] "carbonMonoxide": 45.04, //carbon monoxide [g] "carbonDioxide": 85.82, //carbon dioxide [g] "sulphurDioxide": 0.43, //sulphur dioxide [g] "nitrogenOxides": 373.43, //nitrogen oxides [g] "nitrousOxide": 4.15, //nitrous oxide [g] "ammonia": 0.2, //ammonia [g] "particles": 3.79, //particles "fuel": 27, //petrol/fuel [kg] "consumption": 32.53, //petrol/fuel consumption in [l] or [gal] "standardConsumption": 47.96, //the consumption in [l/100km] or [MPG] "nitrogenDioxide": 78.42, //nitrogen dioxide [g] "particleNumber": 8.60586949092459E+15, //particle number "cO2e": 87.06 //HBEFA related total CO2 equivalent emissions [kg] }, "routeOrientatedEmissions": [ //emissions for each leg { "distance": 0, "hydrocarbons": 0, "methane": 0, "hydrocarbonsExMethane": 0, "carbonMonoxide": 0, "carbonDioxide": 0, "sulphurDioxide": 0, "nitrogenOxides": 0, "nitrousOxide": 0, "ammonia": 0, "particles": 0, "fuel": 0, "consumption": 0, "standardConsumption": 0, "nitrogenDioxide": 0, "particleNumber": 0, "cO2e": 0 }, //more entries for each stage/leg may follow here ] }, "emissionsCEN": { //emission data related to Décret n° 2017-639 "biofuelPercent": 1, "cENValues": { "distance": 67813, "energyUseTank2Wheel": 1163.04, "energyUseWell2Wheel": 1392.9, "energyUseWell2Tank": 229.86, "cO2Tank2Wheel": 85.71, "cO2Well2Wheel": 104.63, "cO2Well2Tank": 18.92, "fuelConsumption": 27 }, "cENValuesPerSection": [ { "distance": 0, "energyUseTank2Wheel": 0, "energyUseWell2Wheel": 0, "energyUseWell2Tank": 0, "cO2Tank2Wheel": 0, "cO2Well2Wheel": 0, "cO2Well2Tank": 0, "fuelConsumption": 0 }, { "distance": 4575, "energyUseTank2Wheel": 88.47, "energyUseWell2Wheel": 105.96, "energyUseWell2Tank": 17.49, "cO2Tank2Wheel": 6.52, "cO2Well2Wheel": 7.96, "cO2Well2Tank": 1.44, "fuelConsumption": 2.05 }, { "distance": 28341, "energyUseTank2Wheel": 558.79, "energyUseWell2Wheel": 669.22, "energyUseWell2Tank": 110.43, "cO2Tank2Wheel": 41.18, "cO2Well2Wheel": 50.27, "cO2Well2Tank": 9.09, "fuelConsumption": 12.97 }, { "distance": 34897, "energyUseTank2Wheel": 515.78, "energyUseWell2Wheel": 617.72, "energyUseWell2Tank": 101.94, "cO2Tank2Wheel": 38.01, "cO2Well2Wheel": 46.4, "cO2Well2Tank": 8.39, "fuelConsumption": 11.98 } ], "cENFactors0": { "distance": 0, "energyUseTank2Wheel": 35.9, "energyUseWell2Wheel": 42.7, "energyUseWell2Tank": 6.8, "cO2Tank2Wheel": 2.67, "cO2Well2Wheel": 3.24, "cO2Well2Tank": 0.57, "fuelConsumption": 0 }, "cENFactors100": { "distance": 0, "energyUseTank2Wheel": 32.8, "energyUseWell2Wheel": 68.5, "energyUseWell2Tank": 35.7, "cO2Tank2Wheel": 0, "cO2Well2Wheel": 1.92, "cO2Well2Tank": 1.92, "fuelConsumption": 0 }, "cENFactorsBio": { "distance": 0, "energyUseTank2Wheel": 35.87, "energyUseWell2Wheel": 42.96, "energyUseWell2Tank": 7.09, "cO2Tank2Wheel": 2.64, "cO2Well2Wheel": 3.23, "cO2Well2Tank": 0.58, "fuelConsumption": 0 } }, "tourSummary": { //route summary "totalPeriod": 333438, "drivingPeriod": 6730, "waitingPeriod": 40507, "earliness": 40507, "servicePeriod": 286201, "idlePeriod": 0, "restPeriod": 0, "breakPeriod": 0, "latestTourStart": 1551286800, "remainingShiftPeriod": 0, "remainingWorkingHoursDuringShift": 0, "remainingDrivingTimeBeforeNextBreak": 0, "remainingBreakPeriod": 0 }, "emptyDrivePercent": 0, //total distance of empty run of this route (if applicable) [m] "tollCosts": 3.87, //total toll costs for this route "totalTollCosts": 3.87, //complete total toll costs for this route "totalDistance": 67813, //total distance for this route [m] "wayCosts": 678.1, //total way costs for this route "tirCountries": [], //system internal value, don't use "totalCosts": 1793.37, //total costs for this route "totalTime": 333438, //total travel time for this route [s] "routeCosts": 678.1, //total route costs for this route "tollDistance": 19500, //total toll distance for this route [m] "lowEmissionZoneViolation": true, //system internal value, don't use "salaryCosts": { //total salary related cost data "drivingTimeCosts": 22.4, "serviceTimeCosts": 954, "breakTimeCosts": 0, "restTimeCosts": 0, "waitingTimeCosts": 135, "totalSalaryCosts": 1111.4, "additionalGrossWage": 0 } } ], "boundingBoxOfAllAlternatives": { //geographical bounding box of this route and all alternative routes (if applicable) (WGS84) "minX": 8.3150438767, "minY": 48.860014921, "maxX": 8.584122403, "maxY": 49.020308285 }, "vehicleRelatedEmissions": { //vehicle related emission data "distance": 0, "hydrocarbons": 0, "methane": 0, "hydrocarbonsExMethane": 0, "carbonMonoxide": 0, "carbonDioxide": 0, "sulphurDioxide": 0, "nitrogenOxides": 0, "nitrousOxide": 0, "ammonia": 0, "particles": 0, "fuel": 0, "consumption": 0, "standardConsumption": 0, "nitrogenDioxide": 0, "particleNumber": 0, "cO2e": 0 } "vehicle":{ "name":"RemoteControl LKW", //name of the vehicle used for calculation "id":"af94b25c-6a91-4681-aba0-84867ab0a8d1" //id of the vehicle used for calculation } }