Skip to content

Commit

Permalink
crop to mask layer extent
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed May 26, 2011
1 parent 2670283 commit 0e5baf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/GdalTools/tools/doClipper.py
Expand Up @@ -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"

Expand Down

0 comments on commit 0e5baf4

Please sign in to comment.