From aea08f8f041c72a4c2ffb816a1a0e481e9917aa5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 10 Sep 2024 14:26:44 +0200 Subject: [PATCH] Fix update script --- scripts/osm2pgsql/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/osm2pgsql/update.sh b/scripts/osm2pgsql/update.sh index f20c77889..d15c18f95 100755 --- a/scripts/osm2pgsql/update.sh +++ b/scripts/osm2pgsql/update.sh @@ -21,7 +21,7 @@ npm run create:database -- -- ${DATE/T.*//} cd ~/data || exit rm seeddb.log -osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi planet-latest.osm.pbf >> seeddb.log +osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi.${DATE} planet-latest.osm.pbf >> seeddb.log # To see the progress # tail -f seeddb.log