SpeedLimit:Using 地理编码器 api 速度限制没有响应并且 legacy.route.cit.api.here.com 响应限制不正确
SpeedLimit:Using geocoder api the speed limit doesn't come in response and with legacy.route.cit.api.here.com the limit in response is in-correct
我正在尝试在此处使用 api 获取美国道路的限速。为此,我创建了一个免费帐户,并试图熟悉这些服务。
- 当我使用 geocoder.cit.api.here.com api 时,搜索结果不会反映速度限制,但是当在 developer.here.com 上使用相同的搜索条件时,速度限制会反映在响应中
免费帐户中是否没有列出此功能?
- 当我使用 https://legacy.route.cit.api.here.com/routing/6.2/getlinkinfo.json?waypoint=37.3936%2C%20-122.07909&app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg
限速是11.18,这是错误的。
"Latitude/Longitude": 37.3936, -122.07909
响应片段:
"SpeedLimit": 11.18,
"DynamicSpeedInfo":{
"TrafficSpeed": 3.61,
"TrafficTime": 12.5,
"BaseSpeed": 11.11,
"BaseTime":4.1
},
为什么相同的纬度和经度显示不同的结果?
- 如 documentation 中所述,地理编码器中的速度限制需要额外授权
- 两个API的限速单位不同,取值相同 11.18 m/s = 25 mi/h
我正在尝试在此处使用 api 获取美国道路的限速。为此,我创建了一个免费帐户,并试图熟悉这些服务。
- 当我使用 geocoder.cit.api.here.com api 时,搜索结果不会反映速度限制,但是当在 developer.here.com 上使用相同的搜索条件时,速度限制会反映在响应中
免费帐户中是否没有列出此功能?
- 当我使用 https://legacy.route.cit.api.here.com/routing/6.2/getlinkinfo.json?waypoint=37.3936%2C%20-122.07909&app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg
限速是11.18,这是错误的。 "Latitude/Longitude": 37.3936, -122.07909
响应片段: "SpeedLimit": 11.18, "DynamicSpeedInfo":{ "TrafficSpeed": 3.61, "TrafficTime": 12.5, "BaseSpeed": 11.11, "BaseTime":4.1 }, 为什么相同的纬度和经度显示不同的结果?
- 如 documentation 中所述,地理编码器中的速度限制需要额外授权
- 两个API的限速单位不同,取值相同 11.18 m/s = 25 mi/h