Possible Duplicate:
Where can I get a list of all countries/cities to populate a listbox?
I am looking for a script to create all the countries. Somebody knows an free ISO list i can easily use in Ruby?
I can find lists on google but I am not lucky with a yaml, csv or SQL inserts.
I am also very interested in all the cities in Spain.
EDIT: Countries + Country code
Edit2: Just interested in all cities of Spain.
I believe this is what you’re looking for: http://download.geonames.org/export/dump/