[processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651)

This commit is contained in:
Alexander Bruy 2016-03-25 15:37:20 +02:00
parent 660bb27388
commit 619356ea1c
3 changed files with 6 additions and 0 deletions

View File

@ -151,6 +151,8 @@ class ClipByExtent(GdalAlgorithm):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)

View File

@ -186,6 +186,8 @@ class ClipByMask(GdalAlgorithm):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)

View File

@ -182,6 +182,8 @@ class warp(GdalAlgorithm):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)