Skip to content
Permalink
Browse files

Merge pull request #3234 from aharfoot/GDALTools_bugfix

fix bug in GDALTools Assign Projection
  • Loading branch information
alexbruy committed Jun 29, 2016
2 parents 0083291 + bb81568 commit 0f6e8da6456024fd58120f15c8fbe6ea8427dcf1
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/GdalTools/tools/doProjection.py
@@ -42,7 +42,7 @@ def __init__(self, iface):
self.iface = iface

self.setupUi(self)
BaseBatchWidget.__init__(self, self.iface, "gdalwarp")
BaseBatchWidget.__init__(self, self.iface, "gdal_translate")

self.inSelector.setType(self.inSelector.FILE)

@@ -112,7 +112,7 @@ def fillDesiredSRSEdit(self):
def getArguments(self):
arguments = []
if self.desiredSRSEdit.text():
arguments.append("-t_srs")
arguments.append("-a_srs")
arguments.append(self.desiredSRSEdit.text())
if self.batchCheck.isChecked():
return arguments

0 comments on commit 0f6e8da

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