HERE Maps API - 获取瓷砖中所有道路的速度限制? [英] HERE Maps API - get speed limit of all roads in a tile?

查看:127
本文介绍了HERE Maps API - 获取瓷砖中所有道路的速度限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个紧密跟踪用户驾驶速度的应用程序。我目前正在使用HERE API getlinkinfo 来使用纬度/经度获得特定地点的道路限速。

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



当用户在交叉路口或在立交桥上/下,lat / long不指定用户当前在哪条路上,所以我并不总是得到正确的返回速度限制。我相信可以使用平台数据扩展API读取数据图块,但我只使用标准功能集的计划,以便API不可用。 是否有一种方法可以使用标准要素集在一个点的某一半径或二维平方内获得所有道路的速度限制?

解决方案

getlinkinfo 将于2017年3月31日贬值。为了获取速度限制信息,您必须使用PDE数据扩展),它需要一个APP ID和代码。如果您使用PHP,您可以使用下面的链接帮助您入门。



这里PDE限速演示


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?

解决方案

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

这篇关于HERE Maps API - 获取瓷砖中所有道路的速度限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆