Closed kautlenbachs closed 1 year ago
COG driver does not support CREATE, rather an update or transformation. Hence a separate step needs to be added. https://saxenasanket.medium.com/cog-overview-and-how-to-create-and-validate-a-cloud-optimised-geotiff-b39e671ff013
gdaladdo -r average in.tif 2 4 8 16
gdal_translate in.tiff out.tiff -co COMPRESS=LZW -co TILED=YES -co COPY_SRC_OVERVIEWS=YES
python validate_cloud_optimized_geotiff.py out.tif
OR
Format after processing using GDAL