mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651)
This commit is contained in:
parent
660bb27388
commit
619356ea1c
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user