Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] added -TRANSFORM parameter in SAGA
  • Loading branch information
volaya committed Sep 23, 2013
1 parent d68be4f commit 1d754d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/saga/SagaAlgorithm.py
Expand Up @@ -327,10 +327,11 @@ def processAlgorithm(self, progress):
if dontExport:
continue

transform = "" if saga208 else "-TRANSFORM"
if isWindows() or isMac() or not saga208:
commands.append("io_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT " + str(formatIndex) +" -TYPE 0 -FILE \"" + filename + "\"");
commands.append("io_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT " + str(formatIndex) +" -TYPE 0 -FILE \"" + filename + "\"" + transform);
else:
commands.append("libio_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT 1 -TYPE 0 -FILE \"" + filename + "\"");
commands.append("libio_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT 1 -TYPE 0 -FILE \"" + filename + "\"" + transform);



Expand Down

0 comments on commit 1d754d9

Please sign in to comment.