summaryrefslogtreecommitdiff
path: root/scripts/geojson/maps
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/geojson/maps')
-rwxr-xr-xscripts/geojson/maps/update_all.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/geojson/maps/update_all.sh b/scripts/geojson/maps/update_all.sh
new file mode 100755
index 0000000..22b9eee
--- /dev/null
+++ b/scripts/geojson/maps/update_all.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+function fetch() {
+ "./fetch_$1.sh" | json_reformat -m > "$1.json.tmp"
+ rm -f "$1.json"
+ mv "$1.json.tmp" "$1.json"
+}
+
+fetch streets
+fetch city_outlines