如何使用Overpass-api在我的景点附近获取景点? [英] How to get point of interest near my point using overpass-api?
本文介绍了如何使用Overpass-api在我的景点附近获取景点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Overpass API.
I am using Overpass API.
我很难找到我的兴趣点附近(大约100-200英里)的一些兴趣点(咖啡馆,医院,学校).我只有经纬度.
I have an issue to find some points of interest (cafes, hospitals, schools) near (around in 100-200 miles) my point. I have only latitude and longitude.
Overpass API提供了使用您的地名获取POI的机会.但是我没有.我只有坐标.
Overpass API gives opportunity to get POIs using your place name. But I don't have it. I have only coordinates.
我该怎么做?
推荐答案
使用周围声明!
<query type="node">
<around lat="..." lon="..." radius="..."/>
<has-kv k="amenity" v="cafe" />
</query>
<print />
在立交桥涡轮上尝试该示例!
这篇关于如何使用Overpass-api在我的景点附近获取景点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文