Skip to content

Commit

Permalink
[processing] fix #10662
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jun 20, 2014
1 parent b390b3e commit 260d55e
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 @@ -71,7 +71,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterSelection(self.EXPAND, 'Expand',
['none', 'gray', 'rgb', 'rgba']))
self.addParameter(ParameterCrs(self.SRS,
'Override the projection for the output file', None))
'Output projection for output file [leave blank to use input projection]', None))
self.addParameter(ParameterExtent(self.PROJWIN,
'Subset based on georeferenced coordinates'))
self.addParameter(ParameterBoolean(self.SDS,
Expand Down Expand Up @@ -115,7 +115,7 @@ def processAlgorithm(self, progress):
arguments.append(regionCoords[3])
arguments.append(regionCoords[1])
arguments.append(regionCoords[2])
if crsId is not None:
if crsId:
arguments.append('-a_srs')
arguments.append(str(crsId))
if sds:
Expand Down

0 comments on commit 260d55e

Please sign in to comment.