Skip to content
Permalink
Browse files

[sextante] fixed issue with multiple raster input in gdal merge

  • Loading branch information
volaya committed Jun 7, 2013
1 parent da0b468 commit eea63a478d7112de61e5254a47237f1c29e02dc1
@@ -112,11 +112,11 @@ def getFormatShortNameFromFilename(filename):

@staticmethod
def escapeAndJoin(strList):
joined = QString()
joined = ""
for s in strList:
if " " in s:
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') + '"'
else:
escaped = s
joined += escaped + " "
return joined.trimmed()
if " " in s:
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') + '"'
else:
escaped = s
joined += escaped + " "
return joined.strip()
@@ -66,7 +66,7 @@ def processAlgorithm(self, progress):
arguments.append(out)
arguments.append("-of")
arguments.append(GdalUtils.getFormatShortNameFromFilename(out))
arguments.append(self.getParameterValue(merge.INPUT).replace(";", " "))
arguments.extend(self.getParameterValue(merge.INPUT).split(";"))

commands = []
if SextanteUtils.isWindows():

This file was deleted.

0 comments on commit eea63a4

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