This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

API from string to latiture and logitude

0

I'm looking for an API to call where I can pass my string, for instance "Milan", and recive back the position in terms of latiture and longitude. Do you have this kind of API?

asked 11 Dec '12, 16:57

Rado's gravatar image

Rado
1111
accept rate: 0%


One Answer:

3

Yes, regular address lookup as well as reverse geocoding is provided by Nominatim. Take a look at the examples and also keep the usage policy in mind. If you have to do bulk address lookups then better install your own Nominatim instance.

answered 11 Dec '12, 18:02

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Source code available on GitHub .