Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
587 views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...