Skip to content

Commit fb59212

Browse files
author
Giovanni Manghi
committedApr 25, 2016
set nodata parameter as optional in GDAL clip by extent
1 parent 181c0c4 commit fb59212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def defineCharacteristics(self):
7373
self.INPUT, self.tr('Input layer'), False))
7474
self.addParameter(ParameterString(self.NO_DATA,
7575
self.tr("Nodata value, leave blank to take the nodata value from input"),
76-
''))
76+
'', optional=True))
7777
self.addParameter(ParameterExtent(self.PROJWIN, self.tr('Clipping extent')))
7878

7979
params = []

0 commit comments

Comments
 (0)
Please sign in to comment.