Get countries within range of LAT/LONG coordinates
Posted
by ptrn
on Stack Overflow
See other posts from Stack Overflow
or by ptrn
Published on 2010-04-19T17:20:20Z
Indexed on
2010/04/19
17:23 UTC
Read the original article
Hit count: 226
Trouble!
I'm looking for a way to find the countries within a given range of LAT/LONG coordinates.
E.g.:
When viewing a place in Africa in Google Maps, I get out which countries that are in my current view.
This is a bit ambitious, and I think the main problem will be dealing with accuracy of the needed polygons. The accuracy of these don't need to be all that great, the borders can probably be tens of miles off, or even more.
This will be needed for the entire world.
© Stack Overflow or respective owner