Skip to content
Permalink
Browse files
gdaltools warp: overwrite existing files when not in batch mode
  • Loading branch information
etiennesky committed Jan 28, 2014
1 parent 469bcbf commit 921510d12f238f48ca19577976c83ff911c0f0e0
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/GdalTools/tools/doWarp.py
@@ -186,6 +186,8 @@ def fillTargetSRSEdit(self):

def getArguments(self):
arguments = []
if not self.isBatchEnabled():
arguments.append("-overwrite")
if self.sourceSRSCheck.isChecked() and self.sourceSRSEdit.text():
arguments.append("-s_srs")
arguments.append(self.sourceSRSEdit.text())

0 comments on commit 921510d

Please sign in to comment.