Skip to content
Permalink
Browse files

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

  • Loading branch information
alexbruy committed Mar 25, 2016
1 parent 660bb27 commit 619356ea1c1d1a0147ec7601e33af813ac68f506
@@ -151,6 +151,8 @@ def getConsoleCommands(self):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)

arguments.append("-wo OPTIMIZE_SIZE=TRUE")

arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)

@@ -186,6 +186,8 @@ def getConsoleCommands(self):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)

arguments.append("-wo OPTIMIZE_SIZE=TRUE")

arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)

@@ -182,6 +182,8 @@ def getConsoleCommands(self):
if len(bigtiff) > 0:
arguments.append("-co BIGTIFF=" + bigtiff)

arguments.append("-wo OPTIMIZE_SIZE=TRUE")

arguments.append(self.getParameterValue(self.INPUT))
arguments.append(out)

0 comments on commit 619356e

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