How to get point of interest near my point using o

2019-06-23 22:14发布

I am using Overpass API.

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 gives opportunity to get POIs using your place name. But I don't have it. I have only coordinates.

How can I do that ?

1条回答
男人必须洒脱
2楼-- · 2019-06-23 22:33

Use the around statement!

<query type="node">
  <around lat="..." lon="..." radius="..."/>
  <has-kv k="amenity" v="cafe" />
</query>
<print />

Try this example on overpass turbo!

查看更多
登录 后发表回答