我目前正在评估此处并尝试计算自行车的等值线,但仍会收到错误回复,如下所示:
{
"_type": "ns2:RoutingServiceErrorType",
"type": "ApplicationError",
"subtype": "InvalidInputData",
"details": "Isoline for 'bicycle' Transport Mode is not supported",
"additionalData": [
{
"key": "mode",
"value": "fastest;bicycle;traffic:disabled"
}
],
"metaInfo": {
"timestamp": "2016-07-25T13:58:35Z",
"mapVersion": "8.30.62.159",
"moduleVersion": "7.2.71.0-39010",
"interfaceVersion": "2.6.25"
}
}
请求详细信息:
https://isoline.route.cit.api.here.com/routing/7.2/calculateisoline.json?app_id=<my_app_id>&app_code=<my_app_code>&mode=fastest;bicycle;traffic:disabled&rangetype=time&start=geo!51.509373,-0.122572&range=5503
如果我将自行车的运输方式改为行人,我会得到一个成功的回复,所以假设请求是正常的。也许评估计划对自行车的isolines有限制?任何帮助非常感谢。感谢。
答案 0 :(得分:0)
在文档中,https://developer.here.com/rest-apis/documentation/routing/topics/resource-calculate-isoline.html提到,对于等值线路径,目前仅支持汽车,卡车和行人模式。