HERE Maps API - get speed limit of all roads in a tile?

时间秒杀一切 提交于 2019-12-29 09:15:11

问题


I'm writing an app that closely tracks a user's driving speed. I'm currently using the HERE API getlinkinfo to get the speed limit of a road at a particular point using lat/long.

https://route.st.nlp.nokia.com/routing/7.2/getlinkinfo.json?app_id=APPID&app_code=APPCODE&waypoint=37.421045,-122.092380

When the user is in an intersection or is on/under an overpass the lat/long doesn't specify which road the user is currently on so I don't always get the correct speed limit returned. I believe tiles of data can be read with the Platform Data Extension API but I'm using a plan with only the Standard Feature set so that API is not available. Is there a way to get all of the speed limits of roads within a certain radius of a point or within a 2 dimensional square using the Standard Feature set?


回答1:


getlinkinfo will depreciated March 31, 2017. In order to get speed limit information you will have to use PDE (Platform Data Extension) which requires an APP ID and Code. If you are working in PHP you can use the link below to help get you started.

Here PDE Speed Limit Demo



来源:https://stackoverflow.com/questions/41656152/here-maps-api-get-speed-limit-of-all-roads-in-a-tile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!