[Qgis-user] raster calculator issues

Eugenio Trumpy frippe12573 at hotmail.com
Sun Jul 23 23:48:13 PDT 2017


Hi Pedro,


this morning my ubuntu 17.04 told me that an update of qgis (2.18.11) were available, so I hoped.

Unfortunately, this update didn't correct the problem.


So I follow your suggestion, I replaced dataobject with ParameterMultipleInput at line 343 in SagaAlgorithm.py

I have this file at this path:

/usr/share/qgis/python/plugins/processing/algs/saga/


without find the solution. I still have the same error.


Moreover, I also have the file SagaAlgorithm.py in:

/usr/local/share/qgis/python/plugins/processing/algs/saga/


together with:

SagaAlgorithm212.py       SagaAlgorithm214.py       SagaAlgorithm.py
SagaAlgorithm213.py       SagaAlgorithmProvider.py

but SagaAlgorithm has not such line at line 343,
SagaAlgorithm212 has the line just before (341) and the other have not the line.

What do you suggest?

E.




________________________________
Da: Pedro Venâncio <pedrongvenancio at gmail.com>
Inviato: venerdì 21 luglio 2017 20:57
A: Eugenio Trumpy
Cc: qgis-user
Oggetto: Re: [Qgis-user] raster calculator issues

Hi Eugenio,

It should be in the installation folder, most probably on

/usr/share/qgis/python/plugins/processing/algs/saga

Best regards,
Pedro





2017-07-21 14:46 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>>:

Hi Pedro,


I cannot find SagaAlgorithm.py in .Qgis2/python/plugins/processing/algs/saga/SagaAlgorithm.py

I installed qgis from apt. Version 2.18.10

How can I change the file you suggested me?

E.

________________________________
Da: Pedro Venâncio <pedrongvenancio at gmail.com<mailto:pedrongvenancio at gmail.com>>
Inviato: venerdì 21 luglio 2017 15:30
A: frippe12573
Cc: qgis-user
Oggetto: Re: [Qgis-user] raster calculator issues

It was already fixed Eugenio:

https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa111153c97bb0
[X]<https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa111153c97bb0>

[processing] Correctly call TYPE_RASTER constant · qgis/QGIS at 74042a2<https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa111153c97bb0>
github.com<http://github.com>
Fixes #16786




Best regards,
Pedro




2017-07-21 14:11 GMT+01:00 frippe12573 <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>>:
hi all,


I'm using qgis 2.18.10 (code59e0f78) installed from repo in my Ubuntu 17.04.
I have problem with raster calculators algorithms. In particular:
saga (2.3.1) raster calculator - it gives me this error, both using this
algorithm in a process and alone:
Error executing algorithm reservoir_effective 'module' object has no
attribute 'TYPE_RASTER' See log for more details

gdal/ogr raster calculator - it gives this error:
GDAL command output:
Error! Dimensions of file /home/condivisa_A_E/calcoli/1000_ET_pos.tif (600,
562) are different from other files (473, 562). Cannot proceed
r.mapcalc - it doesn't show a filed to set the name of the output file, but
only the folder. However it gives this error on the console: ERROR 4:
/home/IGG/condivisa_A_E/calcoli/1000_ET_pos.tif;/home/layer_prodotti_da_caricare/Z90_ly.tif:
No such file or directory


The only algorithm currently running seems to be the raster calculator of
gdal available as first item in the raster menu.


Thank you for any hint you can give me


E.




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/raster-calculator-issues-tp5328659.html
Sent from the QGIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170724/cbf266fb/attachment.html>


More information about the Qgis-user mailing list