Skip to content
Permalink
Browse files

[processing] make nodata parameter optional in gdal's warp algorithm

  • Loading branch information
nirvn authored and nyalldawson committed Jul 16, 2018
1 parent 4807611 commit dc2a1c52e8a749215251d8fb6493343f4fa484dd
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/gdal/warp.py
@@ -90,7 +90,8 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterNumber(self.NODATA,
self.tr('Nodata value for output bands'),
type=QgsProcessingParameterNumber.Double,
defaultValue=0.0))
defaultValue=None,
optional=True))
self.addParameter(QgsProcessingParameterNumber(self.TARGET_RESOLUTION,
self.tr('Output file resolution in target georeferenced units'),
type=QgsProcessingParameterNumber.Double,

0 comments on commit dc2a1c5

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