diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2014-05-28 17:42:55 +0100 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2014-05-28 17:42:55 +0100 |
commit | 79df3eba02f1414b5d7268ae5f0c7b47adb37c9f (patch) | |
tree | 8c5212285b6cfbc81e916b41f3545371a06a4565 /update.sh | |
parent | e4598474147b7250e798056a3bede51f30517c60 (diff) | |
download | leaflet-soton-79df3eba02f1414b5d7268ae5f0c7b47adb37c9f.tar leaflet-soton-79df3eba02f1414b5d7268ae5f0c7b47adb37c9f.tar.gz |
Add the osm2pgsql style
Also add a small script to do database updates
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..8fe6cc4 --- /dev/null +++ b/update.sh @@ -0,0 +1,3 @@ +#!/bin/bash +rm -f hampshire-latest.osm.pbf +wget http://download.geofabrik.de/europe/great-britain/england/hampshire-latest.osm.pbf && osm2pgsql -s -S osm2pgsql.style -d hampshire hampshire-latest.osm.pbf |