rrgeo icon indicating copy to clipboard operation
rrgeo copied to clipboard

More information about bundled cities.csv file

Open jqnatividad opened this issue 2 years ago • 2 comments

Hi @gx0r ! First off, thanks again for this awesome library!

However, could you include some information on how the bundled cities.csv was prepared?

Specifically, how it was transformed to its current format from the files published by Geonames here - http://download.geonames.org/export/dump/?

Also, having a README when the cities.csv file was last updated would be great too!

I'm asking as I'd like to take advantage of the Locations::from_path method to upload the latest version from Geonames.

jqnatividad avatar Nov 09 '22 20:11 jqnatividad

Hello, I think it came from here originally: https://github.com/thampiman/reverse-geocoder/blob/master/README.md#features

And that file must have been from http://download.geonames.org/export/dump/ cities1000.zip file, and then appears to have been processed somehow.

I agree, would be very nice to update it and have in README last updated.

gx0r avatar Nov 10 '22 01:11 gx0r

I'm also interesting in methods to process Geonames data. Currently have own solution https://github.com/estin/geosuggest (inspired by rrgeo)

estin avatar Nov 10 '22 05:11 estin