Skip to content
Permalink
Browse files

[processing] add workaround for GDAL regression with cutlines (fix #1…

  • Loading branch information
alexbruy committed Oct 25, 2016
1 parent d0da880 commit 323c6582c605362dfe6e6db734a40923c9fc3e21
@@ -193,6 +193,9 @@ def getConsoleCommands(self):

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 @@ def getConsoleCommands(self):

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)

0 comments on commit 323c658

Please sign in to comment.
You can’t perform that action at this time.