Skip to content
Permalink
Browse files

[processing] added -TRANSFORM parameter in SAGA

  • Loading branch information
volaya committed Sep 23, 2013
1 parent d68be4f commit 1d754d97d68caf6e92ee4cb198f4e4942d6ef90c
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/saga/SagaAlgorithm.py
@@ -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);



0 comments on commit 1d754d9

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