gx0r / rrgeo

A fast, offline, reverse geocoder
Apache License 2.0
122 stars 10 forks source link

More information about bundled cities.csv file #10

Open jqnatividad opened 1 year ago

jqnatividad commented 1 year ago

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.

gx0r commented 1 year ago

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.

estin commented 1 year ago

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