Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to get all cities from country #17

Open
vitalybaev opened this issue Apr 6, 2017 · 4 comments
Open

Ability to get all cities from country #17

vitalybaev opened this issue Apr 6, 2017 · 4 comments

Comments

@vitalybaev
Copy link

Hi, maybe I didn't investigated, but is there an ability to directly get cities within a country?
The problem is that some small countries doesn't have states, so I couldn't get cities for this country.

Thanks!

@dusterio
Copy link
Member

dusterio commented Apr 7, 2017

@vitalybaev hmm, one possibility would be setting the standard to Geonames - these countries still have Geonames cities. Looking at the data files, it would be quite easy to get all cities for a country directly, I may just implement it

@chriys
Copy link

chriys commented Aug 11, 2017

@vitalybaev do you have examples of country without states ?

@vellmur
Copy link

vellmur commented Oct 4, 2017

@vitalybaev did you find a solution about how to get all cities for a single country?

@vellmur
Copy link

vellmur commented Oct 4, 2017

@vitalybaev now I need to find some city by name, if I have a country. Now I can find only region by name. Can you please give recommendation where better to add code for getting all cities for a single country? Better with search option (id, name, code), because data is too big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants