First night hacking

This commit is contained in:
Chandler Swift 2025-02-10 19:46:31 -06:00
parent 73f023d269
commit 754a0c425c
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
8 changed files with 209 additions and 0 deletions

7
scripts/fetch_sidewalk_data.sh Executable file
View 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