htdocs: geojson: Include train lines and water stuff
This commit is contained in:
parent
4625d4e25b
commit
e4689aeb56
@ -1,12 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
function fetch() {
|
||||
"./fetch_$1.sh" | json_reformat -m > "$1.json.tmp"
|
||||
rm -f "$1.json"
|
||||
mv "$1.json.tmp" "$1.json"
|
||||
if [[ "$3" != "" ]]; then
|
||||
fn="$3"
|
||||
else
|
||||
fn="$1"
|
||||
fi
|
||||
"./fetch_$1.sh" "$2" | json_reformat -m > "$fn.json.tmp"
|
||||
rm -f "$fn.json"
|
||||
mv "$fn.json.tmp" "$fn.json"
|
||||
}
|
||||
|
||||
fetch streets
|
||||
fetch city_outlines
|
||||
|
||||
echo "OK."
|
||||
fetch trainlines "Train Lines"
|
||||
fetch trainlines "Access Paths" trainlines_access
|
||||
fetch bodiesofwater "Rivers" rivers
|
||||
fetch bodiesofwater "Oceans, Seas, and Lakes" oceans
|
||||
|
Loading…
Reference in New Issue
Block a user