From c54af7c770219648376a6e5ddd4a2a97756163c0 Mon Sep 17 00:00:00 2001 From: Carla Date: Mon, 25 Aug 2014 12:33:47 +0200 Subject: [PATCH 1/2] add data sources --- geocoder/ip-addresses/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/geocoder/ip-addresses/README.md b/geocoder/ip-addresses/README.md index 5702d3c..f7ee266 100644 --- a/geocoder/ip-addresses/README.md +++ b/geocoder/ip-addresses/README.md @@ -5,11 +5,14 @@ IP address geocoder ### Creation steps -1. upload a new dataset to the geocoder table, call it latest_ip_address_locations +1. Upload a new dataset to the geocoder table, call it latest_ip_address_locations 2. Run the sql/build_data_table script to update the table ### Data Sources +GeoLite2 open source database [Created by MaxMind](http://www.maxmind.com) - +http://dev.maxmind.com/geoip/geoip2/geolite2/ Download the CSV [Geolite2 City](http://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip) + ### Preparation details From 8cd501a4be1b16e2184cb466985a7c0e3b22da0b Mon Sep 17 00:00:00 2001 From: Carla Date: Mon, 25 Aug 2014 12:38:52 +0200 Subject: [PATCH 2/2] modifies comment in sql for title --- geocoder/ip-addresses/sql/build_data_table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geocoder/ip-addresses/sql/build_data_table.sql b/geocoder/ip-addresses/sql/build_data_table.sql index dbf5dc3..93fc454 100644 --- a/geocoder/ip-addresses/sql/build_data_table.sql +++ b/geocoder/ip-addresses/sql/build_data_table.sql @@ -1,5 +1,5 @@ ----- Postal Code Polygon table --- +---- IP addresses table --- --- --- -- Clear table