Skip to content

v0.0.1

Latest
Compare
Choose a tag to compare
@scottyhq scottyhq released this 29 Apr 23:42
5ff43af

Instead of storing big data files in the repository you can upload them as release assets which are publicly available

https://titiler.xyz/cog/viewer?url=https://github.com/scottyhq/share-a-raster/releases/download/v0.0.1/LC08_L2SP_046027_20210725_20210803_02_T1_SR_B5.TIF

Or use GDAL

GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR gdalinfo /vsicurl/https://github.com/relativeorbit/workflows/releases/download/test/S1_064__20200604_20200616_VV_INT80_E0E3_dem_cog.tif

IMPORTANT NOTES:

  1. These URLs follow a series of redirects to eventually a signed URL valid for 5 minutes in AWS S3 us-east-1

  2. Don't abuse this! This approach is shoehorning a feature intended for software, not data releases. I think this works well for a handful of images, but this is not a long-term or high-performance storage strategy. You'll likely get much better performance serving your data directly from AWS S3 or another object store.