Reputation: 11
I'm trying to calculate route summary for a truck using Fleet Telematics Custom Routes API (https://cle.api.here.com/2/calculateroute.json). And I'm getting an error saying: Cannot match lat/long onto a road link with 100.0m search radius.
The error is, in fact, correct since Truck is in the middle of a big warehouse and there are no roads in 100 radius.
So the question is how can I increase search radius to prevent this error. OR there are any other options?
Thanks in advance!
Upvotes: 1
Views: 279
Reputation: 5557
You can add a radius parameter in meters after the position, ex for 500m:
waypoint0=geo!48.85718,2.34141;500
Source doc: https://developer.here.com/documentation/routing/topics/resource-param-type-waypoint.html
Upvotes: 0