[Qgis-developer] Respecting new SAGA GIS versions in processing
Rainer Hurling
rhurlin at gwdg.de
Sat Jul 11 23:31:02 PDT 2015
Victor,
I must say, that I am not one of the devs of SAGA GIS. I am only the
person, who is porting towards FreeBSD. So it is likely, that I am not
aware of all information, which should be present atm.
As far as I know, there is nothing like
http://sourceforge.net/p/saga-gis/wiki/Compatibility%202.1.3/ for
version 2.2.0.
One interesting way to get the needed information is to diff the two
interface description files:
http://sourceforge.net/p/saga-gis/wiki/Changelog%202.1.4/attachment/saga_cmd_interface_v2_1_4.txt
http://sourceforge.net/p/saga-gis/wiki/Changelog%202.2.0/attachment/saga_cmd_interface_v2_2_0.txt
That should point to the places with differences and in many cases it
describes all you need. A bit tricky are the cases, where
functionalities have been moved in the menu tree.
A second way could be, to compile a Unix version of SAGA GIS for
yourself. Then you can enable building of 'development tools'. After
that, in the GUI there is a new entry "Development Tools" with one entry
"Extract Tool and Menu Information". Depending on the value of 'level',
this will create two tables with information about tools and menues in
different detail. If you create these tables in versions 2.1.4 and
2.2.0, they could be diffed also.
If this is not sufficient, asking on
saga-gis-developer at lists.sourceforge.net could help. My experiences with
this list are very good. They are helpful and responsible.
Greetings,
Rainer
Am 12.07.2015 um 08:03 schrieb Victor Olaya:
> Ok, so no way to see changes that affect Processing other than
> browsing the full list of commits... :-(
>
> I was thinking about something like this, in case there were API changes
>
> http://sourceforge.net/p/saga-gis/wiki/Compatibility%202.1.3/
>
> And maybe a list of new algorithms that have been added. Otherwise, it
> is much more work to find out what we should change in the Processing
> code...
>
> Thanks for you help!
>
> 2015-07-12 7:31 GMT+02:00 Rainer Hurling <rhurlin at gwdg.de>:
>> Am 12.07.2015 um 07:23 schrieb Victor Olaya:
>>> Where is that list of changes? In the changelog i don't see any thing
>>> except for the description of available files...
>>
>> Hi Victor,
>>
>> here are three files, which should give you deeper insight in the
>> changes and structure of SAGA GIS 2.2.0 commands:
>>
>> 1) The complete ChangeLog
>> http://sourceforge.net/p/saga-gis/wiki/Changelog%202.2.0/attachment/changelog_saga_2.2.0.txt
>>
>> 2) SAGA GIS Command Line Interface
>> http://sourceforge.net/p/saga-gis/wiki/Changelog%202.2.0/attachment/saga_cmd_interface_v2_2_0.txt
>>
>> 3) SAGA-GIS Module Library Documentation
>> http://www.saga-gis.org/saga_module_doc/2.2.0/index.html
>>
>> HTH and many thanks for your work,
>> Rainer
>>
>>
>>>
>>> 2015-07-11 14:48 GMT+02:00 Paolo Cavallini <cavallini at faunalia.it>:
>>>> Thanks for letting us know.
>>>> Huge list of changes, this will require quite a bit of work.
>>>> All the best.
>>>>
>>>> Il 11 luglio 2015 14:30:05 CEST, Rainer Hurling <rhurlin at gwdg.de> ha
>>>> scritto:
>>>>>
>>>>> Dear List,
>>>>>
>>>>> Now, that SAGA GIS has new official release 2.2.0 [1] and the trunk
>>>>> version is 2.2.1, it would be nice to have that respected in the QGIS
>>>>> processing toolchain. The patch should mention for both, 2.2.0 and 2.2.1.
>>>>>
>>>>> Additionally, is seems necessary to have a new file SagaAlgorithm220.py
>>>>> created like SagaAlgorithm214.py?
>>>>>
>>>>>
>>>>>
>>>>> --- python/plugins/processing/algs/saga/SagaAlgorithmProvider.py.orig
>>>>> 2015-07-10 21:51:41.000000000 +0200
>>>>> +++ python/plugins/processing/algs/saga/SagaAlgorithmProvider.py
>>>>> 2015-07-11 14:19:08.043055000 +0200
>>>>> @@ -46,8 +46,9 @@
>>>>> supportedVersions = {"2.1.2": ("2.1.2", SagaAlgorithm212),
>>>>> "2.1.3": ("2.1.3", SagaAlgorithm213),
>>>>>
>>>>> "2.1.4": ("2.1.3", SagaAlgorithm214),
>>>>> + "2.2.0": ("2.1.3", SagaAlgorithm214),
>>>>> # to allow testing upcoming release
>>>>> - "2.2.0": ("2.1.3", SagaAlgorithm220)}
>>>>> + "2.2.1": ("2.1.3", SagaAlgorithm220)}
>>>>>
>>>>> def __init__(self):
>>>>> AlgorithmProvider.__init__(self)
>>>>>
>>>>>
>>>>>
>>>>> As a user of SAGA GIS, I really appreciate all the work, what is done to
>>>>> integrate it into the QGIS processing, many thanks.
>>>>>
>>>>> Best regards,
>>>>> Rainer Hurling
>>>>>
>>>>>
>>>>> [1]
>>>>>
>>>>> http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.2/SAGA%202.2.0/
>>>>> ________________________________
>>>>>
>>>>> Qgis-developer mailing list
>>>>> Qgis-developer at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>>>
>>>> --
>>>> Paolo Cavallini
>>>> http://www.faunalia.eu
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
More information about the Qgis-developer
mailing list