Skip to content

Commit e9b6da1

Browse files
committedJul 16, 2018
[processing] change nodata default to none instead of 0 in gdal's translate alg
1 parent ab3a213 commit e9b6da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/gdal/translate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def initAlgorithm(self, config=None):
6969
self.addParameter(QgsProcessingParameterNumber(self.NODATA,
7070
self.tr('Assign a specified nodata value to output bands'),
7171
type=QgsProcessingParameterNumber.Double,
72-
defaultValue=0.0,
72+
defaultValue=None,
7373
optional=True))
7474
self.addParameter(QgsProcessingParameterBoolean(self.COPY_SUBDATASETS,
7575
self.tr('Copy all subdatasets of this file to individual output files'),

0 commit comments

Comments
 (0)
Please sign in to comment.