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 github-actions[bot] committed Mar 28, 2023
1 parent 6b8bb76 commit 7c4b74a
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 7c4b74a

Please sign in to comment.