Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GDAL translate algorithm: Default value for EXPAND, make PROJWIN opti…
…onal
  • Loading branch information
jdugge committed Feb 14, 2017
1 parent eaa97f3 commit 063c80e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/gdal/translate.py
Expand Up @@ -80,11 +80,11 @@ def defineCharacteristics(self):
self.tr("Nodata value, leave blank to take the nodata value from input"),
'', optional=True))
self.addParameter(ParameterSelection(self.EXPAND,
self.tr('Expand'), ['none', 'gray', 'rgb', 'rgba']))
self.tr('Expand'), ['none', 'gray', 'rgb', 'rgba'], default=0))
self.addParameter(ParameterCrs(self.SRS,
self.tr('Output projection for output file [leave blank to use input projection]'), None, optional=True))
self.addParameter(ParameterExtent(self.PROJWIN,
self.tr('Subset based on georeferenced coordinates')))
self.tr('Subset based on georeferenced coordinates')), optional=True)
self.addParameter(ParameterBoolean(self.SDS,
self.tr('Copy all subdatasets of this file to individual output files'),
False))
Expand Down

0 comments on commit 063c80e

Please sign in to comment.