2021-10-12 22:25:13 +03:00
|
|
|
# Installing TIGER housenumber data for the US
|
|
|
|
|
|
|
|
Nominatim is able to use the official [TIGER](https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html)
|
|
|
|
address set to complement the OSM house number data in the US. You can add
|
|
|
|
TIGER data to your own Nominatim instance by following these steps. The
|
|
|
|
entire US adds about 10GB to your database.
|
|
|
|
|
2022-10-04 15:19:36 +03:00
|
|
|
1. Get preprocessed TIGER data:
|
2021-10-12 22:25:13 +03:00
|
|
|
|
|
|
|
cd $PROJECT_DIR
|
2022-10-04 15:19:36 +03:00
|
|
|
wget https://nominatim.org/data/tiger-nominatim-preprocessed-latest.csv.tar.gz
|
2021-10-12 22:25:13 +03:00
|
|
|
|
|
|
|
2. Import the data into your Nominatim database:
|
|
|
|
|
2022-10-04 15:19:36 +03:00
|
|
|
nominatim add-data --tiger-data tiger-nominatim-preprocessed-latest.csv.tar.gz
|
2021-10-12 22:25:13 +03:00
|
|
|
|
2022-11-08 16:40:43 +03:00
|
|
|
3. Enable use of the Tiger data in your existing `.env` file by adding:
|
2021-10-12 22:25:13 +03:00
|
|
|
|
|
|
|
echo NOMINATIM_USE_US_TIGER_DATA=yes >> .env
|
|
|
|
|
|
|
|
4. Apply the new settings:
|
|
|
|
|
2022-11-08 16:40:43 +03:00
|
|
|
nominatim refresh --functions --website
|
2021-10-12 22:25:13 +03:00
|
|
|
|
|
|
|
|
|
|
|
See the [TIGER-data project](https://github.com/osm-search/TIGER-data) for more
|
|
|
|
information on how the data got preprocessed.
|
|
|
|
|