High Performance Routing in createDistanceMatrix
Posted: Tue Nov 19, 2019 4:56 pm
Hy,
We was able to migrate our implementation from xServer v1 to xServer v2 easily.
And I'm sure sure later we will be thankful about the push to do it right, at the beginning.
Our last problem is one of the major one:
How can we enable High Performance Routing in xDima / createDistanceMatrix request?
I search documentation from top till down and found everything to use HPR in xRoute.
But xDima (And so xTour) denied to apply high performance routing of the truck40t profile.
Sample Request without enabled Feature Layer TruckAttributes:
To add the Feature Layer is not the topic, because it works and generate correct values.
When I force the usage of High Performance Network by adding
I got this error, when working against xserver2-europe-eu-test.cloud.ptvgroup.com:
The High Performance Network I would like to use it this: (Removed last chars, because I'm not sure if it is private)
In my opinion xDima should automatically found the profile, because I define the storedProfile to "truck40t".
Thanks!
Stefan
We was able to migrate our implementation from xServer v1 to xServer v2 easily.
And I'm sure sure later we will be thankful about the push to do it right, at the beginning.
Our last problem is one of the major one:
How can we enable High Performance Routing in xDima / createDistanceMatrix request?
I search documentation from top till down and found everything to use HPR in xRoute.
But xDima (And so xTour) denied to apply high performance routing of the truck40t profile.
Sample Request without enabled Feature Layer TruckAttributes:
Code: Select all
{
"storedProfile": "truck40t",
"startLocations":[
{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x": 6.984220,
"y": 51.046738
}
},
{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x": 6.947162,
"y": 51.018169
}
},
{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x": 6.982905,
"y": 51.039582
}
},
{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x": 6.951682,
"y": 51.000442
}
}
]
}
When I force the usage of High Performance Network by adding
Code: Select all
"distanceMatrixOptions": {
"routingType": "HIGH_PERFORMANCE_ROUTING"
},
Code: Select all
No suitable high performance routing network found. The available networks can be retrieved by the listHighPerformanceRoutingNetworks operation of the xData module. See also the technical concept on high performance routing.
Code: Select all
{
"highPerformanceRoutingNetworkDescription": {
"id": "4444c7bc-ced1-4201-XXXX-XXXXXX",
"label": "ZZ-EUR_truck40t",
"size": 4396783111
}
}
Thanks!
Stefan