Skip to content

GPU Image needs updated / upgraded (was: COG output driver not recognized due to downgraded GDAL version) #1864

@bockardo

Description

@bockardo

When running gdal_translate to convert a DSM to Cloud Optimized GeoTIFF (COG), I get the following error:

Output driver `COG' not recognised.
The following format drivers are configured and support output:

Full command:

gdal_translate -of COG -co NUM_THREADS=48 -co BLOCKSIZE=256 -co COMPRESS=DEFLATE -co PREDICTOR=2 -co BIGTIFF=IF_SAFER -co RESAMPLING=NEAREST --config GDAL_CACHEMAX 48.65% --config GDAL_NUM_THREADS 48 /var/www/data/7725ed96-af08-4645-9bc4-656cedd49456/odm_dem/dsm.tif /var/www/data/7725ed96-af08-4645-9bc4-656cedd49456/odm_dem/dsm_cogeo.tif

This used to work fine in a previous container build. After investigating, I found that the image now uses GDAL version 3.0.4 due to a dependency on ubuntugis/ubuntugis-unstable, whereas it previously used GDAL 3.4.3, which includes support for the COG driver.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions