all-the-cities icon indicating copy to clipboard operation
all-the-cities copied to clipboard

get state of city

Open sandrodesantis opened this issue 5 years ago • 3 comments

Hi,

Currently, the library doesn't return the state of the city and to some cases, there are cities duplicated in the same country, but it is correct because are a different state.

How can I get the state of the city, this enchantment is scheduled to next version or I need to use another library to complement the information.

Case need another library, could you me indicate one?

Thanks a lot,

sandrodesantis avatar Nov 16 '18 11:11 sandrodesantis

The data in this module comes from the cities1000 module, which is in turned derived from the data at http://download.geonames.org/export/dump/

Unfortunately, cities1000 is no longer maintained by its author, and though I've tried to reach out to him I never get responses any more. Also the build process used to convert the geonames data files into a module is not included in that repo. So.. we may need to start a new project to re-compile all that city data.

zeke avatar Nov 16 '18 18:11 zeke

@zeke Here is an updated version of the cities1000.txt: https://download.geonames.org/export/dump/cities1000.zip

baermathias avatar Oct 20 '20 14:10 baermathias

@zeke Are you planning to support adding State in the response?

drveresh avatar Dec 26 '20 16:12 drveresh