首页 > 解决方案 > 我应该选择什么 HEREMaps 计划才能执行反向地理编码批处理请求?

问题描述

我正在尝试执行一个批处理请求,该请求有望将几十个坐标转换为地址。我正在按照“免费增值”计划执行它,但我收到 403 错误和一条消息,告诉我我的计划不支持该服务。

我正在开发一个服务器,它将每天执行数百个相同类型的请求。我写信给 HEREMaps 的支持,向我解释我应该使用什么计划,并等待他们的答复。同时,我希望在这里找到遇到同样问题的人并能对此有所了解。

假设我每天需要执行 500 个批处理请求,每个请求有 10 个地理点。什么 HEREMaps 计划对我有用,这种服务的平均价格是多少?

这是我的 POST 请求(REST API)的 URL:

https://batch.geocoder.ls.hereapi.com/6.2/jobs?apiKey={MY_API_Key}&action=run&header=true&indelim=|&outdelim=|&outcols=displayLatitude,displayLongitude,locationLabel,houseNumber,street,district,city,postalCode,county,state,country&outputCombined=false&mode=retrieveAddresses

带标题:

Content-Type: text/plain

身体:

recId|prox
0|24.3513483,42.1014
1|24.35171,42.1016533
2|24.3515583,42.1015266
3|24.3507683,42.1045716

响应 - 禁止 403:

{"error":"Forbidden","error_description":"These credentials do not authorize access. Please contact your customer
representative or email locationapi@here.com to discuss upgrading your account."}

标签: here-apireverse-geocoding

解决方案


这是您需要执行的计划:https ://developer.here.com/documentation/batch-geocoder/dev_guide/topics/quick-start-batch-geocode.html

如果您已经签署了免费增值计划,请仔细检查您何时这样做,因为 HERE 正在更改他们的价格计划,在某些情况下,他们会加倍价格标签并在表面上保持相同的免费增值计划,但新价格标签和旧计划是不再显示。

https://developer.here.com/pricing#freemium--pro-plans


推荐阅读