1 # US TIGER address data
 
   3 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.
 
   5 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.
 
   7 Replace '2019' with the current year throughout.
 
   9   1. Install the GDAL library and python bindings and the unzip tool
 
  12         sudo apt-get install python3-gdal unzip
 
  14   2. Get the TIGER 2019 data. You will need the EDGES files
 
  15      (3,233 zip files, 11GB total).
 
  17          wget -r ftp://ftp2.census.gov/geo/tiger/TIGER2019/EDGES/
 
  19   3. Convert the data into SQL statements. Adjust the file paths in the scripts as needed
 
  21         cd data-sources/us-tiger
 
  22         ./convert.sh <input-path> <output-path>
 
  24   4. Maybe: package the created files
 
  26         tar -czf tiger2019-nominatim-preprocessed.tar.gz tiger