mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
crop to mask layer extent
This commit is contained in:
parent
2670283b06
commit
0e5baf4c13
@ -139,6 +139,8 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
|
||||
arguments << "-q"
|
||||
arguments << "-cutline"
|
||||
arguments << mask
|
||||
if Utils.GdalConfig.version() >= "1.8.0":
|
||||
arguments << "-crop_to_cutline"
|
||||
if self.alphaBandCheck.isChecked():
|
||||
arguments << "-dstalpha"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user