added scripts

This commit is contained in:
jomu
2016-07-14 11:50:00 +02:00
parent d09c113c6f
commit b7b461214c
11 changed files with 58 additions and 0 deletions

4
scripts/appendLatest.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
osmconvert --out-statistics /home/osm/import/$1/$1-latest.osm.pbf
/home/osm/bin/osm2pgsql --append --slim --flat-nodes /home/osm/temp/flat_nodes.bin --number-processes 2 --hstore --style /home/osm/openstreetmap-carto/openstreetmap-carto.style --multi-geometry -d gis -C 2000 /home/osm/import/$1/$1-latest.osm.pbf