Denis Mysenko
Denis Mysenko
@janisblaus good idea, but would be nice to return a collection for consistency purposes?
At the moment Geonames Id is the only public/third-party identification for cities. ISO doesn't issue city codes
@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...
You can't instantiate a city object like this! :) You have to use build() method and pass a city ID (that you can get from GeoIP/GeoNames for example)
yes, you are right :) I planned it but never added it. It's probably the only feature mentioned in the README that doesn't exist. It's pretty easy to implement though
Would you be up to make a PR with updated codes? :)
@gaetan-petit we would be glad if somebody added an extra language (Dutch in this case) You could take Geonames free database as a starting point - take whatever translations are...
@gaetan-petit I created a new repo https://github.com/MenaraSolutions/geographer-nl - I will fill it with publicly available translations (geonames) tomorrow, but then you will probably need to make some fixes via pull...
@gaetan-petit I added the language to the main package ("geographer") as well, and geographer-nl has an example of country list. Whenever you can update the translations - I'll merge it...
At the moment only cities with population of over 10,000 are included. If we include villages - database will grow dramatically