COG driver not found #272
-
Hello, I am trying to use this force docker image to produce some COG files with Also, running the container as root and upgrading GDAL to version Does anybody have any ideas on how to proceed with this error? Thank you! The log file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @charalamm, yes, COG is only available from GDAL >= 3.1. Our Docker container still runs on 3.0.4. However, the designated COG driver is only a convenient shortcut for producing COGs. They can also be generated using GeoTiff driver and some specific configuration options, please see here: Cheers, PS: if you really want to upgrade GDAL, it would be best to update the base image (https://github.com/davidfrantz/base_image), and then use this as basis for building a new FORCE. However, as said, accidents might happen as this GDAL version was not tested.. |
Beta Was this translation helpful? Give feedback.
-
Hello @davidfrantz! So, if I understand correctly there is no way to create COGs with FORCE without side effects since it is fully compatible only with GDAL 3.0.4. Even running FORCE without docker would require GDAL 3.0.4. Right? |
Beta Was this translation helpful? Give feedback.
Hi @charalamm,
yes, COG is only available from GDAL >= 3.1. Our Docker container still runs on 3.0.4.
Note that updating the GDAL version often breaks things. This is why I stick to versions that are rigorously tested.
However, the designated COG driver is only a convenient shortcut for producing COGs. They can also be generated using GeoTiff driver and some specific configuration options, please see here:
https://trac.osgeo.org/gdal/wiki/CloudOptimizedGeoTIFF
Cheers,
David
PS: if you really want to upgrade GDAL, it would be best to update the base image (https://github.com/davidfrantz/base_image), and then use this as basis for building a new FORCE. However, as said, accidents might happ…