Code Monkey home page Code Monkey logo

countries's Introduction

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.

countries's People

Contributors

anthelixes avatar cristiroma avatar popescustefanradu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

countries's Issues

Not working with laravel 5.4

Getting below Issue when executing composer update commond

PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::share() in C:\xampp\htdocs\gdaccess_james\vendor\thedevsaddam\world-countries\src\WorldCountriesServiceProvider.php on line 35
Script php artisan optimize handling the post-update-cmd event returned with error code 255

Republic of Congo (CG) Flag

Hi cristiroma,

Awesome work. The flags for Republic of Congo are not correct. Attached the correct ones with sizes formatted (128x64px and 32x16px)

Cheers
ca-32
cg-128

Make the country flags CSS sprite

Instead of having separate images, it would be optimal if I'll have one sprite with all the flags & a CSS classes. This would optimize the loading speed when all the flags are shown

Add Catalonia country

Hey guys,

Thanks for the API, could you add Catalonia as a country ?

Thanks in advance

Verify icon names

countryslug-size.png, for instance:

  • united_kingdom-128.png
  • cote_divoire-32.png

Make image flags of same size

Images (medium and small) do not have all the same size, re-size accordingly to a single dimension for each format.

The dividing method of seven continents is correct ?

The world is recognized:

North America, South America, Africa, Antarctica, Australia (Oceania), Europe, and Asia.

But in your region table:

1. Africa
2. Asia and the Pacific
3. Europe
4. Latin America and the Caribbean
5. North America
6. Polar: Arctic
7. West Asia

I want to know the reason of your divided

England or Scotland or Wales

Hey, I really appreciate what you have done here, it has saved me a lot work.
I am curious, however, why there is no Scotland or England or Wales within the 250 items?
I understand they are apart of the United Kingdom object, but they are also their own individual countries respectively.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.