i need to retrieve all the city names from a specific country using openstreet map or google maps. is there any API available?
or is there any other way of getting this world geographic data?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should definitely checkout GeoNames. They have the entire world in a standardized database. You can download it or use their API.
I download the US database and use a connector I created in C# to insert States, Cities, Towns, and Zip Codes in my database.
There is also Open Street Maps that you can download or use their API.
I do not suggest Yahoo’s new API they are cutting products left and right and you never know how long it will be around. Also you cannot download a whole dump currently.