summaryrefslogtreecommitdiff
path: root/htdocs/geojson/update_all.sh
blob: 5a0bc61d9d1aa684c27f517ea54333bee049b48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

echo "OK."