Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nokia Maps: retrieve speed limit based on coordinates using REST API

Tags:

rest

here-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?

like image 576
Bald Avatar asked Nov 28 '22 01:11

Bald


1 Answers

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=your_app_id&app_code=your_app_code

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

like image 133
Jason Fox Avatar answered May 12 '23 06:05

Jason Fox