Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/58.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Here api 这里是路线API-计算通行费成本_Here Api - Fatal编程技术网

Here api 这里是路线API-计算通行费成本

Here api 这里是路线API-计算通行费成本,here-api,Here Api,我正在计算澳大利亚两点之间的通行费 下面是我目前使用的示例URL: 我得到的答复是: { "errors": [ "Error id: fc4bc014-a17a-4efb-a346-4fad9d01a0ef", "A technical error occurred while processing the toll cost. Please contact TCS." ], "warnings": [ "The com

我正在计算澳大利亚两点之间的通行费

下面是我目前使用的示例URL:

我得到的答复是:

{
    "errors": [
        "Error id: fc4bc014-a17a-4efb-a346-4fad9d01a0ef",
        "A technical error occurred while processing the toll cost. Please contact TCS."
    ],
    "warnings": [
        "The combination \"link id,remaining time\" for element number \"1\" is invalid. The automatic datetime filtering will be disabled."
    ],
    "countries": [],
    "onError": true
}
不确定问题是我的linkId、区域、地图版本还是其他完全不同的问题

我没有找到很多有用的文档或反馈,因此非常感谢您的帮助:)

编辑:


我们最终构建了自己的解决方案,尽管到目前为止它只支持QLD和NSW。也许有一天会被许可出去;)

文档示例的版本目前不受支持,此处将更新其文档,并对由此带来的不便表示遗憾

链接ID 1353326419097748185不是有效的链接ID。 请使用HERE路由器响应中提供的链接ID

您不必使用链路ID,还可以提供起点/终点坐标,以便通行费成本服务计算路线

示例:
搜索TCE,第三个示例计算路线并添加通行费成本。

我为澳大利亚实施了map通行费API,也遇到了问题。我创建了一张支持票,得到的答复是,澳大利亚的通行费计算尚未涵盖在内


API文件:。不知道有多少帮助。我正在寻找的是:DEven当我使用文档中的示例url时,我得到了相同的错误。我想这可能与linkId与地图版本不匹配有关,但在这种情况下,示例仍然可以工作..似乎与您使用的版本有关。这可能会有所帮助:下载最新版本并尝试实现相同的版本。API参数可能在整个过程中发生了变化。您知道我们可以使用其他api来实现相同的功能吗?这将是很大的帮助,因为我一直无法找到一个。