Because of geonames.org's API limit, I tried to download its data dump to match with my record.

However, it seems like the allCountries.txt data dump seems incomplete with only ~ 7 million records. Indeed, Geonames.org claims to have over 11 million records.

For example, Guatemala City -- ID 0003598132 is available on the API, but not in the allCountries.txt.

Am I using the correct data dump? Or is there a more complete dump?

1 Answer 1


Are you sure that Guatemala City ID3598132 is not in your file ?

enter image description here

I used the version of allCountries.txt found here.

  • 1
    You are correct -- it's a failure of my parsing code.
    – Heisenberg
    Commented Feb 13, 2017 at 3:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.