Nokia Maps: Get Coordinate Based Speed ​​Limit Using REST API

I am sure that you can get a speed limit on the road based on the coordinates. I just can't find a single example (rest API). As far as I understand, you need to use a routing mechanism for this?

+4
source share
7 answers

You need to use the endpoint getLinkInfofrom the enterprise routing API . The returned item speedLimitis in m / s , so multiply by 3.6 for km / h or 2.23 for mph . If an item is speedLimitmissing, 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

GitHub

+8

UPDATE

getlinkinfo 31.03.2017. .

PDE Demo

--------------

- 2

:

2016 , 31 2017 getlinkinfo () API- HLP- 7.2, .

, , getlinkinfo 30 2017 . .

+4

:. Nokia , API.

, GPS-.

+1

ReverseGeocoder "locationattributes = linkInfo", . :

  linkInfo: {
     functionalClass: 5,
     travelDirection: [
        "NE"
     ],
     speedCategory: "SC7",
     speedLimit: [
        {
           value: 30,
           unit: "kph"
        }
     ],
     linkFlags: [
        "Paved"
     ],
     accessFlags: [
        "Automobiles",
        "Motorcycles",
        "Buses",
        "Taxis",
        "Carpools",
        "Pedestrians",
        "Trucks",
        "Deliveries",
        "EmergencyVehicle",
        "ThroughTraffic"
     ]
  }

. https://developer.here.com/documentation/geocoder/topics/resource-reverse-geocode.html

+1

Source: https://habr.com/ru/post/1527719/


All Articles