如何增加航路点的道路链接的搜索半径(Fleet Telematics API) [英] How to increase search radius for a road link for a waypoint (Fleet Telematics API)

查看:51
本文介绍了如何增加航路点的道路链接的搜索半径(Fleet Telematics API)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Fleet Telematics自定义路线API( https://cle.api.here.com/2/calculateroute.json ).而且我收到一个错误消息:无法将 lat/long 匹配到搜索半径为100.0m的道路链接上.

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.

错误实际上是正确的,因为卡车在一个大仓库中间,没有半径100的道路.

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?

提前谢谢!

推荐答案

您可以在位置后以米为单位添加半径参数,例如500m:

You can add a radius parameter in meters after the position, ex for 500m:

waypoint0=geo!48.85718,2.34141;500

源文档: https://developer.here.com/documentation/routing/topics/resource-param-type-waypoint.html

这篇关于如何增加航路点的道路链接的搜索半径(Fleet Telematics API)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆