mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -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:
|
if len(bigtiff) > 0:
|
||||||
arguments.append("-co BIGTIFF=" + bigtiff)
|
arguments.append("-co BIGTIFF=" + bigtiff)
|
||||||
|
|
||||||
|
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
|
||||||
|
|
||||||
arguments.append(self.getParameterValue(self.INPUT))
|
arguments.append(self.getParameterValue(self.INPUT))
|
||||||
arguments.append(out)
|
arguments.append(out)
|
||||||
|
|
||||||
|
@ -186,6 +186,8 @@ class ClipByMask(GdalAlgorithm):
|
|||||||
if len(bigtiff) > 0:
|
if len(bigtiff) > 0:
|
||||||
arguments.append("-co BIGTIFF=" + bigtiff)
|
arguments.append("-co BIGTIFF=" + bigtiff)
|
||||||
|
|
||||||
|
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
|
||||||
|
|
||||||
arguments.append(self.getParameterValue(self.INPUT))
|
arguments.append(self.getParameterValue(self.INPUT))
|
||||||
arguments.append(out)
|
arguments.append(out)
|
||||||
|
|
||||||
|
@ -182,6 +182,8 @@ class warp(GdalAlgorithm):
|
|||||||
if len(bigtiff) > 0:
|
if len(bigtiff) > 0:
|
||||||
arguments.append("-co BIGTIFF=" + bigtiff)
|
arguments.append("-co BIGTIFF=" + bigtiff)
|
||||||
|
|
||||||
|
arguments.append("-wo OPTIMIZE_SIZE=TRUE")
|
||||||
|
|
||||||
arguments.append(self.getParameterValue(self.INPUT))
|
arguments.append(self.getParameterValue(self.INPUT))
|
||||||
arguments.append(out)
|
arguments.append(out)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user