问题
Is it possible to get the type of road (e.g. motorway, primary, secondary) for given coordinates, using HERE maps RESTful API?
回答1:
You can use the "getlinkinfo" endpoint of the routing service together with the "linkattributes=all" parameter to get the corresponding functional class value of a certain link:
http://route.st.nlp.nokia.com/routing/6.2/getlinkinfo.xml?app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg&waypoint=50.05564304861044,8.38889128575724&linkattributes=all
More info about the functional class value:

来源:https://stackoverflow.com/questions/27607100/here-maps-getting-road-type-based-on-gps-coordinates