{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"📦 TraceRoute - routingVehicleProfile Detailed Usage","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"traceroute_routingVehicleProfile_tutorial"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-traceroute---routingvehicleprofile-detailed-usage","__idx":0},"children":["📦 TraceRoute - routingVehicleProfile Detailed Usage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]}," object in the TraceRoute API to define the physical and legal characteristics of the vehicle. These features influence route calculation, especially regarding ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["height"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["weight"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["hazardous materials"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["access restrictions"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-purpose--control-routing-with-vehicle-characteristics","__idx":1},"children":["🚀 Purpose – Control routing with vehicle characteristics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use case"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You want the route to avoid restricted roads or infrastructure based on the vehicle's height, weight, or hazardous cargo. For example:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A truck should avoid low tunnels."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A vehicle carrying hazardous materials must avoid restricted roads."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A large vehicle should avoid narrow lanes or bridges with weight limits."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["💡 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What it does"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]}," affects how the trace is matched to the road network:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["transportMode"]}," tells the system how to interpret movement patterns (e.g., car vs pedestrian)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["routingVehicleFeature"]}," contains legal and physical specs (height, weight, hazardous material) used for more precise trace correction"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["routingEnergyVehicleFeature"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["maxSpeeds"]}," are ignored in TraceRoute"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["🔧 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How to enable"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]}," object with at least the required field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode"]},". For trucks or restricted vehicles, also define ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]},"."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode"]},": e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CAR"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRUCK"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]},": object with vehicle characteristics."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Optionally, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxSpeeds"]}," if you want to define a speed limit per use case."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["📦 Example 1 – Car with basic dimensions"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"routingVehicleProfile\": {\n  \"transportMode\": \"CAR\",\n  \"routingVehicleFeature\": {\n    \"height\": 160,\n    \"width\": 180,\n    \"length\": 420,\n    \"weight\": 1500\n  }\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"traceroute_maxSpeeds_tutorial"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-maxspeeds--define-vehicle-speed-limitations","__idx":2},"children":["🚀 maxSpeeds – Define vehicle speed limitations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to use the maxSpeeds field in the routingVehicleProfile object of the TraceRoute API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use case"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You want to simulate a vehicle that is limited to a specific speed for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["route calculation"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ETA estimation"]},", or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["both"]},". This is useful for:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Modeling trucks or buses with legal speed limits."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Reflecting realistic average speeds for planning."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enforcing internal policies or safety constraints."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["💡 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What it does"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxSpeeds"]}," field lets you declare one or more max speed limits for the vehicle, and specify when that speed should apply:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ALL"]},": Applies for both route path and ETA."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CAL"]},": Affects only the route calculation path."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ETA"]},": Affects only the time estimation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["🔧 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How to enable"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxSpeeds"]}," array to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]},". Each entry must include:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxSpeed"]}," (in km/h)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ALL"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CAL"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ETA"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"routingVehicleProfile\": {\n  \"maxSpeeds\": [\n    {\n      \"maxSpeed\": 80,\n      \"type\": \"ALL\"\n    }\n  ],\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["📦 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example"]}," ","Here's a full TraceRoute request using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxSpeeds"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"routingVehicleProfile\": {\n    \"transportMode\": \"CAR\",\n    \"maxSpeeds\": [\n      {\n        \"maxSpeed\": 80,\n        \"type\": \"ALL\"\n      }\n    ],\n    \"routingVehicleFeature\": {\n      \"height\": 160,\n      \"width\": 180,\n      \"length\": 420,\n      \"weight\": 1500\n    }\n  },\n  \"options\": [\"ROUTESHEET\", \"POLYLINE\"],\n  \"destinations\" : [\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.066,\n                \"lat\" : 43.616,\n                \"heading\" : 17.6,\n                \"speed\" : 23.1,\n                \"time\" : 1396241966000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0664,\n                \"lat\" : 43.6162,\n                \"heading\" : 95.0,\n                \"speed\" : 29.3,\n                \"time\" : 1396241972000,\n                \"sat\" : 11\n            }\n        },\n                {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0786,\n                \"lat\" : 43.6153,\n                \"heading\" : 119.0,\n                \"speed\" : 61.9,\n                \"time\" : 1396242062000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0805,\n                \"lat\" : 43.6147,\n                \"heading\" : 200.9,\n                \"speed\" : 50.6,\n                \"time\" : 1396242077000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0785,\n                \"lat\" : 43.6117,\n                \"heading\" : 115.8,\n                \"speed\" : 38.1,\n                \"time\" : 1396242104000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0787,\n                \"lat\" : 43.6118,\n                \"heading\" : 15.6,\n                \"speed\" : 26.0,\n                \"time\" : 1396242107000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0793,\n                \"lat\" : 43.6128,\n                \"heading\" : 76.0,\n                \"speed\" : 26.6,\n                \"time\" : 1396242128000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0814,\n                \"lat\" : 43.6116,\n                \"heading\" : 269.9,\n                \"speed\" : 5.6,\n                \"time\" : 1396242172000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0811,\n                \"lat\" : 43.6117,\n                \"heading\" : 338.7,\n                \"speed\" : 7.5,\n                \"time\" : 1396242182000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0812,\n                \"lat\" : 43.6119,\n                \"heading\" : 47.3,\n                \"speed\" : 14.9,\n                \"time\" : 1396241966000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0815,\n                \"lat\" : 43.6119,\n                \"heading\" : 127.1,\n                \"speed\" : 8.5,\n                \"time\" : 1396242198000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0816,\n                \"lat\" : 43.6118,\n                \"heading\" : 0.0,\n                \"speed\" : 0.0,\n                \"time\" : 1396242288000,\n                \"sat\" : 11\n            }\n        }\n    ]\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"usedDestinations\": [\n    {\n      \"inputOrder\": 0,\n      \"used\": true,\n      \"usedOrder\": 0,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.06602,\n        \"lat\": 43.61618\n      },\n      \"confidenceValue\": 0.07689281992526473,\n      \"distanceFromRequest\": 20.1,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 1,\n      \"used\": true,\n      \"usedOrder\": 1,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.066398283397998,\n        \"lat\": 43.616205\n      },\n      \"confidenceValue\": 0.09921131156872807,\n      \"distanceFromRequest\": 0.56,\n      \"polylineIndex\": -1,\n      \"duration\": 4,\n      \"length\": 31\n    },\n    {\n      \"inputOrder\": 2,\n      \"used\": true,\n      \"usedOrder\": 2,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.078628713869563,\n        \"lat\": 43.61534125\n      },\n      \"confidenceValue\": 0.5117017827481006,\n      \"distanceFromRequest\": 5.14,\n      \"polylineIndex\": -1,\n      \"duration\": 121,\n      \"length\": 1128\n    },\n    {\n      \"inputOrder\": 3,\n      \"used\": true,\n      \"usedOrder\": 3,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.080403748959592,\n        \"lat\": 43.6147275\n      },\n      \"confidenceValue\": 0.22820475819113992,\n      \"distanceFromRequest\": 8.34,\n      \"polylineIndex\": -1,\n      \"duration\": 143,\n      \"length\": 1324\n    },\n    {\n      \"inputOrder\": 4,\n      \"used\": true,\n      \"usedOrder\": 4,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07845,\n        \"lat\": 43.61179\n      },\n      \"confidenceValue\": 0.1539186659438396,\n      \"distanceFromRequest\": 10.8,\n      \"polylineIndex\": -1,\n      \"duration\": 179,\n      \"length\": 1718\n    },\n    {\n      \"inputOrder\": 5,\n      \"used\": true,\n      \"usedOrder\": 5,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07866,\n        \"lat\": 43.61185\n      },\n      \"confidenceValue\": 0.16108117941441358,\n      \"distanceFromRequest\": 6.43,\n      \"polylineIndex\": -1,\n      \"duration\": 181,\n      \"length\": 1737\n    },\n    {\n      \"inputOrder\": 6,\n      \"used\": true,\n      \"usedOrder\": 6,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.079378967392794,\n        \"lat\": 43.6128575\n      },\n      \"confidenceValue\": 0.27133317856160843,\n      \"distanceFromRequest\": 9.03,\n      \"polylineIndex\": -1,\n      \"duration\": 199,\n      \"length\": 1895\n    },\n    {\n      \"inputOrder\": 7,\n      \"used\": true,\n      \"usedOrder\": 7,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.1558036422356276,\n      \"distanceFromRequest\": 20.37,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 8,\n      \"used\": true,\n      \"usedOrder\": 8,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.15467894682254785,\n      \"distanceFromRequest\": 6.54,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 9,\n      \"used\": true,\n      \"usedOrder\": 9,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.1844632357817026,\n      \"distanceFromRequest\": 23.43,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 10,\n      \"used\": true,\n      \"usedOrder\": 10,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081303332134546,\n        \"lat\": 43.61164\n      },\n      \"confidenceValue\": 0.1586887555888732,\n      \"distanceFromRequest\": 33,\n      \"polylineIndex\": -1,\n      \"duration\": 229,\n      \"length\": 2102\n    },\n    {\n      \"inputOrder\": 11,\n      \"used\": true,\n      \"usedOrder\": 11,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081771510364167,\n        \"lat\": 43.6116975\n      },\n      \"confidenceValue\": 0.18750892219842968,\n      \"distanceFromRequest\": 17.92,\n      \"polylineIndex\": -1,\n      \"duration\": 243,\n      \"length\": 2151\n    }\n  ],\n  \"routingRoutes\": [\n    {\n      \"length\": 2151,\n      \"duration\": 243,\n      \"trafficDelay\": 0,\n      \"averageSpeed\": 31.866667,\n      \"maximumSpeed\": 80,\n      \"startUTurnThreshold\": 3000,\n      \"routingInstructions\": [\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 389,\n          \"duration\": 37,\n          \"fromName\": \"Route des Lucioles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07047,\n            \"lat\": 43.61731\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"Carrefour du Golf\",\n          \"toOn\": \"Carrefour du Golf\",\n          \"textDist\": \"At 389 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 49,\n          \"duration\": 11,\n          \"fromName\": \"Carrefour du Golf\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07093,\n            \"lat\": 43.61741\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 49 meters\",\n          \"text\": \"From Route des Lucioles at roundabout take 2nd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 223,\n          \"duration\": 20,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07357,\n            \"lat\": 43.61703\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"Carrefour Saint-Philippe\",\n          \"toOn\": \"Carrefour Saint-Philippe\",\n          \"textDist\": \"At 223 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 104,\n          \"duration\": 29,\n          \"fromName\": \"Carrefour Saint-Philippe\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07463,\n            \"lat\": 43.61674\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 104 meters\",\n          \"text\": \"From Route des Colles at roundabout take 3rd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 513,\n          \"duration\": 39,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08045,\n            \"lat\": 43.61509\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"Carrefour des Chappes\",\n          \"toOn\": \"Carrefour des Chappes\",\n          \"textDist\": \"At 513 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 8,\n          \"duration\": 3,\n          \"fromName\": \"Carrefour des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08053,\n            \"lat\": 43.61505\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 8 meters\",\n          \"text\": \"From Route des Colles at roundabout take 1st exit on D535\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 361,\n          \"duration\": 26,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07845,\n            \"lat\": 43.61221\n          },\n          \"roundAboutExitNumber\": 4,\n          \"textDist\": \"At 361 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 122,\n          \"duration\": 20,\n          \"manoeuvre\": \"BEAR_RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07869,\n            \"lat\": 43.61212\n          },\n          \"roundAboutExitNumber\": 4,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 122 meters\",\n          \"text\": \"From Route des Chappes at roundabout take 4th exit on D535\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 107,\n          \"duration\": 9,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07921,\n            \"lat\": 43.61298\n          },\n          \"roundAboutExitNumber\": 0,\n          \"toName\": \"Allée Charles-Victor Naudin\",\n          \"toOn\": \"Allée Charles-Victor Naudin\",\n          \"textDist\": \"At 107 meters\",\n          \"text\": \"From Route des Chappes make a right turn on Allée Charles-Victor Naudin\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 246,\n          \"duration\": 35,\n          \"fromName\": \"Allée Charles-Victor Naudin\",\n          \"manoeuvre\": \"LEFT\",\n          \"coordinate\": {\n            \"lon\": 7.08151,\n            \"lat\": 43.61153\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 246 meters\",\n          \"text\": \"From Allée Charles-Victor Naudin make a left turn\"\n        },\n        {\n          \"type\": \"STOP\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 29,\n          \"duration\": 12,\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08177,\n            \"lat\": 43.6117\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 29 meters\",\n          \"text\": \"Destination reached\"\n        }\n      ],\n      \"boundingBox\": {\n        \"minLon\": 7.06602,\n        \"minLat\": 43.61153,\n        \"maxLon\": 7.081771510364167,\n        \"maxLat\": 43.6175\n      },\n      \"startStopInfo\": {\n        \"start\": {\n          \"lon\": 7.06602,\n          \"lat\": 43.61618\n        },\n        \"stop\": {\n          \"lon\": 7.08177,\n          \"lat\": 43.6117\n        },\n        \"distanceFirstMatched\": 0,\n        \"distanceLastMatched\": 0.28,\n        \"interDests\": null\n      },\n      \"polyline\": [\n        {\n          \"lon\": 7.06602,\n          \"lat\": 43.61618\n        },\n"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ Used to simulate a max speed limit of 80 km/h for both route and ETA calculation."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"traceroute_routingEnergyVehicleFeature_tutorial"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-routingenergyvehiclefeature--define-energy-parameters-of-the-vehicle","__idx":3},"children":["🔋 routingEnergyVehicleFeature – Define energy parameters of the vehicle"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to use the routingEnergyVehicleFeature field in the routingVehicleProfile object of the TraceRoute API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use case"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You want to provide physical and energy-related properties of the vehicle to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Simulate more realistic energy consumption."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Anticipate SoC (state of charge) drops or limitations."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Match the profile of a specific EV model."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Even though ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TraceRoute"]}," doesn't calculate energy usage, this field can be stored for consistency or future compatibility, and some implementations may leverage it for internal analytics or post-processing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["💡 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What it does"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This field allows you to define detailed characteristics of an electric or hybrid vehicle, such as:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Battery capacity (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batCapacity"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Rolling resistance (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crr"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Weight (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dryWeight"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payload"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Efficiency (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["engineEfficiency"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Regenerative braking"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Outside temperature, frontal surface area (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["scx"]},"), etc."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["🔧 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How to enable"]}," ","Add a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingEnergyVehicleFeature"]}," block to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]},". Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"routingVehicleProfile\": {\n  \"transportMode\": \"CAR\",\n  \"routingEnergyVehicleFeature\": {\n    \"batCapacity\": 75,\n    \"payload\": 150,\n    \"dryWeight\": 1800,\n    \"engineEfficiency\": 0.88,\n    \"crr\": 0.012,\n    \"scx\": 0.64,\n    \"auxConsumption\": 800,\n    \"regenerativeBraking\": true,\n    \"extTemp\": 20.0\n  }\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["📦 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example"]}," ","Here is a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["working TraceRoute request"]}," including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingEnergyVehicleFeature"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"routingVehicleProfile\": {\n    \"transportMode\": \"CAR\",\n    \"routingEnergyVehicleFeature\": {\n      \"batCapacity\": 75,\n      \"payload\": 150,\n      \"dryWeight\": 1800,\n      \"engineEfficiency\": 0.88,\n      \"crr\": 0.012,\n      \"scx\": 0.64,\n      \"auxConsumption\": 800,\n      \"regenerativeBraking\": true,\n      \"extTemp\": 20.0\n    }\n  },\n  \"options\": [\"ROUTESHEET\", \"POLYLINE\"],\n    \"destinations\" : [\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.066,\n                \"lat\" : 43.616,\n                \"heading\" : 17.6,\n                \"speed\" : 23.1,\n                \"time\" : 1396241966000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0664,\n                \"lat\" : 43.6162,\n                \"heading\" : 95.0,\n                \"speed\" : 29.3,\n                \"time\" : 1396241972000,\n                \"sat\" : 11\n            }\n        },\n                {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0786,\n                \"lat\" : 43.6153,\n                \"heading\" : 119.0,\n                \"speed\" : 61.9,\n                \"time\" : 1396242062000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0805,\n                \"lat\" : 43.6147,\n                \"heading\" : 200.9,\n                \"speed\" : 50.6,\n                \"time\" : 1396242077000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0785,\n                \"lat\" : 43.6117,\n                \"heading\" : 115.8,\n                \"speed\" : 38.1,\n                \"time\" : 1396242104000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0787,\n                \"lat\" : 43.6118,\n                \"heading\" : 15.6,\n                \"speed\" : 26.0,\n                \"time\" : 1396242107000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0793,\n                \"lat\" : 43.6128,\n                \"heading\" : 76.0,\n                \"speed\" : 26.6,\n                \"time\" : 1396242128000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0814,\n                \"lat\" : 43.6116,\n                \"heading\" : 269.9,\n                \"speed\" : 5.6,\n                \"time\" : 1396242172000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0811,\n                \"lat\" : 43.6117,\n                \"heading\" : 338.7,\n                \"speed\" : 7.5,\n                \"time\" : 1396242182000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0812,\n                \"lat\" : 43.6119,\n                \"heading\" : 47.3,\n                \"speed\" : 14.9,\n                \"time\" : 1396241966000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0815,\n                \"lat\" : 43.6119,\n                \"heading\" : 127.1,\n                \"speed\" : 8.5,\n                \"time\" : 1396242198000,\n                \"sat\" : 11\n            }\n        },\n        {\n            \"coordinateSat\" : {\n                \"lon\" : 7.0816,\n                \"lat\" : 43.6118,\n                \"heading\" : 0.0,\n                \"speed\" : 0.0,\n                \"time\" : 1396242288000,\n                \"sat\" : 11\n            }\n        }\n    ]\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"usedDestinations\": [\n    {\n      \"inputOrder\": 0,\n      \"used\": true,\n      \"usedOrder\": 0,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.065868896076493,\n        \"lat\": 43.616005\n      },\n      \"confidenceValue\": 0.9892469222386688,\n      \"distanceFromRequest\": 10.58,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 1,\n      \"used\": true,\n      \"usedOrder\": 1,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.066398283397998,\n        \"lat\": 43.616205\n      },\n      \"confidenceValue\": 0.3377806566738217,\n      \"distanceFromRequest\": 0.56,\n      \"polylineIndex\": -1,\n      \"duration\": 19,\n      \"length\": 56\n    },\n    {\n      \"inputOrder\": 2,\n      \"used\": true,\n      \"usedOrder\": 2,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.078630440418273,\n        \"lat\": 43.61534125\n      },\n      \"confidenceValue\": 1,\n      \"distanceFromRequest\": 5.21,\n      \"polylineIndex\": -1,\n      \"duration\": 134,\n      \"length\": 1156\n    },\n    {\n      \"inputOrder\": 3,\n      \"used\": true,\n      \"usedOrder\": 3,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.080403748959592,\n        \"lat\": 43.6147275\n      },\n      \"confidenceValue\": 0.9910778137778522,\n      \"distanceFromRequest\": 8.34,\n      \"polylineIndex\": -1,\n      \"duration\": 156,\n      \"length\": 1352\n    },\n    {\n      \"inputOrder\": 4,\n      \"used\": true,\n      \"usedOrder\": 4,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07845,\n        \"lat\": 43.61179\n      },\n      \"confidenceValue\": 0.17461304514376935,\n      \"distanceFromRequest\": 10.8,\n      \"polylineIndex\": -1,\n      \"duration\": 192,\n      \"length\": 1748\n    },\n    {\n      \"inputOrder\": 5,\n      \"used\": true,\n      \"usedOrder\": 5,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07866,\n        \"lat\": 43.61185\n      },\n      \"confidenceValue\": 0.8311396809663245,\n      \"distanceFromRequest\": 6.43,\n      \"polylineIndex\": -1,\n      \"duration\": 194,\n      \"length\": 1766\n    },\n    {\n      \"inputOrder\": 6,\n      \"used\": true,\n      \"usedOrder\": 6,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07938069386973,\n        \"lat\": 43.61286125\n      },\n      \"confidenceValue\": 1,\n      \"distanceFromRequest\": 9.42,\n      \"polylineIndex\": -1,\n      \"duration\": 212,\n      \"length\": 1926\n    },\n    {\n      \"inputOrder\": 7,\n      \"used\": true,\n      \"usedOrder\": 7,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.6537464392808423,\n      \"distanceFromRequest\": 20.37,\n      \"polylineIndex\": -1,\n      \"duration\": 239,\n      \"length\": 2122\n    },\n    {\n      \"inputOrder\": 8,\n      \"used\": true,\n      \"usedOrder\": 8,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.19594762970404958,\n      \"distanceFromRequest\": 6.54,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 9,\n      \"used\": true,\n      \"usedOrder\": 9,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.0812,\n        \"lat\": 43.6119\n      },\n      \"confidenceValue\": 1,\n      \"distanceFromRequest\": 0,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 10,\n      \"used\": true,\n      \"usedOrder\": 10,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081468042538314,\n        \"lat\": 43.61183298936542\n      },\n      \"confidenceValue\": 1,\n      \"distanceFromRequest\": 7.89,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 11,\n      \"used\": true,\n      \"usedOrder\": 11,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.0816,\n        \"lat\": 43.6118\n      },\n      \"confidenceValue\": 1,\n      \"distanceFromRequest\": 0,\n      \"polylineIndex\": -1,\n      \"duration\": 251,\n      \"length\": 2180\n    }\n  ],\n  \"routingRoutes\": [\n    {\n      \"length\": 2180,\n      \"duration\": 251,\n      \"trafficDelay\": 0,\n      \"averageSpeed\": 31.266932,\n      \"maximumSpeed\": 0,\n      \"startUTurnThreshold\": 3000,\n      \"routingInstructions\": [\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 10,\n          \"duration\": 1,\n          \"fromName\": \"Rue Fernand Léger\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.06588,\n            \"lat\": 43.6161\n          },\n          \"roundAboutExitNumber\": 1,\n          \"textDist\": \"At 10 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 16,\n          \"duration\": 12,\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.06602,\n            \"lat\": 43.61618\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Lucioles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 16 meters\",\n          \"text\": \"From Rue Fernand Léger at roundabout take 1st exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 388,\n          \"duration\": 39,\n          \"fromName\": \"Route des Lucioles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07047,\n            \"lat\": 43.61731\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"Carrefour du Golf\",\n          \"toOn\": \"Carrefour du Golf\",\n          \"textDist\": \"At 388 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 50,\n          \"duration\": 11,\n          \"fromName\": \"Carrefour du Golf\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07093,\n            \"lat\": 43.61741\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 50 meters\",\n          \"text\": \"From Route des Lucioles at roundabout take 2nd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 226,\n          \"duration\": 20,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07357,\n            \"lat\": 43.61703\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"Carrefour Saint-Philippe\",\n          \"toOn\": \"Carrefour Saint-Philippe\",\n          \"textDist\": \"At 226 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 104,\n          \"duration\": 27,\n          \"fromName\": \"Carrefour Saint-Philippe\",\n          \"manoeuvre\": \"SLIGHT_RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07463,\n            \"lat\": 43.61674\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 104 meters\",\n          \"text\": \"From Route des Colles at roundabout take 3rd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 514,\n          \"duration\": 39,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08045,\n            \"lat\": 43.61509\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"Carrefour des Chappes\",\n          \"toOn\": \"Carrefour des Chappes\",\n          \"textDist\": \"At 514 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 8,\n          \"duration\": 3,\n          \"fromName\": \"Carrefour des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08053,\n            \"lat\": 43.61505\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 8 meters\",\n          \"text\": \"From Route des Colles at roundabout take 1st exit on D535\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 358,\n          \"duration\": 26,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07845,\n            \"lat\": 43.61221\n          },\n          \"roundAboutExitNumber\": 4,\n          \"textDist\": \"At 358 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 124,\n          \"duration\": 20,\n          \"manoeuvre\": \"BEAR_RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07869,\n            \"lat\": 43.61212\n          },\n          \"roundAboutExitNumber\": 4,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 124 meters\",\n          \"text\": \"From Route des Chappes at roundabout take 4th exit on D535\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 108,\n          \"duration\": 9,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07921,\n            \"lat\": 43.61298\n          },\n          \"roundAboutExitNumber\": 0,\n          \"toName\": \"Allée Charles-Victor Naudin\",\n          \"toOn\": \"Allée Charles-Victor Naudin\",\n          \"textDist\": \"At 108 meters\",\n          \"text\": \"From Route des Chappes make a right turn on Allée Charles-Victor Naudin\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 216,\n          \"duration\": 31,\n          \"fromName\": \"Allée Charles-Victor Naudin\",\n          \"manoeuvre\": \"SHARP_LEFT\",\n          \"coordinate\": {\n            \"lon\": 7.08118,\n            \"lat\": 43.61169\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 216 meters\",\n          \"text\": \"From Allée Charles-Victor Naudin make a sharp left turn\"\n        },\n        {\n          \"type\": \"STOP\",\n          \"length\": 58,\n          \"duration\": 12,\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.0816,\n            \"lat\": 43.6118\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 58 meters\",\n          \"text\": \"Destination reached\"\n        }\n      ],\n      \"boundingBox\": {\n        \"minLon\": 7.065868896076493,\n        \"minLat\": 43.61169,\n        \"maxLon\": 7.0816,\n        \"maxLat\": 43.6175\n      },\n      \"startStopInfo\": {\n        \"start\": {\n          \"lon\": 7.06587,\n          \"lat\": 43.61601\n        },\n        \"stop\": {\n          \"lon\": 7.08118,\n          \"lat\": 43.61169\n        },\n        \"distanceFirstMatched\": 0.56,\n        \"distanceLastMatched\": 36,\n        \"interDests\": null\n      },\n      \"polyline\": [\n        {\n          \"lon\": 7.065868896076493,\n          \"lat\": 43.616005\n        },\n        {\n          \"lon\": 7.06588,\n          \"lat\": 43.6161\n        },\n"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"traceroute_routingVehicleFeature_tutorial"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-routingvehiclefeature--define-physical-and-legal-vehicle-constraints","__idx":4},"children":["🚗 routingVehicleFeature – Define physical and legal vehicle constraints"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]}," field inside the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]}," in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TraceRoute"]}," API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use case"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You want to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Avoid routes that your vehicle physically cannot take (e.g., low bridges, narrow tunnels)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Respect legal limitations based on size, weight, or hazardous cargo."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure routing complies with vehicle-specific restrictions (truck, bus, caravan, etc.)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["💡 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What it does"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]}," object provides the physical dimensions and legal attributes of the vehicle. These affect:"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Road eligibility (tunnel height, weight limits, bridge restrictions, etc.)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Toll cost estimation depending on vehicle type and attributes."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["🔧 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How to enable"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]}," block inside ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"routingVehicleProfile\": {\n  \"transportMode\": \"CAR\",\n  \"routingVehicleFeature\": {\n    \"height\": 380,\n    \"width\": 250,\n    \"length\": 1875,\n    \"weight\": 35,\n    \"axleWeight\": 10,\n    \"nbTrailer\": 1,\n    \"adrTunnelCategory\": \"CAT_D\",\n    \"hazardousMaterials\": \"EXPLOSIVE\",\n    \"emissionClass\": \"EURO6\"\n  }\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["📦 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here’s a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["working TraceRoute request"]}," including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleFeature"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"routingVehicleProfile\": {\n    \"transportMode\": \"CAR\",\n    \"routingVehicleFeature\": {\n      \"height\": 380,\n      \"width\": 250,\n      \"length\": 1875,\n      \"weight\": 35000,\n      \"axleWeight\": 10000,\n      \"nbTrailer\": 1,\n      \"adrTunnelCategory\": \"CAT_D\",\n      \"hazardousMaterials\": \"EXPLOSIVE\",\n      \"emissionClass\": \"EURO6\"\n    }\n  },\n  \"options\": [\"ROUTESHEET\", \"POLYLINE\"],\n  \"destinations\": [\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.066,\n        \"lat\": 43.616,\n        \"heading\": 17.6,\n        \"speed\": 23.1,\n        \"time\": 1396241966000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0664,\n        \"lat\": 43.6162,\n        \"heading\": 95.0,\n        \"speed\": 29.3,\n        \"time\": 1396241972000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0786,\n        \"lat\": 43.6153,\n        \"heading\": 119.0,\n        \"speed\": 61.9,\n        \"time\": 1396242062000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0805,\n        \"lat\": 43.6147,\n        \"heading\": 200.9,\n        \"speed\": 50.6,\n        \"time\": 1396242077000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0785,\n        \"lat\": 43.6117,\n        \"heading\": 115.8,\n        \"speed\": 38.1,\n        \"time\": 1396242104000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0787,\n        \"lat\": 43.6118,\n        \"heading\": 15.6,\n        \"speed\": 26.0,\n        \"time\": 1396242107000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0793,\n        \"lat\": 43.6128,\n        \"heading\": 76.0,\n        \"speed\": 26.6,\n        \"time\": 1396242128000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0814,\n        \"lat\": 43.6116,\n        \"heading\": 269.9,\n        \"speed\": 5.6,\n        \"time\": 1396242172000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0811,\n        \"lat\": 43.6117,\n        \"heading\": 338.7,\n        \"speed\": 7.5,\n        \"time\": 1396242182000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0812,\n        \"lat\": 43.6119,\n        \"heading\": 47.3,\n        \"speed\": 14.9,\n        \"time\": 1396242188000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0815,\n        \"lat\": 43.6119,\n        \"heading\": 127.1,\n        \"speed\": 8.5,\n        \"time\": 1396242198000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0816,\n        \"lat\": 43.6118,\n        \"heading\": 0.0,\n        \"speed\": 0.0,\n        \"time\": 1396242288000,\n        \"sat\": 11\n      }\n    }\n  ]\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"usedDestinations\": [\n    {\n      \"inputOrder\": 0,\n      \"used\": true,\n      \"usedOrder\": 0,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.06602,\n        \"lat\": 43.61618\n      },\n      \"confidenceValue\": 0.07689281992526473,\n      \"distanceFromRequest\": 20.1,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 1,\n      \"used\": true,\n      \"usedOrder\": 1,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.066398283397998,\n        \"lat\": 43.616205\n      },\n      \"confidenceValue\": 0.09921131156872807,\n      \"distanceFromRequest\": 0.56,\n      \"polylineIndex\": -1,\n      \"duration\": 4,\n      \"length\": 31\n    },\n    {\n      \"inputOrder\": 2,\n      \"used\": true,\n      \"usedOrder\": 2,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.078628713869563,\n        \"lat\": 43.61534125\n      },\n      \"confidenceValue\": 0.5117017827481006,\n      \"distanceFromRequest\": 5.14,\n      \"polylineIndex\": -1,\n      \"duration\": 121,\n      \"length\": 1128\n    },\n    {\n      \"inputOrder\": 3,\n      \"used\": true,\n      \"usedOrder\": 3,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.080403748959592,\n        \"lat\": 43.6147275\n      },\n      \"confidenceValue\": 0.22820475819113992,\n      \"distanceFromRequest\": 8.34,\n      \"polylineIndex\": -1,\n      \"duration\": 143,\n      \"length\": 1324\n    },\n    {\n      \"inputOrder\": 4,\n      \"used\": true,\n      \"usedOrder\": 4,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07845,\n        \"lat\": 43.61179\n      },\n      \"confidenceValue\": 0.1539186659438396,\n      \"distanceFromRequest\": 10.8,\n      \"polylineIndex\": -1,\n      \"duration\": 179,\n      \"length\": 1718\n    },\n    {\n      \"inputOrder\": 5,\n      \"used\": true,\n      \"usedOrder\": 5,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07866,\n        \"lat\": 43.61185\n      },\n      \"confidenceValue\": 0.16108117941441358,\n      \"distanceFromRequest\": 6.43,\n      \"polylineIndex\": -1,\n      \"duration\": 181,\n      \"length\": 1737\n    },\n    {\n      \"inputOrder\": 6,\n      \"used\": true,\n      \"usedOrder\": 6,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.079378967392794,\n        \"lat\": 43.6128575\n      },\n      \"confidenceValue\": 0.27133317856160843,\n      \"distanceFromRequest\": 9.03,\n      \"polylineIndex\": -1,\n      \"duration\": 199,\n      \"length\": 1895\n    },\n    {\n      \"inputOrder\": 7,\n      \"used\": true,\n      \"usedOrder\": 7,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.1558036422356276,\n      \"distanceFromRequest\": 20.37,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 8,\n      \"used\": true,\n      \"usedOrder\": 8,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.15467894682254785,\n      \"distanceFromRequest\": 6.54,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 9,\n      \"used\": true,\n      \"usedOrder\": 9,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.1844632357817026,\n      \"distanceFromRequest\": 23.43,\n      \"polylineIndex\": -1,\n      \"duration\": 226,\n      \"length\": 2090\n    },\n    {\n      \"inputOrder\": 10,\n      \"used\": true,\n      \"usedOrder\": 10,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081303332134546,\n        \"lat\": 43.61164\n      },\n      \"confidenceValue\": 0.1586887555888732,\n      \"distanceFromRequest\": 33,\n      \"polylineIndex\": -1,\n      \"duration\": 229,\n      \"length\": 2102\n    },\n    {\n      \"inputOrder\": 11,\n      \"used\": true,\n      \"usedOrder\": 11,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081771510364167,\n        \"lat\": 43.6116975\n      },\n      \"confidenceValue\": 0.18750892219842968,\n      \"distanceFromRequest\": 17.92,\n      \"polylineIndex\": -1,\n      \"duration\": 243,\n      \"length\": 2151\n    }\n  ],\n  \"routingRoutes\": [\n    {\n      \"length\": 2151,\n      \"duration\": 243,\n      \"trafficDelay\": 0,\n      \"averageSpeed\": 31.866667,\n      \"maximumSpeed\": 0,\n      \"startUTurnThreshold\": 3000,\n      \"routingInstructions\": [\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 389,\n          \"duration\": 37,\n          \"fromName\": \"Route des Lucioles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07047,\n            \"lat\": 43.61731\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"Carrefour du Golf\",\n          \"toOn\": \"Carrefour du Golf\",\n          \"textDist\": \"At 389 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 49,\n          \"duration\": 11,\n          \"fromName\": \"Carrefour du Golf\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07093,\n            \"lat\": 43.61741\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 49 meters\",\n          \"text\": \"From Route des Lucioles at roundabout take 2nd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 223,\n          \"duration\": 20,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07357,\n            \"lat\": 43.61703\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"Carrefour Saint-Philippe\",\n          \"toOn\": \"Carrefour Saint-Philippe\",\n          \"textDist\": \"At 223 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 104,\n          \"duration\": 29,\n          \"fromName\": \"Carrefour Saint-Philippe\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07463,\n            \"lat\": 43.61674\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 104 meters\",\n          \"text\": \"From Route des Colles at roundabout take 3rd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 513,\n          \"duration\": 39,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08045,\n            \"lat\": 43.61509\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"Carrefour des Chappes\",\n          \"toOn\": \"Carrefour des Chappes\",\n          \"textDist\": \"At 513 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 8,\n          \"duration\": 3,\n          \"fromName\": \"Carrefour des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08053,\n            \"lat\": 43.61505\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 8 meters\",\n          \"text\": \"From Route des Colles at roundabout take 1st exit on D535\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 361,\n          \"duration\": 26,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07845,\n            \"lat\": 43.61221\n          },\n          \"roundAboutExitNumber\": 4,\n          \"textDist\": \"At 361 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 122,\n          \"duration\": 20,\n          \"manoeuvre\": \"BEAR_RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07869,\n            \"lat\": 43.61212\n          },\n          \"roundAboutExitNumber\": 4,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 122 meters\",\n          \"text\": \"From Route des Chappes at roundabout take 4th exit on D535\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 107,\n          \"duration\": 9,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07921,\n            \"lat\": 43.61298\n          },\n          \"roundAboutExitNumber\": 0,\n          \"toName\": \"Allée Charles-Victor Naudin\",\n          \"toOn\": \"Allée Charles-Victor Naudin\",\n          \"textDist\": \"At 107 meters\",\n          \"text\": \"From Route des Chappes make a right turn on Allée Charles-Victor Naudin\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 246,\n          \"duration\": 35,\n          \"fromName\": \"Allée Charles-Victor Naudin\",\n          \"manoeuvre\": \"LEFT\",\n          \"coordinate\": {\n            \"lon\": 7.08151,\n            \"lat\": 43.61153\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 246 meters\",\n          \"text\": \"From Allée Charles-Victor Naudin make a left turn\"\n        },\n        {\n          \"type\": \"STOP\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 29,\n          \"duration\": 12,\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08177,\n            \"lat\": 43.6117\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 29 meters\",\n          \"text\": \"Destination reached\"\n        }\n      ],\n      \"boundingBox\": {\n        \"minLon\": 7.06602,\n        \"minLat\": 43.61153,\n        \"maxLon\": 7.081771510364167,\n        \"maxLat\": 43.6175\n      },\n      \"startStopInfo\": {\n        \"start\": {\n          \"lon\": 7.06602,\n          \"lat\": 43.61618\n        },\n        \"stop\": {\n          \"lon\": 7.08177,\n          \"lat\": 43.6117\n        },\n        \"distanceFirstMatched\": 0,\n        \"distanceLastMatched\": 0.28,\n        \"interDests\": null\n      },\n      \"polyline\": [\n        {\n          \"lon\": 7.06602,\n          \"lat\": 43.61618\n        },\n        {\n          \"lon\": 7.06627,\n          \"lat\": 43.61621\n        },\n"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ Used to avoid roads that are physically or legally restricted based on the vehicle’s size, weight, or cargo."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"traceroute_transportMode_tutorial"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-transportmode--choose-the-right-routing-logic-for-your-vehicle-type","__idx":5},"children":["🚚 transportMode – Choose the right routing logic for your vehicle type"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode"]}," field inside the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]}," in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TraceRoute"]}," API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use case"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You want to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Adapt routing rules to your type of vehicle (car, pedestrian, truck, etc.)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure traffic restrictions, turn rules, and access permissions are respected."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Leverage map data optimized for specific transport modes."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["💡 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["What it does"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode"]}," defines how the routing engine interprets the road network for your request. It influences:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Accessibility of roads (e.g., no cars in pedestrian zones)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Turn and one-way restrictions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Toll and traffic rules"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Routing preferences and road types used"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If omitted, the default value for TraceRoute is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EMERGENCY"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["🔧 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How to enable"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode"]}," inside ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["routingVehicleProfile"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"routingVehicleProfile\": {\n  \"transportMode\": \"CAR\"\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["📦 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example"]}," ","Here’s a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["functional TraceRoute request"]}," using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transportMode: CAR"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"geoserver\": \"osm\",\n  \"routingVehicleProfile\": {\n    \"transportMode\": \"CAR\"\n  },\n  \"options\": [\"ROUTESHEET\", \"POLYLINE\"],\n  \"destinations\": [\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.066,\n        \"lat\": 43.616,\n        \"heading\": 17.6,\n        \"speed\": 23.1,\n        \"time\": 1396241966000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0664,\n        \"lat\": 43.6162,\n        \"heading\": 95.0,\n        \"speed\": 29.3,\n        \"time\": 1396241972000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0786,\n        \"lat\": 43.6153,\n        \"heading\": 119.0,\n        \"speed\": 61.9,\n        \"time\": 1396242062000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0805,\n        \"lat\": 43.6147,\n        \"heading\": 200.9,\n        \"speed\": 50.6,\n        \"time\": 1396242077000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0785,\n        \"lat\": 43.6117,\n        \"heading\": 115.8,\n        \"speed\": 38.1,\n        \"time\": 1396242104000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0787,\n        \"lat\": 43.6118,\n        \"heading\": 15.6,\n        \"speed\": 26.0,\n        \"time\": 1396242107000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0793,\n        \"lat\": 43.6128,\n        \"heading\": 76.0,\n        \"speed\": 26.6,\n        \"time\": 1396242128000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0814,\n        \"lat\": 43.6116,\n        \"heading\": 269.9,\n        \"speed\": 5.6,\n        \"time\": 1396242172000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0811,\n        \"lat\": 43.6117,\n        \"heading\": 338.7,\n        \"speed\": 7.5,\n        \"time\": 1396242182000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0812,\n        \"lat\": 43.6119,\n        \"heading\": 47.3,\n        \"speed\": 14.9,\n        \"time\": 1396242188000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0815,\n        \"lat\": 43.6119,\n        \"heading\": 127.1,\n        \"speed\": 8.5,\n        \"time\": 1396242198000,\n        \"sat\": 11\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 7.0816,\n        \"lat\": 43.6118,\n        \"heading\": 0.0,\n        \"speed\": 0.0,\n        \"time\": 1396242288000,\n        \"sat\": 11\n      }\n    }\n  ]\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"usedDestinations\": [\n    {\n      \"inputOrder\": 0,\n      \"used\": true,\n      \"usedOrder\": 0,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.06599,\n        \"lat\": 43.61616\n      },\n      \"confidenceValue\": 0.06286304299192261,\n      \"distanceFromRequest\": 17.83,\n      \"polylineIndex\": -1,\n      \"duration\": -1,\n      \"length\": -1\n    },\n    {\n      \"inputOrder\": 1,\n      \"used\": true,\n      \"usedOrder\": 1,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.066398283397998,\n        \"lat\": 43.61619875\n      },\n      \"confidenceValue\": 0.0800135116257905,\n      \"distanceFromRequest\": 0.14,\n      \"polylineIndex\": -1,\n      \"duration\": 9,\n      \"length\": 34\n    },\n    {\n      \"inputOrder\": 2,\n      \"used\": true,\n      \"usedOrder\": 2,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.078613174931171,\n        \"lat\": 43.61532\n      },\n      \"confidenceValue\": 0.8413753213078328,\n      \"distanceFromRequest\": 2.47,\n      \"polylineIndex\": -1,\n      \"duration\": 143,\n      \"length\": 1138\n    },\n    {\n      \"inputOrder\": 3,\n      \"used\": true,\n      \"usedOrder\": 3,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.080402022428108,\n        \"lat\": 43.6147275\n      },\n      \"confidenceValue\": 0.2572326759393196,\n      \"distanceFromRequest\": 8.47,\n      \"polylineIndex\": -1,\n      \"duration\": 171,\n      \"length\": 1332\n    },\n    {\n      \"inputOrder\": 4,\n      \"used\": true,\n      \"usedOrder\": 4,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.07849,\n        \"lat\": 43.6118\n      },\n      \"confidenceValue\": 0.11906910071406848,\n      \"distanceFromRequest\": 11.16,\n      \"polylineIndex\": -1,\n      \"duration\": 220,\n      \"length\": 1728\n    },\n    {\n      \"inputOrder\": 5,\n      \"used\": true,\n      \"usedOrder\": 5,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.078620742346271,\n        \"lat\": 43.61184125\n      },\n      \"confidenceValue\": 0.13516568206124982,\n      \"distanceFromRequest\": 7.87,\n      \"polylineIndex\": -1,\n      \"duration\": 221,\n      \"length\": 1739\n    },\n    {\n      \"inputOrder\": 6,\n      \"used\": true,\n      \"usedOrder\": 6,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.079373787961987,\n        \"lat\": 43.61285875\n      },\n      \"confidenceValue\": 0.22009209915621328,\n      \"distanceFromRequest\": 8.84,\n      \"polylineIndex\": -1,\n      \"duration\": 248,\n      \"length\": 1898\n    },\n    {\n      \"inputOrder\": 7,\n      \"used\": true,\n      \"usedOrder\": 7,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.1610406958490898,\n      \"distanceFromRequest\": 20.37,\n      \"polylineIndex\": -1,\n      \"duration\": 269,\n      \"length\": 2093\n    },\n    {\n      \"inputOrder\": 8,\n      \"used\": true,\n      \"usedOrder\": 8,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.15038094164184174,\n      \"distanceFromRequest\": 6.54,\n      \"polylineIndex\": -1,\n      \"duration\": 269,\n      \"length\": 2093\n    },\n    {\n      \"inputOrder\": 9,\n      \"used\": true,\n      \"usedOrder\": 9,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.08118,\n        \"lat\": 43.61169\n      },\n      \"confidenceValue\": 0.195969043665276,\n      \"distanceFromRequest\": 23.43,\n      \"polylineIndex\": -1,\n      \"duration\": 269,\n      \"length\": 2093\n    },\n    {\n      \"inputOrder\": 10,\n      \"used\": true,\n      \"usedOrder\": 10,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081223915383964,\n        \"lat\": 43.61166125\n      },\n      \"confidenceValue\": 0.15705536677458787,\n      \"distanceFromRequest\": 34.66,\n      \"polylineIndex\": -1,\n      \"duration\": 271,\n      \"length\": 2098\n    },\n    {\n      \"inputOrder\": 11,\n      \"used\": true,\n      \"usedOrder\": 11,\n      \"matchedCoordinateGps\": {\n        \"lon\": 7.081742160744273,\n        \"lat\": 43.61168875\n      },\n      \"confidenceValue\": 0.1941399970773053,\n      \"distanceFromRequest\": 16.87,\n      \"polylineIndex\": -1,\n      \"duration\": 278,\n      \"length\": 2154\n    }\n  ],\n  \"routingRoutes\": [\n    {\n      \"length\": 2154,\n      \"duration\": 278,\n      \"trafficDelay\": 0,\n      \"averageSpeed\": 27.893526,\n      \"maximumSpeed\": 0,\n      \"startUTurnThreshold\": 3000,\n      \"routingInstructions\": [\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 394,\n          \"duration\": 49,\n          \"fromName\": \"Route des Lucioles\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07053,\n            \"lat\": 43.61727\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"Carrefour du Golf\",\n          \"toOn\": \"Carrefour du Golf\",\n          \"textDist\": \"At 394 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 47,\n          \"duration\": 12,\n          \"fromName\": \"Carrefour du Golf\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07094,\n            \"lat\": 43.61746\n          },\n          \"roundAboutExitNumber\": 3,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 47 meters\",\n          \"text\": \"From Route des Lucioles at roundabout take 3rd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 224,\n          \"duration\": 29,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07357,\n            \"lat\": 43.61704\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"Carrefour Saint-Philippe\",\n          \"toOn\": \"Carrefour Saint-Philippe\",\n          \"textDist\": \"At 224 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 106,\n          \"duration\": 24,\n          \"fromName\": \"Carrefour Saint-Philippe\",\n          \"manoeuvre\": \"BEAR_RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07461,\n            \"lat\": 43.61673\n          },\n          \"roundAboutExitNumber\": 2,\n          \"toName\": \"D504\",\n          \"toOn\": \"Route des Colles\",\n          \"toRn\": \"D504\",\n          \"textDist\": \"At 106 meters\",\n          \"text\": \"From Route des Colles at roundabout take 2nd exit on D504\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 513,\n          \"duration\": 43,\n          \"fromName\": \"Route des Colles\",\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08041,\n            \"lat\": 43.61509\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"Carrefour des Chappes\",\n          \"toOn\": \"Carrefour des Chappes\",\n          \"textDist\": \"At 513 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 10,\n          \"duration\": 4,\n          \"fromName\": \"Carrefour des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08051,\n            \"lat\": 43.61504\n          },\n          \"roundAboutExitNumber\": 1,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 10 meters\",\n          \"text\": \"From Route des Colles at roundabout take 1st exit on D535\"\n        },\n        {\n          \"type\": \"ENTER_ROUNDABOUT\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 362,\n          \"duration\": 37,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07842,\n            \"lat\": 43.61219\n          },\n          \"roundAboutExitNumber\": 4,\n          \"toName\": \"Carrefour Sophiatech\",\n          \"toOn\": \"Carrefour Sophiatech\",\n          \"textDist\": \"At 362 meters\"\n        },\n        {\n          \"type\": \"EXIT_ROUNDABOUT\",\n          \"geoElementType\": \"ROUNDABOUT\",\n          \"length\": 116,\n          \"duration\": 28,\n          \"fromName\": \"Carrefour Sophiatech\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07866,\n            \"lat\": 43.61211\n          },\n          \"roundAboutExitNumber\": 4,\n          \"toName\": \"D535\",\n          \"toOn\": \"Route des Chappes\",\n          \"toRn\": \"D535\",\n          \"textDist\": \"At 116 meters\",\n          \"text\": \"From Route des Chappes at roundabout take 4th exit on D535\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 108,\n          \"duration\": 13,\n          \"fromName\": \"Route des Chappes\",\n          \"manoeuvre\": \"RIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.07921,\n            \"lat\": 43.61297\n          },\n          \"roundAboutExitNumber\": 0,\n          \"toName\": \"Allée Charles-Victor Naudin\",\n          \"toOn\": \"Allée Charles-Victor Naudin\",\n          \"textDist\": \"At 108 meters\",\n          \"text\": \"From Route des Chappes make a right turn on Allée Charles-Victor Naudin\"\n        },\n        {\n          \"type\": \"FOLLOW\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 245,\n          \"duration\": 32,\n          \"fromName\": \"Allée Charles-Victor Naudin\",\n          \"manoeuvre\": \"LEFT\",\n          \"coordinate\": {\n            \"lon\": 7.08148,\n            \"lat\": 43.61151\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 245 meters\",\n          \"text\": \"From Allée Charles-Victor Naudin make a left turn\"\n        },\n        {\n          \"type\": \"STOP\",\n          \"geoElementType\": \"ROAD\",\n          \"length\": 29,\n          \"duration\": 4,\n          \"manoeuvre\": \"STRAIGHT\",\n          \"coordinate\": {\n            \"lon\": 7.08174,\n            \"lat\": 43.61169\n          },\n          \"roundAboutExitNumber\": 0,\n          \"textDist\": \"At 29 meters\",\n          \"text\": \"Destination reached\"\n        }\n      ],\n      \"boundingBox\": {\n        \"minLon\": 7.06599,\n        \"minLat\": 43.61151,\n        \"maxLon\": 7.081742160744273,\n        \"maxLat\": 43.61753\n      },\n      \"startStopInfo\": {\n        \"start\": {\n          \"lon\": 7.06599,\n          \"lat\": 43.61616\n        },\n        \"stop\": {\n          \"lon\": 7.08174,\n          \"lat\": 43.61169\n        },\n        \"distanceFirstMatched\": 0,\n        \"distanceLastMatched\": 0.14,\n        \"interDests\": null\n      },\n      \"polyline\": [\n        {\n          \"lon\": 7.06599,\n          \"lat\": 43.61616\n        },\n        {\n          \"lon\": 7.06618,\n          \"lat\": 43.6162\n        },\n"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["✅ Ensures the routing engine applies car-specific traffic rules and avoids restricted zones."]}]}]},"headings":[{"value":"📦 TraceRoute - routingVehicleProfile Detailed Usage","id":"-traceroute---routingvehicleprofile-detailed-usage","depth":1},{"value":"🚀 Purpose – Control routing with vehicle characteristics","id":"-purpose--control-routing-with-vehicle-characteristics","depth":2},{"value":"🚀 maxSpeeds – Define vehicle speed limitations","id":"-maxspeeds--define-vehicle-speed-limitations","depth":2},{"value":"🔋 routingEnergyVehicleFeature – Define energy parameters of the vehicle","id":"-routingenergyvehiclefeature--define-energy-parameters-of-the-vehicle","depth":2},{"value":"🚗 routingVehicleFeature – Define physical and legal vehicle constraints","id":"-routingvehiclefeature--define-physical-and-legal-vehicle-constraints","depth":2},{"value":"🚚 transportMode – Choose the right routing logic for your vehicle type","id":"-transportmode--choose-the-right-routing-logic-for-your-vehicle-type","depth":2}],"frontmatter":{"seo":{"title":"📦 TraceRoute - routingVehicleProfile Detailed Usage"}},"lastModified":"2025-09-29T08:13:56.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/api-reference/traceroute/tutorial/traceroute_vehicleprof","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}