问题
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!
回答1:
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
来源:https://stackoverflow.com/questions/53397388/how-to-increase-search-radius-for-a-road-link-for-a-waypoint-fleet-telematics-a