此处 API:某些 waypoints 的路由似乎离题很远。为什么?

HERE API: Routing with certain waypoints seems far off the mark. Why?

我是这个论坛的新手,无论如何都不是专业的编码员 - 首先 post。我正在使用 HERE API 计算行车时间和学术研究距离。我有一个 "Fremium, XYZ" 帐户。

我不确定与 Google 地图进行比较是否是对准确性的相关检查,但对于某些航路点对,我发现 HERE API returns 结果是靠近 Google 和其他距离很远的地方。有没有一种方法可以修改我的路线查找查询的特异性以提高准确性?以下是交通流量非常低的(农村)地区的两个示例:

与Google

不一致
    https://route.ls.hereapi.com/routing/7.2/calculateroute.json?
        waypoint0=47.136242%2C-68.95922&waypoint1=46.675087%2C-67.998587&
        mode=fastest%3Bcar%3Btraffic%3Aenabled&departure=now&apiKey=******

这里 API 距离:98.8 英里
此处 API 行驶时间:157 分钟

Google 距离:77.5 英里
Google 行驶时间:96 分钟

与Google

一致
    https://route.ls.hereapi.com/routing/7.2/calculateroute.json?
        waypoint0=46.675087%2C-68.14522&waypoint1=46.675087%2C-67.998587&        
        mode=fastest%3Bcar%3Btraffic%3Aenabled&departure=now&apiKey=******

这里 API 距离:13.6 英里
此处 API 行驶时间:25 分钟

Google 距离:13.3 英里
Google 行驶时间:25 分钟

情况如下:在 "inconsistent" 示例中,HERE API 的路线首先朝错误的方向行驶了 15 英里,然后掉头,原路返回到起点,然后沿着正确的路线前进(Google 或任何理智的 driver 会选择的路线)。我不知道为什么要这样做。我试过将泥土路设置为 -3,修改模式(最快;平衡;最短),但似乎没有什么可以从 API 到 mis-navigating 停止。有谁知道我应该怎么做?

非常感谢,

为了使您的请求更准确,请尝试在您的请求中添加以下参数如下-

&maneuverattributes=position,link &linkattributes=shape,DynamicSpeedInfo

https://route.ls.hereapi.com/routing/7.2/getroute.xml
?apiKey={YOUR_API_KEY}
&routeId=<YOUR_ROUTE_ID>
&mode=fastest;car
&maneuverattributes=position,link
&linkattributes=shape,DynamicSpeedInfo
&requestid=<YOUR_TRACKING_ID>