Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge conflict resolution on gdal clipper
  • Loading branch information
timlinux committed May 26, 2011
1 parent 7763ef7 commit 77f2e06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/GdalTools/tools/doClipper.py
Expand Up @@ -138,7 +138,10 @@ def getArgsModeMask(self):
arguments << "-q"
arguments << "-cutline"
arguments << mask
arguments << "-dstalpha"
if Utils.GdalConfig.version() >= "1.8.0":
arguments << "-crop_to_cutline"
if self.alphaBandCheck.isChecked():
arguments << "-dstalpha"

outputFn = self.getOutputFileName()
if not outputFn.isEmpty():
Expand Down

0 comments on commit 77f2e06

Please sign in to comment.