90 Commits

Author SHA1 Message Date
volaya
94e13289b8 [processing] do not export sdat files provided as part of a multiple raster input
fixes #22131
2019-05-24 07:32:59 +10:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Matthias Kuhn
b90a01847f
Prefer parameterAsBoolean over parameterAsBool 2019-04-16 08:30:00 +02:00
volaya
165ab8b25f [processing] do not export input sdat files 2019-03-30 11:02:25 +10:00
Nyall Dawson
8bef710cea [processing][saga] Difference and symmetric difference algorithms have known issues in SAGA LTR 2019-03-06 06:33:06 +10:00
Luigi Pirelli
5a96fab775
Merge pull request #8968 from volaya/fix_saga_non_ascii
fixed handling of input filenames with non-ascii characters [processing]
2019-02-21 12:35:49 +01:00
volaya
40134d6473 [processing] fixed SAGA command writing and test 2019-02-21 10:05:46 +01:00
dulle droid
edbfb0a1df
#21264 bug in saga algorithm python 2019-02-18 16:15:12 +01:00
volaya
2895493cce [processing] encoding and indentation fixes 2019-01-28 09:34:15 +01:00
volaya
d627b561be [processing]remove trailing spaces 2019-01-25 11:09:49 +01:00
volaya
5690b05e6e [processing] added back code to replace filenames when exporting raster layers in SAGA 2019-01-25 09:52:55 +01:00
volaya
76d9ab8283 [processing] fixed SAGA for non-ascii output files
Fixes #19351
2019-01-25 09:39:45 +01:00
volaya
fda41e3b02 [processing] fixed handling of input filenames with non-ascii characters
Looks like there is no problem now in SAGA when using filenames with non-ascii chars, so some code used for replacing filenames has been removed. Also some code for python2, which is not needed now.

fixes #18617
2019-01-24 13:18:31 +01:00
Nyall Dawson
71b32f072c [processing][SAGA] Fix output type for RGB Composite should be tif, not sdat format 2018-12-05 04:47:33 +10:00
Giovanni Manghi
25bfca492f partial fix for SAGA RGB composite tool 2018-12-04 11:49:20 +10:00
Nyall Dawson
8307264c3b [processing][SAGA] Avoid unicode errors when parsing description files
Fixes #19062
2018-06-05 05:25:16 +10:00
Nyall Dawson
b8ff44e63d [processing][saga] Fix error in merge vector layers
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
268aa171cb [processing][saga] Fix error in raster calculator
Fixes #18751
2018-06-04 14:01:24 +10:00
Nyall Dawson
3dde95de5d [processing][SAGA] Fix broken reclassify values algorithm
Fixes #18750
2018-06-04 12:58:12 +10:00
Nyall Dawson
e25c81377e Fix SAGA parameter value check 2018-05-28 16:02:38 +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
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
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
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
Alexander Bruy
5e157c967d [processing] add group id to SAGA algorithms 2017-12-14 18:04:11 +02: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
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
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Matthias Kuhn
7c8cdff216 Fix used-before-assignment 2017-10-16 23:21:51 +02:00
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +02:00
Giovanni Manghi
dfc9285121 master: fix SAGA LTR mosaiking tool 2017-07-21 14:42:14 +01:00
Nyall Dawson
a87ca09e34 Move some temp file/folder utils to c++ 2017-06-22 06:48:25 +10:00
PedroVenancio
b49f53bac8 Changes SAGA io_gdal RESAMPLING method to B-Spline Interpolation, as SAGA default, and add the Resampling Method parameter to SAGA Raster Calculator, as explained in https://issues.qgis.org/issues/16646 2017-06-16 20:47:18 +01:00