路线API中的Fleet Api不同-无效的POI

时间:2019-12-07 13:15:11

标签: api gps

HERE API的某些地方不正确:

https://route.api.here.com/routing/7.2/calculateroute.json?app_code=**APP_CODE**&app_id=**APP_ID**&waypoint0=geo!40.881402,-8.633051&waypoint1=geo!38.6143899,-1.1041018&mode=fastest;truck;traffic:enabled&language=pt-pt&routeAttributes=shape
http://fleet.api.here.com/2/calculateroute.json?app_code=**APP_CODE**&app_id=**APP_ID**&waypoint0=40.881402,-8.633051&waypoint1=38.6143899,-1.1041018&mode=fastest;truck;traffic:enabled&language=pt-pt

我收到此错误:

{
    "issues": [
        {
            "message": "Cannot match 38.6143899/-1.1041018 onto a road link with 100.0m search radius"
        },
        {
            "message": "Request id: 5c3aee72-e8f5-4c34-b96c-7c3e3cce5c02"
        }
    ],
    "response": null,
    "error_id": "5c3aee72-e8f5-4c34-b96c-7c3e3cce5c02",
    "response_code": "400 Bad Request"
}

但是通过链接https://tcs.ext.here.com/examples/v3/cost_optimized_route,我看到了:

enter image description here

1 个答案:

答案 0 :(得分:0)

同时,我研究了API,如果我将mapMatchRadius选项增加到500 m,则可以正常工作。真奇怪这条路存在于此处地图中。来自这里的支持团队的人可以提供意见吗?