Here api 此处API事件API prox应用程序错误/无效输入数据
我正在尝试使用此url对指定坐标50英里范围内的交通事故提出一个简单的请求Here api 此处API事件API prox应用程序错误/无效输入数据,here-api,Here Api,我正在尝试使用此url对指定坐标50英里范围内的交通事故提出一个简单的请求 https://traffic.api.here.com/traffic/6.3/incidents/json/8/134/86?app_id={{app_id}}&app_code={{app_code}}&prox=51.5074,0.1278,80467&maxresults=10 但我收到了以下错误消息: { "Details": "Too many selection para
https://traffic.api.here.com/traffic/6.3/incidents/json/8/134/86?app_id={{app_id}}&app_code={{app_code}}&prox=51.5074,0.1278,80467&maxresults=10
但我收到了以下错误消息:
{
"Details": "Too many selection parameters specified. Please use only one parameter (quadkey or bbox or prox etc.)",
"AdditionalData": [],
"type": "ApplicationError",
"subtype": "InvalidInputData"
}
请参考developer.here.com/documentation/traffic/topics/request-constructing.html来构建您的请求。您在请求中提供了[Z]/[X]/[Y]以及邻近性,这是不可接受的。您可以提供四键[Z]/[X]/[Y]、边界框、道路或邻近性中的任意一个。 您的查询可以是
https://traffic.api.here.com/traffic/6.3/incidents.json?app_id={YOUR-APP-ID}&app_code={YOUR-APP-CODE}&prox=51.5074,0.1278,80467&maxresults=10
或
https://traffic.api.here.com/traffic/6.3/incidents/json/8/134/86?app_id={YOUR-APP-ID}&app_code={YOUR-APP-CODE}&maxresults=10