Add script to update all Maps:-based jsons

feature/trainlines
Markus Koch 2020-04-26 17:30:59 +02:00
parent 916914d4e9
commit ff716d1036
1 changed files with 10 additions and 0 deletions

View File

@ -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