Skip to content

Commit 8a5fb3a

Browse files
nicogodetnyalldawson
authored andcommittedMar 28, 2023
Add -overwrite to gdalwarp permanently
1 parent 0a387cc commit 8a5fb3a

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.