HereAPI - 无法达到请求的 waypoints

HereAPI - Can't reach waypoints requested

我正在尝试使用 Here FleetApi Demo 执行一个相当简单的请求,这是我正在尝试执行的请求:

https://fleet.api.here.com/2/calculateroute.json?waypoint0=19.3411164,-99.2533428&waypoint1=19.415757,-99.177453&waypoint2=19.344366,-99.251718&mode=fastest;car;traffic:disabled&departure=2021-09-21T11:05:44&alternatives=0&weightPerAxle=0.87t&limitedWeight=1.739t&height=1.67m&width=1.8m&length=4.41m

但是返回这个错误:

无法到达路径点 1(开始 links -703403377 703403377 dest links -895284559 895284559 ),最近 link 到达目的地: 1291258613 在 19.34133/-99.25233,问题:gate

此请求在航路点 2 上有类似情况,但这 returns 以下问题:

无法到达路径点 2(开始 links 895284559 dest links -832770028 832770028 ),最近 link 到达目的地:-1077091646在 19.34552/-99.25272,问题:一种方式

在这两种情况下,都可以走这些路线,但这里无法计算。这样做的唯一方法是添加一个半径来搜索航路点,但是 returns 错误的路线:

在此example中,蓝色航点是所需的航点,但返回绿色航点,这是不可接受的解决方案。

是否有解决这些问题的方法,还是我做错了什么?

我们使用 Google 地图方向 API 检索 waypoints 的经纬度。

当您将请求放入演示工具时 https://tcs.ext.here.com/examples/v3/fleet_telematics_api(专家模式)。它将在最近的到达点显示错误和红旗。然后你看到这是一个工业区或休闲公园或类似的地方。车队远程信息处理 APIs 在计算路线时应用各种车辆限制和登机口限制。

如果您想忽略这些限制,您必须在请求查询中设置 &ignoreWaypointVehicleRestriction=100000&traverseGates=true。然后,它将忽略 VehicleRestriction 并允许路由器遍历所有门。
索取样品。

https://fleet.api.here.com/2/calculateroute.json?waypoint0=19.3411164,-99.2533428&waypoint1=19.415757,-99.177453&waypoint2=19.344366,-99.251718&mode=fastest;car;traffic:disabled&departure=2021-09-21T11:05:44&alternatives=0&weightPerAxle=0.87t&limitedWeight=1.739t&height=1.67m&width=1.8m&length=4.41m&&ignoreWaypointVehicleRestriction=800000&traverseGates=true

有关 &ignoreWaypointVehicleRestriction=100000&traverseGates=true 标志的更多详细信息,请参阅下面的 API 文档。

https://developer.here.com/documentation/fleet-telematics/api-reference.html#tag%2FRouting-Extensions-&-Route-Matching%252Fpaths%252F~1v8~1calculateroute.json%252Fget