Question

My iOS application use Apple Maps and need to find the nearest coordinates on the road or in the park. I cant find in API methods for that. Perhaps for this purpose is better to use Google Maps. How can i do it? I find some similar, but there is no straight answer.

Was it helpful?

Solution

OpenStreetMap query:

<query type="way">
  <around {{center}} radius="100.0"/>
  <has-kv k="highway"  />
</query>
<print />

example (see the data): http://overpass-turbo.eu/s/3iK

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top