HERE Maps-根据GPS坐标获取道路类型 [英] HERE maps - getting road type based on gps coordinates
本文介绍了HERE Maps-根据GPS坐标获取道路类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用HERE Maps RESTful API获取给定坐标的道路类型(例如,高速公路,主要道路,次要道路)?
Is it possible to get the type of road (e.g. motorway, primary, secondary) for given coordinates, using HERE maps RESTful API?
推荐答案
您可以将路由服务的"getlinkinfo"端点与"linkattributes = all"参数一起使用,以获取特定链接的相应功能类值:
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:
这篇关于HERE Maps-根据GPS坐标获取道路类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文