问题描述
我正在使用HERE的反向地理编码端点来提取给定纬度和经度的速度限制.我在 locationattributes
参数中包含了 linkInfo
,并且在结果正文中获得了速度限制,但不再显示.
I'm using the reverse geocode endpoint from HERE to extract speed limits for a given latitude and longitude. I am including linkInfo
in the locationattributes
parameter and was getting speed limits in the results body but it is no longer showing up.
以下是命中端点的示例: https://reverse.geocoder.api.here.com/6.2/reversegeocode.json?app_id= {{app_id}}& app_code = {{app_code}}& prox = 40.1245292,-74.8721781,50&mode = retrieveAddresses& locationattributes = linkInfo& gen = 9
Here is an example of the endpoint being hit:https://reverse.geocoder.api.here.com/6.2/reversegeocode.json?app_id={{app_id}}&app_code={{app_code}}&prox=40.1245292,-74.8721781,50&mode=retrieveAddresses&locationattributes=linkInfo&gen=9
这是从此处获取速度限制的正确方法吗?
Is this the correct method to get speed limits from HERE?
推荐答案
反向Geocoder API在响应中表示速度类别,它对应于不同的速度限制范围,可以从下面进行引用:
Reverse Geocoder API represents speedcategory in the response, which corresponds to different ranges of speed limit, that can be referred from below :
developer.here.com/documentation/geocoder/topics/resource-type-speed-category.html
developer.here.com/documentation/geocoder/topics/resource-type-speed-category.html
响应:
这篇关于从这里获得反向地理编码API的速度限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!