Skip to content
Permalink
Browse files

[processing] change nodata default to none instead of 0 in gdal's tra…

…nslate alg
  • Loading branch information
nirvn authored and nyalldawson committed Jul 16, 2018
1 parent 5056139 commit 4ae948d0ad8c79bd4c75ee3c6cec525df30b0cda
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/translate.py
@@ -69,7 +69,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=None,
optional=True))
self.addParameter(QgsProcessingParameterBoolean(self.COPY_SUBDATASETS,
self.tr('Copy all subdatasets of this file to individual output files'),

0 comments on commit 4ae948d

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