Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a5501b

Browse files
nicogodetgithub-actions[bot]
authored andcommittedMar 28, 2023
Add -overwrite to gdalwarp permanently
1 parent 92153a5 commit 2a5501b

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/processing/algs/gdal

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/gdal/warp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):
182182
nodata = None
183183
resolution = self.parameterAsDouble(parameters, self.TARGET_RESOLUTION, context)
184184

185-
arguments = []
185+
arguments = ['-overwrite']
186186
if sourceCrs.isValid():
187187
arguments.append('-s_srs')
188188
arguments.append(GdalUtils.gdal_crs_string(sourceCrs))

0 commit comments

Comments
 (0)
Please sign in to comment.