Add script to update all Maps:-based jsons
This commit is contained in:
parent
916914d4e9
commit
ff716d1036
10
scripts/geojson/maps/update_all.sh
Executable file
10
scripts/geojson/maps/update_all.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user