mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[processing] change 0 to Not set Null values in Gdal Clip
This commit is contained in:
parent
d5ffc5a2d9
commit
9d7212f3d4
@ -67,7 +67,7 @@ class ClipRasterByExtent(GdalAlgorithm):
|
||||
self.addParameter(QgsProcessingParameterNumber(self.NODATA,
|
||||
self.tr('Assign a specified nodata value to output bands'),
|
||||
type=QgsProcessingParameterNumber.Double,
|
||||
defaultValue=0.0,
|
||||
defaultValue='',
|
||||
optional=True))
|
||||
|
||||
options_param = QgsProcessingParameterString(self.OPTIONS,
|
||||
|
@ -72,7 +72,7 @@ class ClipRasterByMask(GdalAlgorithm):
|
||||
self.addParameter(QgsProcessingParameterNumber(self.NODATA,
|
||||
self.tr('Assign a specified nodata value to output bands'),
|
||||
type=QgsProcessingParameterNumber.Double,
|
||||
defaultValue=0.0,
|
||||
defaultValue='',
|
||||
optional=True))
|
||||
self.addParameter(QgsProcessingParameterBoolean(self.ALPHA_BAND,
|
||||
self.tr('Create an output alpha band'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user