As I promised earlier, I’ve downloaded earthquakes from NCEDC’s web site (1898 to date), reverse-geocoded them via GeoNames and K-D Trees (thereby obtaining their country, state, county, and city/village values), archived the resulting files via 7-ZIP and uploaded both the CSV and SQLite datasets to:
- NCEDC_earthquakes_18980101_thru_20160911_reverse_geocoded.csv.7z
- pipe-separated values, approximately 67 MB in size
- NCEDC_earthquakes_18980101_thru_20160911_reverse_geocoded.sqlite.7z
- SQLite 3 database, approximately 208 MB in size
I have authored a program in Python 3 that reverse-geocodes (via GeoNames and K-D Trees) the lat/longs into their respective countries, states, counties, and cities/villages. This is the link to the open-source Python 3 reverse-geocoder project. The program processes nearly 3 million rows in approximately 240 seconds.
Khepry Quixote
11 Sep 2016