285 Commits

Author SHA1 Message Date
Nyall Dawson
e25c81377e Fix SAGA parameter value check 2018-05-28 16:02:38 +10:00
Nyall Dawson
cb638b6345 [processing][saga] Make some Slope,Aspect,Curvature outputs optional and non-default 2018-05-07 19:17:04 +10:00
Jason Hilton
a0a5f6cebc [processing] Fix saga natural neighbor parameters
fixes #16604
2018-05-07 14:16:38 +10:00
Matthias Kuhn
0a269aa6e6
Merge pull request #6864 from ghtmtt/fix_saga
[processing] fix broken SAGA algorithms
2018-05-02 16:47:03 +02:00
Nyall Dawson
313970de79 [processing][saga] Remove redundant spaces from description files 2018-05-02 04:55:59 +10:00
Nyall Dawson
c2f224b446 [processing][saga] Fix "channel network and drainage basins" alg
Fixes #18870
2018-05-02 04:55:59 +10:00
Nyall Dawson
16106b8cfa [processing] More verbose error when unsupported SAGA version found 2018-05-01 09:18:03 +10:00
Nyall Dawson
5339d62715 [processing] More helpful errors when sources cannot be loaded
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +10:00
matteo
9050a89af1
[processing] fix broken SAGA algorithms 2018-04-26 12:27:13 +02:00
Salvatore Larosa
23172a101e [processing] Fixes #18183: SAGA "output extent" should not be mandatory 2018-03-10 22:08:07 +01:00
Alexander Bruy
4777abb48e [processing] add icons to SAGA algorithms (fix #18211) 2018-02-26 10:37:17 +02:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Salvatore Larosa
4c95b6bf38 [processing] fix execution of SAGA algorithms under macos 2018-02-17 16:47:17 +01:00
Alexander Bruy
068d74d51a [processing] allow enums values to be used in description files 2018-02-08 17:22:20 +02:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
c3fc560fef [processing] SVG icon for SAGA provider 2018-01-31 16:14:32 +02:00
Nyall Dawson
a05d941e4e [processing] Default to allowing background execution of algorithms
Since the underlying issues with the Python bindings are now fixed,
in most cases we can safely default to allowing an algorithm to
run in a background thread!!

So now we make this the default, and require individual algorithms
which are NOT thread safe to declare this. This includes algorithms
which directly manipulate the current project or layers (such as
setting layer styles), alter the selections in layers, or which
rely on 3rd party libraries (for now, SAGA and GRASS algorithms
are marked as not thread safe... TODO - someone more familiar with
these libraries can investigate and remove the flag if appropriate).

Also models are marked as non-thread safe. TODO: only flag an
individual model as thread-unsafe if any of its child algorithms
report this flag.
2018-01-29 17:37:05 +11:00
Nyall Dawson
0f963dfadf [processing] Default to supporting non-file based outputs for providers
And make this support opt-out, since the vast majority of providers
are based on QGIS API and don't have external dependencies which would
restrict use of memory layers/etc.

Plus, I'd rather see non-compliant providers expose this support when
they can't use non-file-based-outputs (and make this the bug which
needs fixing) then have to rely on plugin providers to discover and
explicitly expose this support.
2018-01-29 13:14:06 +10:00
Alexander Bruy
5e157c967d [processing] add group id to SAGA algorithms 2017-12-14 18:04:11 +02:00
volaya
1b8fa82790 [processing] fixed saga algs descriptions 2017-12-13 14:39:09 +01:00
nirvn
a477ea3ae4 [processing] move grass & saga version number to tooltips 2017-11-24 17:16:25 +07:00
Alexander Bruy
4b63975eaf [processing] tests for SAGA provider and related fixes 2017-11-09 18:56:44 +02:00
Alexander Bruy
057ab170da [processing] fix input rasters check 2017-11-09 18:56:44 +02:00
Alexander Bruy
13610f6440 [processing] adopt to changes in extensions handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
dc9f868e08 [processing] fix not initialized variable 2017-11-09 18:56:44 +02:00
Alexander Bruy
1b6b6cdb45 [processing] fix integer numbers handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
2b218cc2b0 [processing] more raster handling fixes in SAGA provider 2017-11-09 18:56:44 +02:00
Alexander Bruy
3822efa7a5 [processing] fix rasters handling in checkParameterValues() 2017-11-09 18:56:44 +02:00
Nyall Dawson
8d91f1f1eb Restore more saga functionality 2017-11-09 18:56:44 +02:00
Nyall Dawson
9ba414394d Convert SAGA ParameterTableField parameters 2017-11-09 18:56:44 +02:00
Nyall Dawson
7953936c90 Update SAGA ParameterMultipleInput parameters 2017-11-09 18:56:19 +02:00
Nyall Dawson
d9ac3772fd Update SAGA ParameterTable parameters 2017-11-09 18:56:01 +02:00
Nyall Dawson
4ac6847bc7 Update SAGA ParameterVector params 2017-11-09 18:55:41 +02:00
Nyall Dawson
6ef4557b2b Update SAGA ParameterSelection parameters 2017-11-09 18:55:12 +02:00
Nyall Dawson
ca0b7a2639 Fix SAGA boolean parameters 2017-11-09 18:54:44 +02:00
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Matthias Kuhn
d793f6c5ab Fix typo in method name 2017-10-16 23:22:09 +02:00
Matthias Kuhn
7c8cdff216 Fix used-before-assignment 2017-10-16 23:21:51 +02:00
Giovanni Manghi
3a78253764 fix SAGA LTR vectorizing grid classes tool for QGIS master 2017-09-14 21:03:56 +01:00
Nyall Dawson
2a442c7886 Rationalise algorithm groups a bit 2017-08-22 23:36:42 +10:00
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +02:00