Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
27
22
|
I need a database of Countries and their Cities.
any idea where i can get it. or any one can share it with me ?
| |||
add a comment
|
18
|
There are quite a few available.
The following has database for 2,401,039 cities
| ||||||||
|
9
|
From all my searching around I strongly say that the most practical, accurate and free data source is provided by http://geonames.org.
You can access their data in 2 ways, 1. The easy way through their free web services. 2. Import their free text files into Database tables and use the data in any way you wish. This method offers much greater flexibility and have found that this method is better.
| ||
8
|
Go through this link http://www.maxmind.com/en/worldcities
It Includes the following fields:
| ||||||||
|
5
|
http://cldr.unicode.org/ - ommon standerd multilanguage database include country list and other localizable data.
| ||||||||||||
|
4
|
Check this out:
The company MaxMind.com1 has agreed to release their cities of the world database under the GPL. The database contains locations by country, city, latitude and longitude. There are over 3,047,000 records in the database. For those of you who have tried the location.module with the zipcodes database from CivicSpace, you will recognize how cool it is and how well this fits with that project and therefore Drupal.
Creating and maintaining such a database is quite a bit of work - so anyone who's done it is likely keeping it to themselves, or offering it for a fee.
| ||||||||||||
|
2
|
Have a look at WorldCitiesDatabase.Info Depending on what you need the database for, it may be the ideal solution. This one was designed for all sorts of multi-level location selector scripts, and so only contains a manageable amount of entries that would not stall the browser.
| ||
2
|
This database has multi languages country names, region names, city names and they's latitude and longitude number and country's alpha2 code .
| ||||
|
1
|
You can use database from here -
| |||
1
|
I was comparing worldcitiesdatabae.info with www.worldcitiesdatabase.com and it appears the latter one to be more resourceful. However, maxmind has a free database so then why buy a cities database. Just get the free one and there is lot of help available on internet about maxmind db. If you put in extra efforts then you can save those few bucks :)
| ||
1
|
have a cities of the world CSV dataset compiled from the USGS GNIS Server (US) and US NGA GNS Server (non-US), that I have placed into the public domain. Below is a link and metadata of the layout.
Column 1: ISO 3166-1 alpha-2 country code.
Column 2: US FIPS 5-2 1st level administrative division code (e.g., state/province). Column 3: NGA GNS Feature Description (DSG) code. Column 4: NGA GNS Unique Feature Identifier (UFI). Column 5: ISO 639-1 alpha-2/3 code for language corresponding to the feature name. Column 6: Language script (e.g., latin, arabic, chinese, etc) corresponding to the feature name. Column 7: Feature name. Column 8: Latitude coordinate of the area centroid. Column 9: Longitude coordinate of the area centroid. | ||
1
|
You can use GeographicDB, it contains about 270,000 major cities across 240+ countries all over the world.
| ||||
|
Not the answer you're looking for? Browse other questions tagged database countries or ask your own question.
asked
|
4 years ago
|
viewed
|
35821 times
|
active
|
Hot Network Questions
- How much is a "round" of butter? This is in an old pound cake recipe
- Are there any airliners not made by Airbus or Boeing?
- How can I properly dispose of rags used with Boiled Linseed Oil
- Design a non-computerized biometric door
- How many values determine a norm?
- Extra cantrip for High Elf?
- How can I tell if a string repeats itself in Python?
- Could there be a problem with my PhD supervisor (lack of assertiveness, essentially a "yes woman")?
- "Perfino" e "persino" si usano sempre ugualmente?
- Fire in a crowded theatre
- Lost 12 hours of progress; did I permanently kill the woman who Channels Blood Echoes into stat upgrades?
- Generate a pair of integers from a non-negative one
- What is the picture on the front of this edition of "The Two Towers"?
- Is it legal to bring Hentai/Yaoi from Japan to Europe (EEA)?
- What's the most entertaining way to prove to someone that they aren't real?
- Is the iPhone 6 more powerful than a Cray supercomputer?
- Is it legal to accept a later offer (e.g came after 15 April), despite having previously accepted an offer from a university before 15 April?
- How do I determine a file's original location?
- What's the next 1444444... square?
- Passing by value in Java
- What are the rules for breaking a glass with your voice?
- Why is HDMI->DVI image sharper than VGA?
- Why did Obi Wan use his lightsaber in the Mos Eisley Cantina?
- Why do people still refer to Voldemort as "Lord"?