First night hacking
This commit is contained in:
parent
73f023d269
commit
754a0c425c
8 changed files with 209 additions and 0 deletions
7
scripts/fetch_sidewalk_data.sh
Executable file
7
scripts/fetch_sidewalk_data.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash --pure
|
||||
#! nix-shell -p bash curl cacert
|
||||
|
||||
# TODO: process out extraneous data
|
||||
|
||||
curl -s https://overpass-api.de/api/interpreter --data-urlencode 'data=[out:json];{{geocodeArea:Northern Arizona University}}->.searchArea;(way["highway"="footway"](area.searchArea);way["highway"="cycleway"](area.searchArea););out geom;' -o data/sidewalks.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue