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=your_app_id&app_code=your_app_code
A working example can be found on the HERE Maps Community Examples on GitHub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With