368 Commits

Author SHA1 Message Date
Nyall Dawson
b6a7a10703 Fix some more python formatting issues, remove more flake exceptions 2020-05-11 11:41:50 +10:00
Nyall Dawson
6a1a2e9af0 [processing] Fix handling of vrt, SAGA tif output file names
Fixes #35755, fixes #35770
2020-04-17 16:18:09 +10:00
Nyall Dawson
0396162d1f [processing] De-emphasise SAGA results when searching in toolbox
This change "dims" the results from the SAGA provider when a search
is made in the toolbox, to visually push users towards picking alternative
algorithms instead.

The Processing implementation of SAGA algorithms are a constant source
of critical bugs for users, causing incorrect analysis results. There's
zero community interest in actively maintaining this provider, so we
need to take steps to push users to stop picking these algorithms
wherever alternative (QGIS/GRASS/GDAL based) equivalents exist.

And for 4.0, seriously re-consider dropping this provider from the
out of the box install. We are causing more harm then good by offering
it to users.
2020-04-13 17:12:14 +10:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
Andrea Giudiceandrea
0d4d8254c1 [SAGA] Fix saga_cmd command with multiple outputs
Fixes a regression bug accidentally introduced with 40134d6473fcdbd8b6f53c3ea3db01e2dd606419 (PR #8968) and backported with a887b7d34bfa44a8400bcaa986ede96e15a760c9 (PR #9231): when there are multiple output parameters processAlgorithm incorrectly generates multiple saga_cmd commands, instead of a single command containing the output parameters.

Fixes #33658
2020-01-13 13:19:33 +13:00
Andrea Giudiceandrea
c062b52fd8 Fix SAGA Raster Buffer algorithm (GridBuffer.txt)
Since SAGA 2.3.0, DIST and BUFFERTYPE parameters for Gid Buffer module were renamed to DISTANCE and TYPE, respectively.
2019-12-29 05:49:27 +10:00
Nyall Dawson
d969e41799 [processing][saga] Allow saga algorithms to be run under SAGA 7.3,
but show a huge obnoxious "NOT OFFICIALLY SUPPORTED" warning

SAGA 7.3 is the new SAGA LTR, so we eventually need to move towards this.

But adding full support is going to be a painstaking tedious process. So
allow users to use this combination, but totally at their own risk.

TODO: Make SAGA provider a 3rd party plugin only and save QGIS core dev sanity ;)
2019-12-06 17:35:41 +10:00
Juergen E. Fischer
002d3986d5 translation string fix 2019-11-03 19:00:08 +01:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Giovanni Manghi
150d6ce33f add missing file 2019-10-26 08:31:28 +10:00
Giovanni Manghi
890ec4abbe re add original tool to avoid brekaing models 2019-10-26 08:31:28 +10:00
Giovanni Manghi
f03b4f72dd update decorator names for SAGA reclass tools 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c1df3a07dc change default for some parameters 2019-10-26 08:31:28 +10:00
Giovanni Manghi
4a83cb9008 split SAGA reclass raster values in order to improve UX 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c3c750a749 fix wronng paste 2019-10-26 08:13:09 +10:00
Giovanni Manghi
b57229b944 fix SAGA Slope, Aspect, Curvature 2019-10-26 08:13:09 +10:00
Juergen E. Fischer
c5fbddc827 typo fix
[ci skip]
2019-09-06 15:44:24 +02:00
Giovanni Manghi
7b680f80d6 fix SAGA seeds generation tool 2019-09-06 05:29:50 +10:00
Alexandre Neto
fbb9fdd680 Fix Saga Raster Skeletonization algorithm
The saga tool expects integers only for the convergence parameter.
2019-09-05 11:49:36 +10:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
Alexander Bruy
f8d0ecc7ee [processing] add default value to user filter matrix (fix #29999) 2019-05-29 13:43:18 +03:00
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
volaya
83e6dd3efe [processing] fixed description of SAGA gaussian filter algorithm
Fixes #21797
2019-05-23 11:46:56 +02:00
Alexander Bruy
dd8c5c1611 [processing] move "Split RGB bands" algorithm inside "Raster tools"
group to maintain consistency (fix #21849)
2019-05-23 09:45:05 +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
Víctor Olaya
e0a990d997 [processing] Add 'call' statements to SAGA batch file 2019-03-22 12:15:50 +10:00
lbartoletti
f87c447d34 Add FreeBSD for SagaUtils 2019-03-07 08:48:23 +10:00
Juergen E. Fischer
be6c0738a4 fix 9f1fcb72d4 2019-03-05 23:14:43 +01: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
Juergen E. Fischer
9f1fcb72d4 processing: enable translation for parameter descriptions 2019-03-05 20:16:23 +01: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
Nyall Dawson
4f8e2317d7 [processing][saga] Fix definition of Multiple regression points/grids alg
Fixes #21146
2019-02-01 21:06:16 +11: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
Alexander Bruy
c6540a6276 [processing] fix description files for SVM SAGA algs (fix #20796) 2019-01-24 09:31:18 +11:00
Nyall Dawson
efd54f862f [processing][SAGA] Resync Fill Sinks descriptions, add tests
Refs #20051
2019-01-07 09:55:46 +10:00
Nyall Dawson
45f8b863db [processing][SAGA] Resync parameters for resample tool
And add tests

Fixes #20882
2019-01-07 09:55:46 +10:00
Nyall Dawson
c7cb5a8e3b [processing][SAGA] Fix output type of Zonal Grid Stats alg
and add unit test

Fixes #20815
2018-12-17 10:50:47 +10: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
455e04ea66 [processing][SAGA] Fix definition of Patching algorithm
And add unit test

Fixes #20698
2018-12-04 10:36:38 +10:00
Nyall Dawson
ef2fff0820 [processing][SAGA] Fix default output format for geometry-less tables 2018-12-03 18:11:24 +10:00
Luigi Pirelli
e1b3524b5d
Merge pull request #8443 from NaturalGIS/fix_saga_point_distances
fix the SAGA Points Distances tool
2018-12-02 23:36:38 +01:00