Skip to content
Browse files

[processing] don't set any default value for optional NODATA parameter

in GDAL rastrize algorithm (fix #39752).

As this is optional parameter better to have it not set by default to
avoid unexpected conversion of valid values to nodata values.

(cherry picked from commit fe58d49)
  • Loading branch information
alexbruy authored and nyalldawson committed Dec 21, 2020
1 parent 0a7500d commit af18a3b5b9818bf3f7e83643185984b4ea5de9b4
Showing with 0 additions and 1 deletion.
  1. +0 −1 python/plugins/processing/algs/gdal/
@@ -99,7 +99,6 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterNumber(self.NODATA,'Assign a specified nodata value to output bands'),

options_param = QgsProcessingParameterString(self.OPTIONS,

0 comments on commit af18a3b

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