在此处地图舰队Telematics API中增加航路点的搜索半径 [英] Increasing search radius for way points in Here Maps Fleet Telematics API

查看:59
本文介绍了在此处地图舰队Telematics API中增加航路点的搜索半径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常收到错误消息无法将52.19888/11.32296匹配到搜索半径为100.0m的道路链接上".在这些情况下,该位置通常是一个仓库,该仓库的确距离最近的公共道路有100多米.

I am regularly getting the error 'Cannot match 52.19888/11.32296 onto a road link with 100.0m search radius'. In these cases, the location is often a warehouse that is indeed more than 100 meters from the nearest public road.

这是一个示例查询:

Here is an example query: http://fleet.api.here.com/2/calculateroute.json?mode=fastest;truck;traffic:disabled&driver_cost=20&currency=EUR&rollups=total,country,tollsys,country;tollsys&commercial=1&shippedHazardousGoods=0&waypoint0=52.51,13.42&waypoint1=52.2787499,11.4330726&tollVehicleType=3&vehicle_cost=0.5&fuelType=Diesel&emissionType=6&length=1500cm&height=270cm&heightAbove1stAxle=120cm&vehicleWeight=7000kg&vehicleNumberAxles=2&trailerType=2&trailersCount=1&trailerNumberAxles=4&trailerHeight=270cm

是否可以增加Fleet Telematics API中航路点的搜索半径?我知道可以在Route API中实现,但找不到为Fleet实现的方法.

Is there a way to increase the search radius for the way points in the Fleet Telematics API? I know that it is possible in the Route API, but can't find a way to do it for Fleet.

或者还有另一种方法可以解决此错误消息并获得有效的路由?对于这些计算,我不需要确切的转弯方向:与卡车行驶的实际路线相似的路线就足够了.

Or is there another way to get around this error message and get a valid route? For these calculations, I do not need the exact turn-by-turn directions: a route that is similar to the actual route a truck would drive would be enough.

推荐答案

添加值为 1 routeMatch 参数,以便将您的航路点视为GPS跟踪,该算法将沿着轨迹返回最可能的路线.

Add the routeMatch parameter with value 1 so that your waypoints will be treated as a GPS trace and the algorithm will return the most probable route along the trace.

这篇关于在此处地图舰队Telematics API中增加航路点的搜索半径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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