Skip to content

Country database with flags and geographical coordinates available in SQL, JSON and CSV formats

License

Notifications You must be signed in to change notification settings

cristiroma/countries

Repository files navigation

About

View the list of countries

Data set with world countries (multilingual names, flags, coordinates) in popular formats to integrate in projects.

Features:

  • MySQL and SQLite3 database dumps
  • JSON format
  • CSV format
  • Flags in SVG, PNG (128x64 and 32x16), and CSS sprite
  • Country 'center' coordinates & zoom hand-picked to optimally fit into a square Google Maps viewport
  • List of official UN Regions & assignment of countries to regions
  • Country codes from ISO 3166-1 / 3166-2 (ie. RO, ROU for România)

How to use

Look into the data/ directory for various formats. MySQL: $> cat data/mysql/country.sql | mysql -u username -p database

Similar projects

License

The national flags images cannot be copyrighted, while other parts are licensed as GPL v3 or newer.

About

Country database with flags and geographical coordinates available in SQL, JSON and CSV formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •