I want to make an average of two rasters previously generated in a model but it always gives error. I have used both SAGA and GDAL to calculate the raster out of graphical modeler without problems, but using the algorithm in the model gives the following error:

File "C: /PROGRA~1/QGIS3~1.8/apps/qgis /./ python / plugins \ processing \ algs \ saga \ SagaAlgorithm.py", line 187, in processAlgorithm
if parameters [param.name ()]. source (). lower (). endswith ('sdat'):
AttributeError: 'QgsProcessingOutputLayerDefinition' object has no attribute 'source'


  • Can you post a screenshot of how you set up your model and the parameters of the statistics tool? – Joseph Aug 30 at 12:12
  • 1
    Of course. Thanks in advance – Alejandro Chamizo de Castro Aug 30 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.