-
-
Save ikshovon/b226ba99887a9be6986d90fb38db2589 to your computer and use it in GitHub Desktop.
Extract Australia data in a usable format from Microsoft road detections data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
ogr2ogr -f GPKG Oceania_AUS.gpkg AUS.geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment