prograhammer / countries-regions-cities Goto Github PK
View Code? Open in Web Editor NEWMySQL ready-to-use tables with countries, regions/states and cities of the world.
MySQL ready-to-use tables with countries, regions/states and cities of the world.
Muchas gracias, es lo que estaba buscando, Excelente aporte.
Si alguien lo tiene más actual, enfocado para Ecuador, se los agradeceria
Saludos desde Ecuador
Dios los bendiga
there are no cities available for unitedkingdom
There are multiple occurrences of same cities with different latitude and longitude. It show millions of cities records in the world. There are 27,74,830 records in the cities table while there are 20,77,157 unique city records.
region names are empty for canada and few other countries.
I apologize. It's all right.
This database is not reliable for Brazil. It adds several cities to Sao Paulo, such as Vitoria and Vila Velha, that are actually in Espirito Santo. These are also listed in Espirito Santo so they are duplicated (and in the wrong region).
I can't confirm the full list of wrong cities, however it's interesting that the cities database brings 48k rows while it's known up to 38k cities in the world.
Hi David
Firstly, thanks for making the resource available; generally it been very helpful, but I'm afraid the data is not accurate enough to work with as I have found multiple issues. To name but a few:
I'm not sure of the source from which you created this data, but it appears to have some significant gaps.
Regards
Chris W
I found two problems.
1. SELECT * FROM regions WHERE regions.country_id=17
Bangladesh has 7 Division, though soon it may be 8. But U seen first row Name is empty.
2. SELECT *FROM cities INNER JOIN regions ON cities.region_id = regions.id WHERE cities.name = 'Dumuria'
City Dumuria has repeated 3 times. Though there is only one Dumuria, it is in Khulna. And same problem, One region name missed. Tough Dumuria is not city but it can be considered.
I have not checked any other.
Hello. How are you? Hope well.
Your project will be awesome to me. Thank you a lot... In my current database I use table prefixes to keep the tables that have the "same responsibility", something like a domain...
I get your project and put the prefix location_
in all tables. Does it is useful to you?
Hi,
I manually updated the script for MS SQL Server. Then, I exported the new script.
This is for those who are using this DB. Maybe you can add the zip to your depot?
Need to rename *.z0?.zip into *.z0? (could not upload a file larger than 10 Mb and not finishing by .zip).
SqlServerCountriesAndCities.zip
SqlServerCountriesAndCities.z03.zip
SqlServerCountriesAndCities.z04.zip
SqlServerCountriesAndCities.z01.zip
SqlServerCountriesAndCities.z02.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.