Skip to content
Permalink
Browse files

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

  • Loading branch information
nirvn committed Jul 16, 2018
1 parent fdaff06 commit 863a2f0fca29781c868b773e31e9f82c54246204
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 863a2f0

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