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:
- FrackingData Reverse-Geocoded Earthquakes from 1898-01-01 to date (updated on an approximately monthly basis).
- NCEDC_earthquakes_18980101_thru_20170518_reverse_geocoded_y_header.csv.7z
- comma-separated values, approximately 75 MB in size. compressed, 391 MB expanded
- NCEDC_earthquakes_18980101_thru_20170518_reverse_geocoded.sqlite.7z
- SQLite 3 database, approximately 162 MB in size, compressed, 1.1 GB expanded
- NCEDC_earthquakes_18980101_thru_20170518_reverse_geocoded_y_header.csv.7z
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
19 May 2017