33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
.gitignore
|
|
|
|
!curl = |> curl -o %o |>
|
|
!unzip = |> unzip %f |> %B
|
|
|
|
# High-res LIDAR data is available but SPLAT! can't read it.
|
|
# TOOD: covert .las data to .sdf
|
|
# https://www.geotree.uni.edu/lidar/
|
|
# !fetch-lidar = |> curl https://geotree2.geog.uni.edu/IowaLidar/%o > %o |>
|
|
# : |> !fetch-lidar |> 06204614.las.7z
|
|
# : |> !fetch-lidar |> 06204614.xyzi.7z
|
|
: foreach *.7z |> 7z x %f |> %B
|
|
|
|
# SRTM data
|
|
!fetch-srtm = |> curl -o %o https://firmware.ardupilot.org/SRTM/North_America/%o |>
|
|
|
|
: |> !fetch-srtm |> N41W092.hgt.zip {hgtZip}
|
|
|
|
: foreach *hgt.zip |> !unzip |> %B
|
|
|
|
: N41W092.hgt |> srtm2sdf %f |> 41:42:91:92.sdf {sdf}
|
|
|
|
# Shapefiles
|
|
## use a throwaway account
|
|
IOWAGIS_USER = IlxJ
|
|
IOWAGIS_PASS = e/m1QIJV@tal{>+B:_/3~9_{]
|
|
# : |> !curl --user '$(IOWAGIS_USER):$(IOWAGIS_PASS)' https://www.iowagisdata.org/remote.php/webdav/County/Johnson/Open/%o |> fgdb_Cell_Towers.zip
|
|
|
|
: foreach *.qth | {sdf} |> splat -o %B -t %f -L 20 -db 56 -R 8 -kml |> \
|
|
%B.ppm %B-site_report.txt %B.kml %B.scf %B-ck.ppm
|
|
|
|
: foreach *.ppm |> gm convert %f %o |> %B.png
|