mirror of
https://github.com/qgis/QGIS.git
synced 2025-05-01 00:02:48 -04:00
[processing] added -TRANSFORM parameter in SAGA
This commit is contained in:
parent
d68be4febb
commit
1d754d97d6
@ -327,10 +327,11 @@ class SagaAlgorithm(GeoAlgorithm):
|
|||||||
if dontExport:
|
if dontExport:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
transform = "" if saga208 else "-TRANSFORM"
|
||||||
if isWindows() or isMac() or not saga208:
|
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:
|
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);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user