诺基亚地图:使用REST API根据坐标检索速度限制 [英] Nokia Maps: retrieve speed limit based on coordinates using REST API

查看:72
本文介绍了诺基亚地图:使用REST API根据坐标检索速度限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确信可以根据坐标检索道路上的速度限制.我只是找不到任何示例(其余API).据我了解,我需要使用路由机制来做到这一点?

I am sure it's possible to retrieve speed limit on the road based on coordinates. I just can't find any example (rest API). As I understand I need to use routing mechanism to do that?

推荐答案

您将需要使用

You will need to use the getLinkInfo endpoint from the Enterprise Routing API.. The speedLimit element returned is in m/s so multiply by 3.6 for km/h or 2.23 for mph. If the speedLimit element is missing then the national speed limit applies.

http://route.st.nlp.nokia.com/routing/6.2/getlinkinfo.json?waypoint=52.5308,13.3846&app_id= 您的app_id & app_code = 您的app_code >

http://route.st.nlp.nokia.com/routing/6.2/getlinkinfo.json?waypoint=52.5308,13.3846&app_id=your_app_id&app_code=your_app_code

可以在 HERE Maps社区示例上找到工作示例GitHub

A working example can be found on the HERE Maps Community Examples on GitHub

这篇关于诺基亚地图:使用REST API根据坐标检索速度限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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