6299 Commits

Author SHA1 Message Date
Nyall Dawson
8ef270b2cc [processing] Remove unused 'preconfigured' provider 2022-01-17 16:12:40 +10:00
Alexander Bruy
1c096ceb52 allow negative values for buffer distance in GDAL buffer algorithm (fix #46667) 2022-01-06 17:53:54 +10:00
nirvn
406520f754 [processing] Add an optional output extent to the gdal raster calculator algorithm 2022-01-02 13:15:43 +07:00
nirvn
17b9bb8a60 [processing] Add the missing optional extent param to the gdal clip raster by mask aglorithm 2021-12-30 11:22:37 +07:00
Nyall Dawson
26c8fe9aa6 Indent JSON copied from processing history 2021-12-21 15:32:57 +10:00
Nyall Dawson
940270e91f Also show "Copy as Python" action in right click menu 2021-12-21 15:32:57 +10:00
Nyall Dawson
3714e25800 [feature][processing] As 'copy as json' and 'copy as qgis_process
command' actions to right click menu in history dialog
2021-12-21 15:32:57 +10:00
Nyall Dawson
adf290b2b2 Improve title for algorithms in history
Use a string with just the input values instead of the python
command
2021-12-21 15:32:57 +10:00
Nyall Dawson
cf0e266a15 Store results for processing algorithm executions 2021-12-21 15:32:57 +10:00
Nyall Dawson
5e5540c890 [processing] Port algorithm log to new history provider API
No user visible changes, but we gain the flexibility for better
history storage, including the ability to store the outputs
calculated by the algorithm execution...!
2021-12-21 15:32:57 +10:00
Nyall Dawson
0d332d34ec [processing] Fix gdal algorithms immediately show wrong or missing
parameter value warnings

Fixes #46532
2021-12-21 15:32:08 +10:00
Nyall Dawson
eea2ba3d93 QgsProcessingAlgorithmDialogBase subclasses should also implement
the QgsProcessingContextGenerator interface
2021-12-16 11:15:34 +10:00
Nyall Dawson
03d0c573c4 Add mode enum for processing algorithm dialogs so that code can
determine if the single execution or batch execution dialog is shown
2021-12-16 11:15:34 +10:00
Nyall Dawson
5333f17791 Ensure that createProcessingParameters implementation in AlgorithmDialog won't leak exceptions to c++ callers 2021-12-16 11:15:34 +10:00
Nyall Dawson
86794dabdc Fix interface for QgsProcessingParametersGenerator was modified for
the python subclasses only and no longer correctly overrides the
base class method
2021-12-16 11:15:34 +10:00
Nyall Dawson
d0718cbffe [feature] qgis_process now supports running a Python script algorithm
directly by specifying the path to the .py file in place of
an algorithm ID or model file path
2021-12-15 15:24:23 +10:00
Nyall Dawson
14436df648 Update python/plugins/processing/algs/gdal/ogr2ogr.py 2021-12-09 13:01:00 +10:00
Nyall Dawson
e7a4e1754d Update python/plugins/processing/algs/gdal/ogr2ogr.py 2021-12-09 13:01:00 +10:00
Nyall Dawson
87cd100d30 Update python/plugins/processing/algs/gdal/ogr2ogr.py 2021-12-09 13:01:00 +10:00
Benoît Blanc
517aaceff1 Add help string for parameter 2021-12-09 13:01:00 +10:00
Benoît Blanc
28ff415b74 Add supported formats in doc 2021-12-09 13:01:00 +10:00
Benoît Blanc
b9473655b3 Add command-line based tests for ogr2ogr 2021-12-09 13:01:00 +10:00
Benoît Blanc
83a15538e9 Add description for gdal:convertformat in short help string 2021-12-09 13:01:00 +10:00
Benoît Blanc
9213763f0a Add tests for gdal:convertformat with convert_all_layers parameter 2021-12-09 13:01:00 +10:00
Benoît Blanc
03d495c31c Rename parameter to convert all layers 2021-12-09 13:01:00 +10:00
Benoît Blanc
495af5a724 Add parameter to skip layername in gdal:convertformat 2021-12-09 13:01:00 +10:00
Alessandro Pasotti
46c47f1fb9 Fix processing toolbox double click 2021-12-06 09:53:43 +01:00
Andrea Giudiceandrea
c72f377cbe [processing] add missing algs descriptions in qgis.yaml 2021-12-03 06:19:04 +10:00
Andrea Giudiceandrea
da344065c6 [processing] remove useless algs descriptions from qgis.yaml 2021-12-03 06:19:04 +10:00
Andrea Giudiceandrea
8cbf5ec7cb [processing] Fix "Select by expression" help string
removing the link to the user manual online
2021-12-02 09:36:14 +10:00
Alessandro Pasotti
e5d53ad292 Rename execute function 2021-11-30 21:06:57 +10:00
Alessandro Pasotti
fe61a987ac Add missing imports 2021-11-30 21:06:57 +10:00
Alessandro Pasotti
bc3e4ca7fe Set parents and factor out GUI alg executor 2021-11-30 21:06:57 +10:00
Alessandro Pasotti
908ead8427 Missing imports 2021-11-30 21:06:57 +10:00
Alessandro Pasotti
4c66471610 Reimplement project algs execution 2021-11-30 21:06:57 +10:00
Alessandro Pasotti
2869ec285f Add "Models" submenu to project's menu
This will contain the project's processing models
with actions to run them (in batch too if available).

Funded by: Kanton Solothurn
2021-11-30 21:06:57 +10:00
Alexander Bruy
88d7a62321 [processing] add point cloud output and point cloud destination parameter
to Processing. These are useful for 3rd party tools as outputs can be
automatically loaded on algorithm completion.

It is an API change not visible for users.
2021-11-26 15:37:27 +10:00
Alexander Bruy
eb5bce67e9 [processing] fix order of command line arguments in gdal_polygonize (fix #46045) 2021-11-16 07:12:14 +11:00
Clemens Raffler
4c2e96aad4
[feature] Port Export to PostgreSQL algorithm to C++ 2021-11-11 08:10:36 +10:00
Alexander Bruy
16d2eb276d [processing] multidirectional and combined shading options are mutually
exclusive (fix #45957)
2021-11-10 08:06:39 +11:00
Harrissou Sant-anna
ab42fbbda6 Relabel the geometric predicate option
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-11-05 09:51:27 +11:00
Harrissou Sant-anna
7a2ae423ed Relabel "join by location..." algorithms inputs 2021-11-05 09:51:27 +11:00
Antoine
9272035c4e copy model only when no error 2021-11-03 06:53:03 +11:00
Antoine
d2425f51b8 remove model validity condition 2021-11-03 06:41:45 +11:00
Matthias Kuhn
8d7110faf3
Merge pull request #45366 from suricactus/proper_quote_alg_aggr
Properly quote the delimiter in the processing aggregate algorithm
2021-10-27 13:41:08 +01:00
Clemens Raffler
baf50af3cd add more testcases with differing layer CRSs 2021-10-25 09:30:34 +10:00
Clemens Raffler
9eabef7623 add ellipsoid and crs settings in test 2021-10-25 09:30:34 +10:00
Clemens Raffler
9ef92b7d1f add testcase for centroid based distance 2021-10-25 09:30:34 +10:00
Clemens Raffler
4507337eac add test result datasets 2021-10-25 09:30:34 +10:00
Clemens Raffler
0ce9fc505c add point testdata 2021-10-25 09:30:34 +10:00