Fix update script
This commit is contained in:
parent
20b0fc53c2
commit
aea08f8f04
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue