mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] fixed issue with saga optimizations
This commit is contained in:
parent
df257ea917
commit
6058023d99
@ -171,7 +171,7 @@ class GeoAlgorithm:
|
||||
lines.append(errstring)
|
||||
lines.append(errstring.replace("\n", "|"))
|
||||
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
|
||||
raise GeoAlgorithmExecutionException(str(e))
|
||||
raise GeoAlgorithmExecutionException(str(e) + "\nSee log for more details")
|
||||
|
||||
|
||||
def runPostExecutionScript(self, progress):
|
||||
|
@ -229,7 +229,9 @@ class SagaAlgorithm(GeoAlgorithm):
|
||||
if param.datatype == ParameterMultipleInput.TYPE_RASTER:
|
||||
for layerfile in layers:
|
||||
if not layerfile.endswith("sgrd"):
|
||||
commands.append(self.exportRasterLayer(layerfile))
|
||||
exportCommand = self.exportRasterLayer(layerfile)
|
||||
if exportCommand is not None:
|
||||
commands.append()
|
||||
if self.resample:
|
||||
commands.append(self.resampleRasterLayer(layerfile));
|
||||
elif param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
|
||||
|
Loading…
x
Reference in New Issue
Block a user