Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top