Skip to content

Instantly share code, notes, and snippets.

@jlivni
Last active December 24, 2015 15:39
Show Gist options
  • Save jlivni/6821582 to your computer and use it in GitHub Desktop.
Save jlivni/6821582 to your computer and use it in GitHub Desktop.
Natural Earth vs Freebase - non matching country names (python dict at bottom). Freebase from non dissolved countries in type /location/country that had population >0
Freebase
------------------
Abkhazia
Bonaire
Buganda
Burma
Christmas Island
Cocos (Keeling) Islands
Collectivity of Saint Martin
East Timor
England
Faroe Islands
Georgia (country)
Guadeloupe
Iraqi Kurdistan
Ivory Coast
Kingdom of the Netherlands
Laos
Macau
Martinique
Mayotte
North Korea
Northern Ireland
Palestinian National Authority
Palestinian territories
Puntland
Republic of Ireland
Republic of Kosovo
Republic of Macedonia
Republic of the Congo
Republika Srpska
Saint Helena, Ascension and Tristan da Cunha
Scotland
South Georgia and the South Sandwich Islands
South Korea
The Bahamas
Tokelau
Vatican City
Wales
Wallis and Futuna
Zanzibar
Natty Earth
------------------
Akrotiri
Aland
Antarctica
Bahamas
Baikonur
Bajo Nuevo Bank (Petrel Is.)
Br. Indian Ocean Ter.
Clipperton I.
Congo
Coral Sea Is.
Cura?ao
Cyprus U.N. Buffer Zone
C?te d'Ivoire
Dem. Rep. Korea
Dhekelia
Faeroe Is.
Fr. S. Antarctic Lands
Georgia
Heard I. and McDonald Is.
Indian Ocean Ter.
Ireland
Korea
Kosovo
Lao PDR
Macao
Macedonia
Myanmar
Palestine
S. Geo. and S. Sandw. Is.
Saint Helena
Scarborough Reef
Serranilla Bank
Siachen Glacier
Spratly Is.
St-Barth?lemy
St-Martin
S?o Tom? and Principe
Timor-Leste
U.S. Minor Outlying Is.
USNB Guantanamo Bay
Vatican
Wallis and Futuna Is.
{'shp': ['Akrotiri', 'Aland', 'Antarctica', 'Bahamas', 'Baikonur', 'Bajo Nuevo Bank (Petrel Is.)', 'Br. Indian Ocean Ter.', 'Clipperton I.', 'Congo', 'Coral Sea Is.', 'Cura\xe7ao', 'Cyprus U.N. Buffer Zone', "C\xf4te d'Ivoire", 'Dem. Rep. Korea', 'Dhekelia', 'Faeroe Is.', 'Fr. S. Antarctic Lands', 'Georgia', 'Heard I. and McDonald Is.', 'Indian Ocean Ter.', 'Ireland', 'Korea', 'Kosovo', 'Lao PDR', 'Macao', 'Macedonia', 'Myanmar', 'Palestine', 'S. Geo. and S. Sandw. Is.', 'Saint Helena', 'Scarborough Reef', 'Serranilla Bank', 'Siachen Glacier', 'Spratly Is.', 'St-Barth\xe9lemy', 'St-Martin', 'S\xe3o Tom\xe9 and Principe', 'Timor-Leste', 'U.S. Minor Outlying Is.', 'USNB Guantanamo Bay', 'Vatican', 'Wallis and Futuna Is.'], 'csv': ['Abkhazia', 'Bonaire', 'Buganda', 'Burma', 'Christmas Island', 'Cocos (Keeling) Islands', 'Collectivity of Saint Martin', 'East Timor', 'England', 'Faroe Islands', 'Georgia (country)', 'Guadeloupe', 'Iraqi Kurdistan', 'Ivory Coast', 'Kingdom of the Netherlands', 'Laos', 'Macau', 'Martinique', 'Mayotte', 'North Korea', 'Northern Ireland', 'Palestinian National Authority', 'Palestinian territories', 'Puntland', 'Republic of Ireland', 'Republic of Kosovo', 'Republic of Macedonia', 'Republic of the Congo', 'Republika Srpska', 'Saint Helena, Ascension and Tristan da Cunha', 'Scotland', 'South Georgia and the South Sandwich Islands', 'South Korea', 'The Bahamas', 'Tokelau', 'Vatican City', 'Wales', 'Wallis and Futuna', 'Zanzibar']}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment