X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/46e077c40bf26eb92009fb04ff6f7dae92272e46..4fc5c2024bf42dd76825164b5d1110a7a602d384:/data-sources/us-tiger/README.md diff --git a/data-sources/us-tiger/README.md b/data-sources/us-tiger/README.md index dfb44c5f..40912198 100644 --- a/data-sources/us-tiger/README.md +++ b/data-sources/us-tiger/README.md @@ -1,20 +1,20 @@ # US TIGER address data -Convert [TIGER](https://www.census.gov/geo/maps-data/data/tiger.html)/Line dataset of the US Census Bureau to SQL files which can be imported by Nominatim. The created tables in the Nominatim database are separate from OpenStreetMap tables and get queried at search time separately. +Convert [TIGER](https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html)/Line dataset of the US Census Bureau to SQL files which can be imported by Nominatim. The created tables in the Nominatim database are separate from OpenStreetMap tables and get queried at search time separately. -The dataset gets updated once per year. Downloading is prown to be slow (can take a full day) and converting them can take hours as well. +The dataset gets updated once per year. Downloading is prone to be slow (can take a full day) and converting them can take hours as well. -Replace '2018' with the current year throughout. +Replace '2019' with the current year throughout. 1. Install the GDAL library and python bindings and the unzip tool # Ubuntu: sudo apt-get install python3-gdal unzip - 2. Get the TIGER 2018 data. You will need the EDGES files + 2. Get the TIGER 2019 data. You will need the EDGES files (3,233 zip files, 11GB total). - wget -r ftp://ftp2.census.gov/geo/tiger/TIGER2018/EDGES/ + wget -r ftp://ftp2.census.gov/geo/tiger/TIGER2019/EDGES/ 3. Convert the data into SQL statements. Adjust the file paths in the scripts as needed @@ -22,5 +22,5 @@ Replace '2018' with the current year throughout. ./convert.sh 4. Maybe: package the created files - - tar -czf tiger2018-nominatim-preprocessed.tar.gz tiger + + tar -czf tiger2019-nominatim-preprocessed.tar.gz tiger