Commit 2fe69e6
File tree
2 files changed
+18
-0
lines changed- python/plugins/processing/algs/saga/description
2 files changed
+18
-0
lines changedLines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + |
5 commit comments
volaya commentedon Oct 19, 2014
The issue with this algorithm was related to saga 2.1.2.
This commit will make the algorithm work fine with 2.1.2, but will break it if the user has 2.1.0 installed, which was working fine before.
We still do not have a mechanism to handle multiple version of SAGA (only the distinction between 2.0.8 and another one), so this kind of fixes should wait until that is implemented.
This commit causes a regression if using 2.1.0, so it should be reverted
gioman commentedon Oct 19, 2014
Hi,
it seems to me that modules descriptions renamed 2.1_* are working also with SAGA 2.1.2 so maybe the idea could be the following: Processing supports SAGA 2.0.8 and that's fine as it isshipped with osgeo4w, and then supports always the latest SAGA release, as it is usually available for download for Windows and in Linux repositories like Ubuntugis (used by most to install QGIS anyway).
volaya commentedon Oct 19, 2014
hmm, sounds like a good idea, to have a reference version which is older (2.0.8 in this case), and then support the latest one to avoid being blocked in case you distribution only has that.
It 's ok, but we should document it. For instance, with this latest change, 2.1.0 will not work for the slope algorithm, so you need whether 2.0.8 or the latest version, not an intermediate on
gioman commentedon Oct 19, 2014
So I would suggest something along this lines:
Processing in QGIS 2.6 supports two SAGA versions: 2.0.8 and the latest currently available, 2.1.2
On Windows QGIS ships SAGA 2.0.8, and Processing is configured to use it. If you want to use SAGA 2.1.2 then you must install QGIS with the Osgeo4W installer (and just it) and then download/install SAGA from this link http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.1/SAGA%202.1.2/
After that you must configure QGIS/Processing to use SAGA 2.1.2 by entering Processing general options.
On Ubuntu/Debian Linux you will find SAGA 2.1.2 in Ubuntugis and Debiangis repositories, the same usually used to install QGIS.
pcav commentedon Oct 19, 2014
In the longer term, IMHO it would be better if the backend version would be an attribute of each module, so one could have as many modules as he wants, and processing would pick up the suitable one.