我正在使用here-api构建一个与赛艇相关的Android应用程序,并希望计算(最近的)到海岸线的距离,以便在赛艇运动员离得太近时发出警告(这在一些湖泊上是不允许的)。我找到了一个去湖的方法,但没有找到一个位置(用"LocationType":“get the are for cities or postalcode”)。
这里显然有这些数据,但有没有办法从他们那里获得呢?
发布于 2019-06-13 14:39:08
很抱歉给你造成了混乱。
这里-API支持形状数据。请参阅以下文档。https://developer.here.com/documentation/platform-data/topics/resource-layers.html
下面的请求将列出图层。
https://pde.api.here.com/1/doc/layers.html?app_id={{app_id}}&app_code={{app_code}}并且有一些您感兴趣的层,特别是具有多边形形状数据的层CARTO_POLY_DO1到CARTO_POLY_DO5。
下面还列出了该层的详细信息。
https://pde.api.here.com/1/doc/layer.html?layer=CARTO_POLY_DO3&app_id={{app_id}}&app_code={{app_code}}我希望这能有所帮助!
https://stackoverflow.com/questions/56567972
复制相似问题