use flatnodes-mode of osm2pgsql
authorosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Tue, 4 Dec 2012 09:15:46 +0000 (10:15 +0100)
committerosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Tue, 4 Dec 2012 09:15:46 +0000 (10:15 +0100)
scripts/doosmupdate.sh

index e15f856d57207ffdb2af2229e5f63047c584710d..9491349eb7b0435b15744713a4a167e9be738c6e 100755 (executable)
@@ -10,6 +10,7 @@ WEBSTATEFILE=/var/www/lastdbupdate.txt
 # anyways due to the metatile-layout!
 UPDATECMD="/usr/bin/osm2pgsql --slim --cache=8000 --append --database=osm \
            --style=/home.local/osm/dbstyle/osm2pgsql-new.style \
 # anyways due to the metatile-layout!
 UPDATECMD="/usr/bin/osm2pgsql --slim --cache=8000 --append --database=osm \
            --style=/home.local/osm/dbstyle/osm2pgsql-new.style \
+           --flat-nodes=/mnt/database/flatnodes/flatnodes.db \
            --hstore --expire-tiles=17-17 \
            --expire-output=$EXPIRYFILE  $CHANGESFILE"
 
            --hstore --expire-tiles=17-17 \
            --expire-output=$EXPIRYFILE  $CHANGESFILE"
 
This page took 0.055755 seconds and 4 git commands to generate.