Geocode the world with the new Data Science Toolkit by Pete Warden.
From the post:
I’ve published a new version of the Data Science Toolkit, which includes David Blackman’s awesome TwoFishes city-level geocoder. Largely based on data from the Geonames project, the biggest improvement is that the Google-style geocoder now handles millions of places around the world in hundreds of languages:
Who or what do you want to locate? 😉