7862 Commits

Author SHA1 Message Date
Alexander Bruy
c0e8178366 [processing] port SpatiaLite Execute SQL algorithm to C++ 2020-05-11 13:11:28 +03:00
Alexander Bruy
e91b6c615e [processing] port PostGIS Execute SQL algorithm to C++ 2020-05-11 12:35:05 +03:00
Alexander Bruy
072d27dfd8 [processing] port Split vector layer algorithm to C++ 2020-05-11 12:17:50 +03:00
Nyall Dawson
e76013e9cd Fix F523 flake issues 2020-05-12 14:24:40 +10:00
Nyall Dawson
b6a7a10703 Fix some more python formatting issues, remove more flake exceptions 2020-05-11 11:41:50 +10:00
volaya
09c62f1e6b Removed email address from Processing metadata 2020-05-10 11:22:02 +10:00
Alexander Bruy
30219ecd65 [processing] fix file filter for i.landsat.toar (fix #36290) 2020-05-09 13:33:17 +03:00
Martin Dobias
502429a0c0 Add processing test for the vector tile writer alg 2020-05-08 12:55:08 +02:00
Tom Palan
4b27b5fdc1 Compile python processing plugins even when WITH_GUI=FALSE 2020-05-08 06:36:53 +10:00
Alexander Bruy
4d5a8a391c [processing] rename Graphics group to Plots as this better reflects
purpose of the algorithms inside it (fix #33310)
2020-05-07 03:31:22 +10:00
Alexander Bruy
8e2a9d5797
Merge pull request #36232 from alexbruy/close-prompt
prompt before closing SQL editor tabs with unsaved changes (fix #14636)
2020-05-06 19:17:10 +03:00
Matthias Kuhn
dd0d71a6b7 Fix tests 2020-05-06 12:45:09 +02:00
Alexander Bruy
bba874cd42 prompt before closing SQL editor tabs with unsaved changes (fix #14636) 2020-05-06 12:49:18 +03:00
Matthias Kuhn
841328e0a7 Remove unused code 2020-05-06 00:06:23 +02:00
Matthias Kuhn
2dafee528b Fix some remaining issues 2020-05-05 23:43:36 +02:00
Matthias Kuhn
0afe134076 Noqa 2020-05-05 23:43:27 +02:00
Matthias Kuhn
9602e0faad Fix imports 2020-05-05 23:36:06 +02:00
Matthias Kuhn
a5f557f085 Fix escaping issues 2020-05-05 23:22:12 +02:00
Matthias Kuhn
f39a5b62fe Fix code issues 2020-05-05 22:39:53 +02:00
Matthias Kuhn
0457875f00 noqa 2020-05-05 22:39:40 +02:00
Matthias Kuhn
9eae0caa09 Add missing imports 2020-05-05 22:39:16 +02:00
Matthias Kuhn
a7e0831dcf Code style 2020-05-05 22:38:37 +02:00
Germap
5623229f8c
[processing] Set distanceArea CRS properly in SumLineLengths algorithm
Fix #36135
2020-05-04 06:26:56 +10:00
Germán Carrillo
a6db48151b Missing dockwidget object name (useful for addTabifiedDockWidget) 2020-05-03 15:34:46 +10:00
Alexander Bruy
5d7871fa0c fix tests 2020-04-30 18:52:35 +03:00
Alexander Bruy
9a53837946 add new parameter and hide old one 2020-04-30 07:46:05 +03:00
Nyall Dawson
69e841a256 Allow specifying hidden parameter values when setting initial parameter values for an algorithm dialog 2020-04-29 17:10:52 +10:00
Nyall Dawson
e89b7283fe Fix exception when editing certain model algorithms
Fixes #36036
2020-04-28 19:21:24 +10:00
Nyall Dawson
40db7f9efd [processing] Fix subset string is ignored for vector layers when
running GDAL algorithms

If a subset string is set, we must export the subset of the layer
for use by the GDAL command*

Fixes #35981

* well, we probably **should** just build the gdal command to include
the SQL definition of the subset filter, but that's non-trivial, so
this fix is a good simple solution for now
2020-04-28 19:21:00 +10:00
Matthias Kuhn
d62c982b6f
Merge pull request #35983 from espinafre/dbmanager_pgsql_constraint_trigger
Handle CONSTRAINT TRIGGER on DB Manager/PostgreSQL.
2020-04-27 08:01:22 +02:00
uclaros
f2353ec934 Make progress count from 0 to 100 2020-04-27 13:41:58 +10:00
José de Paula Rodrigues Neto Assis
304a3d9509 Comment clarifying query against pg_catalog 2020-04-26 15:02:43 -03:00
Juergen E. Fischer
2e7bebcf20 add code_layout test to verify that UIs either have a non-default window title or are not marked for translation 2020-04-24 16:30:45 +02:00
Juergen E. Fischer
067e9254e7 translation string fixes 2020-04-24 16:30:45 +02:00
José de Paula Rodrigues Neto Assis
689bcc6020 Handle CONSTRAINT TRIGGER on DB Manager/PostgreSQL.
Fixes #35967
2020-04-24 11:27:43 -03:00
Long Huan
f3c8a27743 Update CMakeLists.txt 2020-04-24 14:46:06 +10:00
Long Huan
70eccf30ac SET CMAKE_AUTORCC ON 2020-04-24 14:46:06 +10:00
Nyall Dawson
5b6589f6dc Cleanup QgsCoordinateReferenceSystem WKT enum
- alias WKT_2018* to new WKT_2019* values, since the spec is actually
2019, not 2018
- add WKT_PREFERRED value which currently aliases to WKT2_2019, but
can be changed if/when future bumps to the WKT spec happen
- add WKT_PREFERRED_GDAL which should be used whenever a CRS is
exported to WKT for use with GDAL API. Aliases to WKT2_2019 currently,
but can be changed if/when a new spec is released and GDAL supports it
2020-04-24 03:59:28 +10:00
Alexander Bruy
88a9bea48a add missed comma 2020-04-20 09:34:26 +03:00
Nyall Dawson
60f40f066a [processing] Fix crashes when running algs in "in place" mode
Fixes #35844
2020-04-20 12:01:46 +10:00
Alexander Bruy
9a6b0f58f5 [dbmanager] syntax highlighting for PostGIS raster fucntions (fix #16010) 2020-04-20 09:28:17 +10:00
Håvard Tveite
860645ab42
Offer a per feature, as well as a global minimum distance parameter, for the Random points on lines algorithm (#35793) 2020-04-19 14:21:55 +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
05bc716827 Move model child algorithm dependencies selection widget to c++, make inline panel 2020-04-16 16:02:53 +10:00
Nyall Dawson
acc68447c3 Validate models before running from designer, showing a summary of issues 2020-04-14 20:27:21 +10:00
Nyall Dawson
2dc07ee8f7 [processing] Show warnings in model designer message bar if algorithm
definition is incomplete/invalid after editing a child algorithm
2020-04-14 20:27:21 +10:00
Nyall Dawson
f476fe7fc4 [processing] Don't force a child algorithm in a model to have all valid values upfront
This allows defered setting of parameter values, e.g. if you add an algorithm, fill in
half the parameter values, then realise you need to add a new input to the model, you
don't have to lose all your filled in values...
2020-04-14 20:27:21 +10:00
root676
4d4a7a4a08 remove old python teststring 2020-04-14 09:20:56 +10:00
Nyall Dawson
847aadfd08 Fix possible exception in processing history panel 2020-04-13 17:13:24 +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