QGIS 2.18.10支持哪些SAGA版本?


9

从QGIS 2.18.10开始,SagaAlgorithmProvider不再有名为的字典supportedVersions。以前,它看起来像这样:

supportedVersions = {"2.1.2": ("2.1.2", SagaAlgorithm212),
                     "2.1.3": ("2.1.3", SagaAlgorithm213),
                     "2.1.4": ("2.1.4", SagaAlgorithm214),
                     "2.2.0": ("2.2.0", SagaAlgorithm214),
                     "2.2.1": ("2.2.0", SagaAlgorithm214),
                     "2.2.2": ("2.2.2", SagaAlgorithm214),
                     "2.2.3": ("2.2.3", SagaAlgorithm214),
                     "2.3.0": ("2.3.0", SagaAlgorithm230),
                     "2.3.1": ("2.3.0", SagaAlgorithm230)}

现在它只是说:

if not version.startswith('2.3.'):
  ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
                         self.tr('Problem with SAGA installation
                                  unsupported SAGA version found.'))

因此,我假设现在仅支持从2.3开始的SAGA版本。但是,在我的QGIS GUI中,“日志消息面板”告诉我不支持SAGA 2.3.1版(有趣的是,您可以在诸如的自定义应用程序中使用SAGA 2.3.1 RQGIS)。那么QGIS 2.18.10支持哪些SAGA版本?

Answers:


9

由于管理多个版本非常复杂(以及SAGA API更改的速度和速度有多不稳定),因此决定支持单个版本。SAGA 2.3应该类似于LTR,因此不希望更改API。另外,这是OSGEO4W随附的版本。

您可以提供更多有关您所看到的关于不支持SAGA的消息的信息吗?


2
是的,我知道您为什么只想支持SAGA LTR!日志消息面板(QGIS 2.18.10)指出Problem with SAGA installation: installed SAGA version (2.3.1) is not supported我在Linux Ubuntu 16.04计算机上。
— Jannes
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.