tl;dr : why hierarchy.zip does not store African places ?
full story
I'm trying to figure out how I can use Geonames to get a full list of towns/regions/countries' names, the list being sorted respecting the hierarchy (e.g. Earth > Antarctica > Bouvet Island).
So far I got an interesting result mixing the data from allCountries.zip and from hierarchy.zip; here are the first lines of the results :
Code:
Earth (6295630) [0.0, 0.0]
| Antarctica (6255152) [-78.15856, 16.40626]
| | Bouvet Island (3371123) [-54.43333, 3.4]
| | South Georgia and the South Sandwich Islands (3474415) [-56.0, -33.0]
| | Territory of Heard Island and McDonald Islands (1547314) [-53.11711, 73.50952]
| | Territory of the French Southern and Antarctic Lands (1546748) [-43.0, 67.0]
| | | Archipel des Kerguelen (1546558) [-49.25, 69.16667]
| | | La Terre-Adélie (6690917) [-59.99856, 138.9913]
| | | Îles Éparses de l'océan Indien (6690916) [-17.04333, 42.7448]
| | | | Glorioso Islands (1024037) [-11.5, 47.33333]
| | | | Juan de Nova Island (1024029) [-17.0558, 42.72712]
| | | | Tromelin Island (933908) [-15.89332, 54.52377]
| | | | Bassas da India (936202) [-21.41667, 39.7]
| | | Archipel des Crozet (936339) [-46.41667, 51.0]
| Asia (6255147) [29.84064, 89.29688]
| | Islamic Republic of Afghanistan (1149361) [33.0, 66.0]
[...]
The following continents are in the hierarchy.zip file :
Code:
Antarctica (6255152) [-78.15856, 16.40626]
Asia (6255147) [29.84064, 89.29688]
Europe (6255148) [48.69096, 9.14062]
North America (6255149) [46.07323, -100.54688]
Oceania (6255151) [-18.31281, 138.51562]
South America (6255150) [-14.60485, -57.65625]
Where is Africa ? The allCountries.zip file does contain African towns like Cape Town (index=3368972)
Is hierarchy.zip an outdated file ? Or are the missing informations stored somewhere else ?
Any help would be appreciated !