yaph / geonamescache

geonamescache - a Python library for quick access to a subset of GeoNames data.
https://pypi.org/project/geonamescache/
MIT License
99 stars 38 forks source link

Not all the cities #25

Closed tedescolor closed 3 years ago

tedescolor commented 3 years ago

I tried to use the package but actually the cities in italy are around 8092 and not 603 as len( [cities[key]['name'] for key in cities if cities[key]['countrycode'] == 'IT' ] )

yaph commented 3 years ago

The dataset only contains cities above 15000 inhabitants. You find more info about the data source here http://download.geonames.org/export/dump/readme.txt