mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
[processing] add workaround for GDAL regression with cutlines (fix #15746)
This commit is contained in:
parent
d0da880b8c
commit
323c6582c6
@ -193,6 +193,9 @@ class ClipByMask(GdalAlgorithm):
|
||||
|
||||
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
|
||||
|
||||
if GdalUtils.version() in [2010000, 2010100]:
|
||||
arguments.append("--config GDALWARP_IGNORE_BAD_CUTLINE YES")
|
||||
|
||||
arguments.append(self.getParameterValue(self.INPUT))
|
||||
arguments.append(out)
|
||||
|
||||
|
||||
@ -198,6 +198,9 @@ class warp(GdalAlgorithm):
|
||||
|
||||
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
|
||||
|
||||
if GdalUtils.version() in [2010000, 2010100]:
|
||||
arguments.append("--config GDALWARP_IGNORE_BAD_CUTLINE YES")
|
||||
|
||||
arguments.append(self.getParameterValue(self.INPUT))
|
||||
arguments.append(out)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user