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

Reverse Geocode to Get Country

0

What is the best way to reverse geocode coordinates to get the country of any given coordinates?

Any help would be very much appreciated. Thanks in advance!

asked 15 Jan '24, 10:28

globetrotterfodder's gravatar image

globetrotter...
11112
accept rate: 0%


2 Answers:

1

Most of the services on the geocoding page of the wiki say the can do reverse geocoding. Do any of those meet your requirements?

answered 19 Jan '24, 18:13

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

0

@insertuser Yes, I began using the Nomi... one. I initially thought they had deprecated reverse geocoding, but it was only the PHP extension that was deprecated. Thanks for your response!

answered 19 Jan '24, 23:32

globetrotterfodder's gravatar image

globetrotter...
11112
accept rate: 0%

edited 19 Jan '24, 23:32

Source code available on GitHub .