mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] make nodata parameter optional in gdal's warp algorithm
This commit is contained in:
parent
fdaff06abf
commit
863a2f0fca
@ -90,7 +90,8 @@ class warp(GdalAlgorithm):
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user