Enable CROP_TO_CUTLINE by default

Fixes https://hub.qgis.org/issues/15750
Please backport it where appropriate.
This commit is contained in:
Paolo Cavallini 2016-10-25 08:57:31 +02:00 committed by GitHub
parent 72e4cf7db0
commit 7470b55bbd

View File

@ -87,7 +87,7 @@ class ClipByMask(GdalAlgorithm):
self.addParameter(ParameterBoolean(self.ALPHA_BAND,
self.tr('Create and output alpha band'), False))
self.addParameter(ParameterBoolean(self.CROP_TO_CUTLINE,
self.tr('Crop the extent of the target dataset to the extent of the cutline'), False))
self.tr('Crop the extent of the target dataset to the extent of the cutline'), True))
self.addParameter(ParameterBoolean(self.KEEP_RESOLUTION,
self.tr('Keep resolution of output raster'), False))