Skip to content
Permalink
Browse files

crop to mask layer extent

  • Loading branch information
brushtyler committed May 26, 2011
1 parent 2670283 commit 0e5baf4c13286e2ff5f7f82547d90cdf2b61a8d6
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/GdalTools/tools/doClipper.py
@@ -139,6 +139,8 @@ def getArgsModeMask(self):
arguments << "-q"
arguments << "-cutline"
arguments << mask
if Utils.GdalConfig.version() >= "1.8.0":
arguments << "-crop_to_cutline"
if self.alphaBandCheck.isChecked():
arguments << "-dstalpha"

0 comments on commit 0e5baf4

Please sign in to comment.
You can’t perform that action at this time.