calculateroute.json 给出 NGEO_ERROR_GRAPH_DISCONNECTED 错误
calculateroute.json giving NGEO_ERROR_GRAPH_DISCONNECTED error
因此,当我尝试调用 calculateroute.json
时,出现 NGEO_ERROR_GRAPH_DISCONNECTED
错误,没有更多信息。
这是我的调用示例:https://route.api.here.com/routing/7.2/calculateroute.json?app_id=<APP_ID>&app_code=<APP_CODE>&waypoint0=geo!-34.0144128,151.1121957&waypoint1=geo!-33.875455,151.207583&mode=fastest;car;traffic:enabled&departure=2019-11-11T22:27:30
显然我已经从那个调用中删除了我们的应用程序 ID 和应用程序代码:)。
{
"_type": "ns2:RoutingServiceErrorType",
"type": "ApplicationError",
"subtype": "NoRouteFound",
"details": "Error is NGEO_ERROR_GRAPH_DISCONNECTED",
"additionalData": [
{
"key": "error_code",
"value": "NGEO_ERROR_GRAPH_DISCONNECTED"
}
],
"metaInfo": {
"timestamp": "2019-11-08T00:43:18Z",
"mapVersion": "8.30.102.150",
"moduleVersion": "7.2.201944-5674",
"interfaceVersion": "2.6.74",
"availableMapVersion": [
"8.30.102.150"
]
}
}
有什么想法吗?
我试过查看文档,但似乎我做的一切都是正确的,当然它以前对我们有用 hundreds/thousands 次。
确实,我看到默认路由 API 没有找到起点和终点 waypoints 之间的直接路由。如果您使用我们先进的车队远程信息处理 API,它确实会计算路线。
https://fleet.api.here.com/2/calculateroute.json?app_id=<APP_ID>&app_code=<APP_CODE>&waypoint0=geo!-34.0144128,151.1121957&waypoint1=geo!-33.875455,151.207583&mode=fastest;car;traffic:enabled&departure=2019-11-11T22:27:30
如果标准 API 没有 return 结果,请使用高级 API。
因此,当我尝试调用 calculateroute.json
时,出现 NGEO_ERROR_GRAPH_DISCONNECTED
错误,没有更多信息。
这是我的调用示例:https://route.api.here.com/routing/7.2/calculateroute.json?app_id=<APP_ID>&app_code=<APP_CODE>&waypoint0=geo!-34.0144128,151.1121957&waypoint1=geo!-33.875455,151.207583&mode=fastest;car;traffic:enabled&departure=2019-11-11T22:27:30
显然我已经从那个调用中删除了我们的应用程序 ID 和应用程序代码:)。
{
"_type": "ns2:RoutingServiceErrorType",
"type": "ApplicationError",
"subtype": "NoRouteFound",
"details": "Error is NGEO_ERROR_GRAPH_DISCONNECTED",
"additionalData": [
{
"key": "error_code",
"value": "NGEO_ERROR_GRAPH_DISCONNECTED"
}
],
"metaInfo": {
"timestamp": "2019-11-08T00:43:18Z",
"mapVersion": "8.30.102.150",
"moduleVersion": "7.2.201944-5674",
"interfaceVersion": "2.6.74",
"availableMapVersion": [
"8.30.102.150"
]
}
}
有什么想法吗?
我试过查看文档,但似乎我做的一切都是正确的,当然它以前对我们有用 hundreds/thousands 次。
确实,我看到默认路由 API 没有找到起点和终点 waypoints 之间的直接路由。如果您使用我们先进的车队远程信息处理 API,它确实会计算路线。
https://fleet.api.here.com/2/calculateroute.json?app_id=<APP_ID>&app_code=<APP_CODE>&waypoint0=geo!-34.0144128,151.1121957&waypoint1=geo!-33.875455,151.207583&mode=fastest;car;traffic:enabled&departure=2019-11-11T22:27:30
如果标准 API 没有 return 结果,请使用高级 API。