Skip to content

Countries and cities data perfectly suited for using with autocomplete. Free for commercial use.

Notifications You must be signed in to change notification settings

alexeymezenin/country-city-sql-databse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Free for commercial use countries and cities data perfectly suited for using with autocomplete. Parsed from SimpleMaps

239 countries and 42905 cities.

The data is much cleaner than Geonames or several similar sources of geo data and perfectly suited for using with autocomplete (sort by population when doing a query).

The SQL file contains indexes and foreign key constraint and is ready to use.

I've also included parser, feel free to modify it for your own needs. Data source file is also included, or you can download a fresh copy from SimpleMaps

countries table structure

id country

cities table structure

id city country_id latitude longitude population

About

Countries and cities data perfectly suited for using with autocomplete. Free for commercial use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages