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

search address

0

We are using the OSM API to fetch the addresses, but data is missing because we are not finding the name of the City.

To serve as an example for us, can someone help us find the full address of these coordinates:

-21.42532267149302, -50.066096329001404

asked 20 Oct '22, 00:46

JEAN's gravatar image

JEAN
11112
accept rate: 0%

In order to help other people to help you, it'd be really useful if you could describe what you expect to see and what you actually do see. Also please confirm what you mean when you say "we are using the OSM API to fetch the addresses".

(21 Oct '22, 10:28) SomeoneElse ♦

One Answer:

0

Output from nominatim (assuming that is what you mean with "OSM API") https://nominatim.openstreetmap.org/ui/search.html?q=-21.42532267149302%2C+-50.066096329001404

I would suggest reading the documentation https://nominatim.org/release-docs/develop/api/Overview/ and the use policy https://operations.osmfoundation.org/policies/nominatim/ for further information.

answered 20 Oct '22, 09:09

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .