lifo-dijkstraserv/scripts/geojson/maps/update_all.sh

11 lines
166 B
Bash
Raw Permalink Normal View History

#!/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