[FEATURE]: Enable COG creation
See original GitHub issueCurrently COGs can’t be created from within solaris
. I did try to implement it, but ran into an error when I tried to do so:
RasterioIOError: Read or write failed. Writing through VRTSourcedRasterBand is not supported.
This was a GDAL CPLE_-originating error. Googling around, this seems like it’s not restricted to rio_cogeo
, but the way writing is implemented in rio_cogeo
could be the source of it. Alternatively, it could be an issue with the fact that I have both GDAL python bindings and rasterio installed in the environment. I got the same error when I just tried to run rio_cogeo.cogeo.cog_translate()
directly in a Jupyter notebook on a GeoTIFF (not within the solaris
functionality).
Two things I need to do to test this:
- create a new conda environment with no GDAL installed outside of rasterio and rio_cogeo, and see if I still have the same issue. If not, then this is likely a consequence of installing both GDAL and rasterio and we’ll need to figure out how to resolve that.
- If the above doesn’t fix the problem, submit an issue to the
rio_cogeo
repository.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
GeoExamples - Cloud Optimized GeoTIFF tutorial
The easiest way to create a COG is using the GDAL command line interface. If the GeoTIFF data is created from a script...
Read more >COG – Cloud Optimized GeoTIFF generator - GDAL
This driver supports the creation of Cloud Optimized GeoTIFF (COG). It essentially relies upon the GTiff – GeoTIFF File Format driver with the ......
Read more >COGs in production. Leveraging Cloud Optimised GeoTIFFs…
1. Generating VRTs from separate rasters. GDAL enables raster datasets to be created virtually from other raster datasets without copying all of ...
Read more >COG — Blog - open.gis.lab
The version of GDAL is important to know as version 3.1 has a built in COG driver that support COG creation. Step 2:...
Read more >Cloud GeoTiff Backed Earth Engine Assets - Google Developers
When a COG-backed asset is created, Earth Engine reads the metadata of the TIFF in Cloud Storage and creates asset store entry. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nrweir I’ll have a look, please feel free to tag me on any rio-tiler/rio-cogeo/rasterio issues
@nrweir excellent, yes please feel free to share any tips or open a PR 😄