Skip to content
Permalink
Browse files

[processing] fix #10662

  • Loading branch information
volaya committed Jun 20, 2014
1 parent b390b3e commit 260d55e5416ff94a209a74158ccbbff364351264
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/gdal/translate.py
@@ -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,
@@ -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:

0 comments on commit 260d55e

Please sign in to comment.
You can’t perform that action at this time.