File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
python/plugins/processing/saga Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -470,12 +470,16 @@ def exportRasterLayer(self, source):
470
470
self .exportedLayers [source ] = destFilename
471
471
sessionExportedLayers [source ] = destFilename
472
472
saga208 = ProcessingConfig .getSetting (SagaUtils .SAGA_208 )
473
- if isWindows () or isMac () or not saga208 :
473
+ if saga208 :
474
+ if isWindows () or isMac ():
475
+ return 'io_gdal 0 -GRIDS "' + destFilename + '" -FILES "' + source \
476
+ + '"'
477
+ else :
478
+ return 'libio_gdal 0 -GRIDS "' + destFilename + '" -FILES "' \
479
+ + source + '"'
480
+ else :
474
481
return 'io_gdal 0 -TRANSFORM -INTERPOL 0 -GRIDS "' + destFilename + '" -FILES "' + source \
475
482
+ '"'
476
- else :
477
- return 'libio_gdal 0 -GRIDS "' + destFilename + '" -FILES "' \
478
- + source + '"'
479
483
480
484
def checkBeforeOpeningParametersDialog (self ):
481
485
msg = SagaUtils .checkSagaIsInstalled ()
You can’t perform that action at this time.
0 commit comments