Skip to content

Commit

Permalink
Merge pull request #544 from mediagis/tiger
Browse files Browse the repository at this point in the history
Upgrade to Tiger 2023
  • Loading branch information
philipkozeny authored Mar 20, 2024
2 parents a4dff7f + 581d762 commit 23dc630
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
-p 8004:8080 \
--name nominatim \
nominatim &
sleep 5
sleep 25
./assert-non-empty-json "http://localhost:8004/search.php?q=avenue%20pasteur"
${{ matrix.nominatim.update_command }}
./assert-non-empty-json "http://localhost:8004/search.php?q=avenue%20pasteur"
Expand Down
6 changes: 5 additions & 1 deletion 4.4/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ if [ -z "$THREADS" ]; then
THREADS=$(nproc)
fi

# we re-host the files on a Hetzner storage box because inconsiderate users eat up all of
# nominatim.org's bandwidth
# https://github.com/mediagis/nominatim-docker/issues/416

if [ "$IMPORT_WIKIPEDIA" = "true" ]; then
echo "Downloading Wikipedia importance dump"
${SCP}:wikimedia-importance.sql.gz ${PROJECT_DIR}/wikimedia-importance.sql.gz
Expand Down Expand Up @@ -40,7 +44,7 @@ else
fi;

if [ "$IMPORT_TIGER_ADDRESSES" = "true" ]; then
${SCP}:tiger2021-nominatim-preprocessed.csv.tar.gz ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz
${SCP}:tiger2023-nominatim-preprocessed.csv.tar.gz ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz
elif [ -f "$IMPORT_TIGER_ADDRESSES" ]; then
# use local file if asked
ln -s "$IMPORT_TIGER_ADDRESSES" ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz
Expand Down

0 comments on commit 23dc630

Please sign in to comment.