Skip to content

Instantly share code, notes, and snippets.

@underchemist
Created October 18, 2019 21:25
Show Gist options
  • Save underchemist/cf010a3572f99c414f7b1db34fe489e5 to your computer and use it in GitHub Desktop.
Save underchemist/cf010a3572f99c414f7b1db34fe489e5 to your computer and use it in GitHub Desktop.
view extent of raster(s) on geojson.io
# requires rasterio, fiona, geojsonio-cli (npm or python clone)
rio bounds --feature *.tif | fio collect | geojsonio
# alternative
# find /path/to/some/dir -name "*.tif" -exec rio bounds --feature {} \; | fio collect | geojsonio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment