mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
GDAL translate algorithm: Default value for EXPAND, make PROJWIN optional
This commit is contained in:
parent
eaa97f367e
commit
063c80ee1d
@ -80,11 +80,11 @@ class translate(GdalAlgorithm):
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user