I have a problem with xRoute's calculateRoute function: Having three waypoints the calculated route makes a long detour instead of using a roundabout for a much shorter route (on the attached image I have marked the expected route in green).
Any help/pointers would be appreciated.
Json Request:
Code: Select all
{
"waypoints": [
{
"$type": "WaypointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 10.805523,
"y": 53.696013
}
}
]
},
{
"$type": "WaypointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 10.80550016454624,
"y": 53.696549005418177
}
}
]
},
{
"$type": "WaypointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 10.805411578124581,
"y": 53.695153428461083
}
}
]
}
],
"exceptionPaths": null,
"details": {
"manoeuvres": true,
"polygon": true,
"detailLevel": "STANDARD",
"segments": true,
"featureDescriptions": true
},
"callerContext": {
"properties": [
{
"key": "CoordFormat",
"value": "OG_GEODECIMAL"
},
{
"key": "ResponseGeometry",
"value": "WKB"
},
{
"key": "Profile",
"value": "Truck"
}
]
}
}