Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add -overwrite to gdalwarp permanently
  • Loading branch information
nicogodet authored and nyalldawson committed Mar 29, 2023
1 parent 798e148 commit 7ec2808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/warp.py
Expand Up @@ -182,7 +182,7 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):
nodata = None
resolution = self.parameterAsDouble(parameters, self.TARGET_RESOLUTION, context)

arguments = []
arguments = ['-overwrite']
if sourceCrs.isValid():
arguments.append('-s_srs')
arguments.append(GdalUtils.gdal_crs_string(sourceCrs))
Expand Down

0 comments on commit 7ec2808

Please sign in to comment.