adba / OpenWeatherMapAPI

iOS api classes for openweathermap.org
MIT License
256 stars 68 forks source link

cityname and cityids list from openweatherMapApi? #3

Closed steve21124 closed 11 years ago

steve21124 commented 11 years ago

Do have a total list of all city name and its cityid from openWeatherMapAPI?

adba commented 11 years ago

Hey there.

I don't think that openweathermap.org provides a list of names and city ids.

But as far as i can tell the id's are just plain geoNameIds which you can download from: http://www.geonames.org/ or more specifically from their dumps: http://download.geonames.org/export/dump/

For all geoNameId's and cityNames you want the allCountries.zip (~230MB)

Does this answer your question?

steve21124 commented 11 years ago

thanks. I have look at that site before but have not check if the geoNameId is the same id that openweathermap use... probably later in the day, I will check it again