Skip to content
Permalink
Browse files
[processing] change 0 to Not set Null values in Gdal Clip
  • Loading branch information
ghtmtt authored and nyalldawson committed May 17, 2018
1 parent d5ffc5a commit 9d7212f3d4e41d9fb46481d2b558fa7d28808d07
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/plugins/processing/algs/gdal/ClipRasterByExtent.py
  2. +1 −1 python/plugins/processing/algs/gdal/ClipRasterByMask.py
@@ -67,7 +67,7 @@ def initAlgorithm(self, config=None):
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 @@ def initAlgorithm(self, config=None):
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'),

0 comments on commit 9d7212f

Please sign in to comment.