aboutsummaryrefslogtreecommitdiffstats
path: root/export_raster.py
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-08-14 13:58:59 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-08-14 16:02:17 +0200
commit878d693d3cda9dc667508889732614bdd9e31abd (patch)
treeeec1252140609c75c68b6fab010db2d2828f71ea /export_raster.py
parent4e2b96ad9f92ae497a4c88477de99f4ecc93c042 (diff)
Drop support for gdal <3.9.
Diffstat (limited to 'export_raster.py')
-rw-r--r--export_raster.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/export_raster.py b/export_raster.py
index 6f40e64..a2f23c1 100644
--- a/export_raster.py
+++ b/export_raster.py
@@ -218,8 +218,7 @@ def _processRaster2(_ : None, path : str, args : dict[str,Any],
creationOptions.append('RESAMPLING=NEAREST')
if gdalVersionMin(maj=3, min=11):
creationOptions.append('INTERLEAVE=BAND')
- if gdalVersionMin(maj=3, min=8):
- creationOptions.append('STATISTICS=YES')
+ creationOptions.append('STATISTICS=YES')
warpOptions = {
'format': 'COG',