diff options
Diffstat (limited to 'scripts/geojson/maps/update_all.sh')
-rwxr-xr-x | scripts/geojson/maps/update_all.sh | 10 |
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 |