Skip to content
Permalink
Browse files

Merge pull request #25 from brushtyler/master

GdalTools clipper, crop to mask layer extent. will cherry-pick to release branch too.
  • Loading branch information
timlinux committed May 26, 2011
2 parents c2757d3 + 0e5baf4 commit db4fdee7fe741c34a79202bf8b7c1baba34e80eb
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 db4fdee

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