Skip to content

Instantly share code, notes, and snippets.

View rajexp's full-sized avatar

Rajan Chauhan rajexp

View GitHub Profile
@rajexp
rajexp / extract_aus.sh
Created January 3, 2023 09:06 — forked from johnwbryant/extract_aus.sh
Extract Australia data in a usable format from Microsoft road detections data
#!/bin/bash
# see https://github.com/microsoft/RoadDetections
# 1) get the data
wget https://usaminedroads.blob.core.windows.net/road-detections/Oceania-Full.zip
# 2) extract the records for Australia, second column of tsv only
zgrep AUS Oceania-Full.zip | cut -f2 > AUS.geojson
# 3) convert to GPKG, works better in QGIS