tags:

views:

1129

answers:

6

Where can one obtain an open source or licensable database of latitudes and longitudes for various cities?

+2  A: 

http://developer.yahoo.com/maps/rest/V1/geocode.html

EDIT: unclear why I was modded down, this will indeed give you lat/lon for a zip or city!

Nick
A: 

You could mine Wikipedia--the lat and lon are in the upper right of each page (see Moscow for example)--but there's probably a better way to do it.

jacobko
A: 

Here's one.

Ian Nelson
+7  A: 

Looks like MaxMind opened theirs up for free. See this post for more information and download it here.

jacobko
+4  A: 

Geonames has long/lat as well as city, postal and other location type data. It is free as well.

Dana the Sane
+3  A: 

If you need to host it locally or import it into your own database or gaz service, the USGS and NGA provide a comprehensive list of cities with lat/lon. It's updated reguarly, free, and reliable.

http://geonames.usgs.gov/

http://earth-info.nga.mil/gns/html/index.html

James Schek