Calculate the shortest route using the fleet telematic API

169 Views Asked by At

I'm using the fleet telematic API to calculate a route for specific "Bus-profiles". So I'm using the param speedFcCat to specify the speed limits for the bus.

The problem is, I can only become the fastest route. I tried to combine driver_cost and vehicle_cost (but these two params are for the cost optimized route) and I found no way to retrieve the "shortest" route. In the Routing API V7 we could use mode = fastest|shortest|balanced. In Routing API v8 there is only fastest.

1

There are 1 best solutions below

3
On

In v8 routing you can use "fast" or "short" routingMode:

https://developer.here.com/documentation/routing-api/api-reference-swagger.html