https://www.airborneresearch.org.au/fires-2020
for f in *.zip; do
unzip -j "$f"
done
!/bin/sh | |
setoptions=`curl \ -X POST \ --header 'Content-Type: application/json' \ --data '{ "name": "camera.setOptions", "parameters": { "options": { "captureMode": "interval", "captureInterval": 2 } }}' \ http://192.168.43.1:6624/osc/commands/execute | jq '.state'` | |
startcapture=`curl \ -X POST \ --header 'Content-Type: application/json' \ --data '{"name": "camera.startCapture"}' \ http://192.168.43.1:6624/osc/commands/execute | jq '.state'` | |
termux-toast -g bottom "$setoptions - $startcapture" |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<!-- | |
This file is licenced CC0 http://creativecommons.org/publicdomain/zero/1.0/ | |
--> | |
<head> | |
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> | |
<title>Leaflet Maps Side by Side</title> | |
<link rel="stylesheet" href="/javascript/leaflet/leaflet.css" type="text/css" /> | |
<!--[if lte IE 8]><link rel="stylesheet" href="/javascript/leaflet/leaflet.ie.css" /><![endif]--> | |
<style type="text/css"> |
#!/bin/bash | |
WIDTH=`gdalinfo -json $FILE | jq .size[0]` | |
MINX=`gdalinfo -json $FILE | jq .wgs84Extent.coordinates[0][0][0]` | |
MAXX=`gdalinfo -json $FILE | jq .wgs84Extent.coordinates[0][2][0]` | |
MAXZOOM=`echo "l( ( 360 * $WIDTH ) / ( 256 * ( $MAXX - $MINX ) ) ) / l(2)" | bc -l | perl -nl -MPOSIX -e 'print ceil($_);'` | |
# 2^n tiles at zoom n | |
# therefore 2^n * 256 pixels of width for the world at zoom n | |
# therefore 360 / (2^n * 256) degrees per pixel at zoom n |
https://www.airborneresearch.org.au/fires-2020
for f in *.zip; do
unzip -j "$f"
done
https://blog.maxar.com/open-data-program/2020/open-data-response-to-the-australian-wildfires
List all imagery:
wget -O - 'https://www.digitalglobe.com/ecosystem/open-data/australia-wildfires' 2>/dev/null | grep -o 'https://opendata[^"]*\.tif' | sort | uniq 2>/dev/null
Download all imagery:
wget http://download.openstreetmap.fr/extracts/oceania/australia/new_south_wales.osm.pbf
osmium tags-filter new_south_wales.osm.pbf w/highway -o nsw-roads.osm.pbf
osmium export -o nsw-roads.geojson nsw-roads.osm.pbf
ogr2ogr -f GPKG nsw-roads.gpkg nsw-roads.geojson
ogr2ogr -dialect OGRSQL -sql "SELECT geom FROM \"nsw-roads\" WHERE OGR_GEOMETRY='LineString'" nsw-roads.shp nsw-roads.gpkg
# in QGIS
# Vector > Geoprocessing Tools > Buffer
# buffer distance 0.0005
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.css' rel='stylesheet' /> | |
<script src='https://unpkg.com/three@0.106.2/build/three.min.js'></script> | |
<script src="https://unpkg.com/three@0.106.2/examples/js/loaders/GLTFLoader.js"></script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
body { |