Skip to content

Instantly share code, notes, and snippets.

@dominikkukacka
Last active December 26, 2016 22:25
Show Gist options
  • Save dominikkukacka/ae34c22b7e8b9bedeeffeeee6b63840d to your computer and use it in GitHub Desktop.
Save dominikkukacka/ae34c22b7e8b9bedeeffeeee6b63840d to your computer and use it in GitHub Desktop.
pelias countries
[
'Socialist Republic of Vietnam',
'Republic of Mozambique',
'Slovak Republic',
'Saint Lucia',
'Montenegro',
'Union of Burma',
'Kingdom of Bhutan',
'Bhutan',
'Panama',
'Angola',
'Djibouti',
'Guadeloupe',
'India',
'Martinique',
'Lebanon',
'North Korea',
'Marshall Islands',
'Mauritania',
'Kiribati',
'Denmark',
'France',
'Slovenia',
'Ireland',
'Republic of Iraq',
'Republic of Nicaragua',
'Solomon Islands',
'Republic of Costa Rica',
'Maldives',
'Turkey',
'Jordan',
'Colombia',
'Belize',
'Morocco',
'Czech Republic',
'Germany',
'Serbia',
'Republic of Zimbabwe',
'Republic of Poland',
'Grand Duchy of Luxembourg',
'Republic of Maldives',
'Democratic People’s Republic of Korea',
'Plurinational State of Bolivia',
'Republic of Bulgaria',
'Republic of Colombia',
'Niger',
'Japan',
'Haiti',
'Barbados',
'Sao Tome and Principe',
'Republic of Uzbekistan',
'Syrian Arab Republic',
'Hungary',
'Papua New Guinea',
'Senegal',
'Antigua and Barbuda',
'Gambia',
'Mozambique',
'Hungary',
'Lithuania',
'Co-operative Republic of Guyana',
'Republic of Ghana',
'Republic of Korea',
'Republic of Rwanda',
'Kingdom of Belgium',
'Republic of Malta',
'Republic of Trinidad and Tobago',
'Republic of Yemen',
'Kingdom of Thailand',
'Central African Republic',
'Republic of Angola',
'Republic of Niger',
'Republic of Iceland',
'Kingdom of Norway',
'South Korea',
'Mauritius',
'Gabon',
'Argentina',
'China',
'Malta',
'Portugal',
'San Marino',
'Republic of Kenya',
'Principality of Monaco',
'Republic of Sierra Leone',
'Republic of Tunisia',
'Commonwealth of The Bahamas',
'Republic of Belarus',
'Kingdom of Bahrain',
'Commonwealth of Australia',
'Lesotho',
'Honduras',
'Philippines',
'Tuvalu',
'Netherlands',
'Netherlands',
'Republic of Seychelles',
'Grenada',
'Republic of Guatemala',
'Republic of Finland',
'Malaysia',
'Federal Republic of Nigeria',
'Kingdom of Cambodia',
'Federation of Saint Kitts and Nevis',
'Federal Democratic Republic of Nepal',
'New Zealand',
'Belize',
'Democratic Republic of the Congo',
'Barbados',
'Republic of Singapore',
'Republic of Slovenia',
'Kingdom of Saudi Arabia',
'Vatican',
'Saint Pierre and Miquelon',
'Malawi',
'Kuwait',
'Mexico',
'State of the Vatican City',
'Independent State of Papua New Guinea',
'Togolese Republic',
'People’s Democratic Republic of Algeria',
'Kingdom of Lesotho',
'Republic of Albania',
'Republic of Tajikistan',
'Equatorial Guinea',
'Ivory Coast',
'Isle of Man',
'Cape Verde',
'Belgium',
'Republic of Kazakhstan',
'Republic of Liberia',
'Republic of Madagascar',
'Republic of Peru',
'Dominica',
'Argentine Republic',
'Republic of Armenia',
'United Nations',
'Myanmar',
'Burundi',
'Bangladesh',
'Hong Kong S.A.R.',
'El Salvador',
'Saint Kitts and Nevis',
'Bolivia',
'Ireland',
'Poland',
'Ukraine',
'Republic of France',
'Principality of Liechtenstein',
'Republic of Djibouti',
'Bangladesh',
'Republic of Senegal',
'Paraguay',
'Iran',
'Belarus',
'Guyana',
'Indian Ocean Territories',
'United Arab Emirates',
'Sudan',
'State of Qatar',
'România',
'Republic of Zambia',
'Kingdom of Spain',
'State of Kuwait',
'Hashemite Kingdom of Jordan',
'Republic of Kiribati',
'Kingdom of Morocco',
'Republic of Suriname',
'Republic of Uganda',
'Turkmenistan',
'Saudi Arabia',
'Aruba',
'Macedonia',
'Guatemala',
'East Timor',
'Georgia',
'Italy',
'Slovakia',
'Sao Tome and Principe',
'Democratic Republic of Timor-Leste',
'Republic of Botswana',
'Republic of Côte d’Ivoire',
'Republic of Honduras',
'Indonesia',
'French Guiana',
'Botswana',
'Qatar',
'Kazakhstan',
'Central African Republic',
'Sierra Leone',
'Tajikistan',
'Namibia',
'Guernsey',
'Greece',
'Greenland',
'Repubblica di San Marino',
'Lao People’s Democratic Republic',
'Mongolia',
'Republic of Malawi',
'Republic of Mali',
'Bosnia and Herzegovina',
'Switzerland',
'Taiwan',
'Benin',
'Somalia',
'Uruguay',
'Republic of Congo',
'Saint Vincent and the Grenadines',
'Azerbaijan',
'Bulgaria',
'Brazil',
'Estonia',
'Latvia',
'Kyrgyz Republic',
'Georgia',
'Libya',
'South Sudan',
'Somalia',
'Republic of Chile',
'Principality of Andorra',
'United Republic of Tanzania',
'Saint Vincent and the Grenadines',
'Repubblica Italiana',
'Sultanate of Oman',
'Republic of the Sudan',
'Bahrain',
'Oman',
'Western Sahara',
'The Bahamas',
'Libya',
'Democratic Republic of the Congo',
'Russia',
'Antarctica',
'Nigeria',
'Switzerland',
'Luxembourg',
'Norway',
'Republic of Namibia',
'United Kingdom of Great Britain and Northern Ireland',
'State of Eritrea',
'Japan',
'Republic of the Philippines',
'Kingdom of the Netherlands',
'Republic of Panama',
'Independent State of Samoa',
'Kingdom of Tonga',
'Islamic Republic of Afghanistan',
'Jamaica',
'Curacao',
'Algeria',
'Uganda',
'Somaliland',
'Fiji',
'Iceland',
'Kosovo',
'Liechtenstein',
'Kingdom of Swaziland',
'Republic of Cabo Verde',
'Republic of Ecuador',
'Republic of Estonia',
'Lebanon',
'Union of the Comoros',
'Bolivarian Republic of Venezuela',
'Madagascar',
'Ethiopia',
'Sri Lanka',
'Kenya',
'Grenada',
'Saint Lucia',
'Dominica',
'Egypt',
'Cuba',
'Kyrgyzstan',
'Spain',
'Finland',
'New Zealand',
'Sweden',
'Republic of El Salvador',
'Republic of Moldova',
'Mexico',
'Tuvalu',
'Kingdom of Sweden',
'Republic of India',
'Republic of Haiti',
'Republic of Cuba',
'Republic of Azerbaijan',
'Republic of Austria',
'Islamic Republic of Pakistan',
'Russian Federation',
'Ghana',
'Zimbabwe',
'Comoros',
'Thailand',
'Palau',
'Tonga',
'Zambia',
'Solomon Islands',
'Swaziland',
'Malaysia',
'Nauru',
'Brunei',
'United Kingdom',
'Moldova',
'State of Israel',
'Republic of Turkey',
'Ukraine',
'Arab Republic of Egypt',
'Islamic Republic of Mauritania',
'Republic of Lithuania',
'Canada',
'Federative Republic of Brazil',
'Macao S.A.R',
'Ecuador',
'Chad',
'Taiwan',
'Federated States of Micronesia',
'Nepal',
'Bosnia and Herzegovina',
'Australia',
'Portuguese Republic',
'Republic of Kosovo',
'Republic of Guinea',
'Republic of Guinea-Bissau',
'Republic of Benin',
'Antigua and Barbuda',
'Republic of Fiji',
'Gabonese Republic',
'Sint Maarten',
'Iraq',
'Cameroon',
'Albania',
'Uzbekistan',
'Togo',
'South Sudan',
'Turkmenistan',
'Guinea',
'South Africa',
'Republic of Chad',
'Czechia',
'Hellenic Republic',
'Kingdom of Denmark',
'Jamaica',
'Republic of South Africa',
'Serbia',
'Brunei Darussalam',
'Tanzania',
'Laos',
'Trinidad and Tobago',
'Rwanda',
'Mongolia',
'Costa Rica',
'Peru',
'Mali',
'Singapore',
'Guinea Bissau',
'Monaco',
'Romania',
'Republic of Macedonia',
'Republic of Latvia',
'Oriental Republic of Uruguay',
'Republic of Cyprus',
'Burkina Faso',
'Republic of the Congo',
'United Arab Emirates',
'Burkina Faso',
'Vanuatu',
'Andorra',
'Yemen',
'Jersey',
'Seychelles',
'Tunisia',
'Republic of Mauritius',
'Republic of Paraguay',
'Republic of Croatia',
'United States',
'Republic of Burundi',
'Venezuela',
'Cambodia',
'Samoa',
'Armenia',
'Eritrea',
'Chile',
'Croatia',
'Dominican Republic',
'Federal Democratic Republic of Ethiopia',
'Gambia',
'Republic of Indonesia',
'Nauru',
'Republic of Vanuatu',
'Afghanistan',
'Liberia',
'Reunion',
'Suriname',
'Pakistan',
'Montenegro',
'Austria',
'Canada',
'Palestine',
'Federal Republic of Germany',
'People’s Republic of China',
'Republic of Cameroon',
'Islamic Republic of Iran',
'Republic of Equatorial Guinea',
'Democratic Socialist Republic of Sri Lanka',
'Israel',
'Syria',
'Cyprus',
'Mayotte',
'Nicaragua',
'Dominican Republic',
'Vietnam',
'United States'
]
[
{
"_index": "pelias",
"_type": "country",
"_id": "85632727",
"_score": 1,
"_source": {
"center_point": {
"lon": -68.249092,
"lat": 12.194274
},
"parent": {
"country": [
"Netherlands"
],
"country_a": [
null
],
"country_id": [
"85632727"
]
},
"bounding_box": "{\"min_lat\":12.028721809,\"max_lat\":17.648555756,\"min_lon\":-68.419555664,\"max_lon\":-62.942943573}",
"name": {
"default": "Netherlands"
},
"source": "whosonfirst",
"source_id": "85632727",
"layer": "country"
}
},
{
"_index": "pelias",
"_type": "country",
"_id": "85633337",
"_score": 1,
"_source": {
"center_point": {
"lon": 5.501896,
"lat": 52.554205
},
"parent": {
"country": [
"Netherlands"
],
"country_a": [
"NLD"
],
"country_id": [
"85633337"
]
},
"bounding_box": "{\"min_lat\":50.7506675,\"max_lat\":53.565815,\"min_lon\":3.30944,\"max_lon\":7.2309025}",
"name": {
"default": "Netherlands"
},
"alpha3": "NLD",
"source": "whosonfirst",
"source_id": "85633337",
"layer": "country",
"population": 16645000
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment