summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-05-28 17:42:55 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-05-28 17:42:55 +0100
commit79df3eba02f1414b5d7268ae5f0c7b47adb37c9f (patch)
tree8c5212285b6cfbc81e916b41f3545371a06a4565 /update.sh
parente4598474147b7250e798056a3bede51f30517c60 (diff)
downloadleaflet-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-xupdate.sh3
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