https://www.airborneresearch.org.au/fires-2020
for f in *.zip; do
unzip -j "$f"
done
for f in *.jpg; do
srs="EPSG:28354"
b=`basename $f .jpg`
case $b in
WRa*)
srs="EPSG:28353"
;;
CygnetPark*)
srs="EPSG:28353"
;;
esac
gdal_translate -of 'VRT' -a_srs "$srs" $f $f.vrt
done
gdaltindex -f GeoJSON -t_srs 'EPSG:4326' index.geojson *.vrt
gdalwarp -t_srs 'EPSG:3857' -multi -wo NUM_THREADS=ALL_CPUS -co TILED=YES -co BLOCKXSIZE=256 -co BLOCKYSIZE=256 -co COMPRESS=JPEG -co BIGTIFF=YES *.vrt ARA.tiff
gdalwarp -of COG -t_srs 'EPSG:3857' -multi -wo NUM_THREADS=ALL_CPUS -co TILING_SCHEME=GoogleMapsCompatible -co COMPRESS=JPEG -co BIGTIFF=YES *.vrt ARA-COG.tiff
This has been folded into https://gitlab.com/andrewharvey/ara-cogeo