9011 Commits

Author SHA1 Message Date
Alex
143b1092fd looser tolerance 2025-06-04 14:16:59 +10:00
Alex
40e5eaf854 correct test 2025-06-04 14:16:59 +10:00
Alex
37f1836036 Delete join_attributes_subset_unordered.qmd 2025-06-04 14:16:59 +10:00
Alex
ea374ff4c3 fix non-default field order in join bys 2025-06-04 14:16:59 +10:00
github-actions[bot]
3d661da669 auto-fix pre-commit issues 2025-06-04 10:04:35 +10:00
Harrissou Sant-anna
0960be13b6 Add one more translatable string 2025-06-04 10:04:35 +10:00
Harrissou Sant-anna
74dd0a0052 Make button label translatable 2025-06-04 10:04:35 +10:00
Anna
b8aa8237d0 style edit 2025-06-04 10:02:27 +10:00
Anna
df76328892 made changes to section Vector with tolerance 2025-06-04 10:02:27 +10:00
Anna
cd908188ef made changes to section Algoritm tests and How to 2025-06-04 10:02:27 +10:00
Nyall Dawson
31b1e197c0 More test tolerance 2025-06-03 13:42:29 +10:00
Nyall Dawson
9996e9cdfc [processing] Fix execution of nested models
Fixes #60883
2025-06-03 13:42:29 +10:00
Nyall Dawson
8ea8798c52 Add "concave hull by feature" algorithm
The existing concave hull algorithm is quite restrictive as it
forces operation on an entire layer, which makes it useless eg
to create concave hulls from service area outputs.

Rename the existing one to "concave hull (by layer)", and make
sure all the documentation explains this so its more predictable
for users.
2025-06-02 07:17:39 +10:00
Nyall Dawson
e7e1311472 [processing] Allow dynamic travel cost for service area from layer alg
It doesn't make sense to force a single cost for all input points, so
make this parameter dynamic so that the cost can be eg taken from
an input layer field

Fixes #62004
2025-05-30 14:17:49 +10:00
Nyall Dawson
4cf15e496c [processing] Allow creating tests with dynamic expression params 2025-05-30 14:17:49 +10:00
Even Rouault
635acf7c93 Remove GdalUtils.ogrOutputLayerName() 2025-05-28 11:32:30 +10:00
Even Rouault
4df0244c94 GdalUtils.ogrLayerName(): fix parsing a PostgreSQL non-spatial table
Fixes #61655
2025-05-28 11:32:30 +10:00
Alexander Bruy
d882673078
Merge pull request #61880 from alexbruy/processing-virtual-layers-gdal-provider
Fix support for virtual layers in GDAL algorithms provider
2025-05-19 08:00:59 +01:00
Alexander Bruy
39543e7c86 add missing import 2025-05-17 10:16:44 +01:00
Alexander Bruy
1840dfef0d raise exception when algorithm requires layer name, but layer name is
not set
2025-05-17 06:48:03 +01:00
Nyall Dawson
db52dfee73 Update python/plugins/processing/tests/AlgorithmsTestBase.py
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2025-05-17 11:15:23 +10:00
Nyall Dawson
e5660d32f0 Update list 2025-05-17 11:15:23 +10:00
Nyall Dawson
9e2c6962ad Add conformance test to ensure algorithms have tags 2025-05-17 11:15:23 +10:00
Nyall Dawson
c1f022a16d Add extra conformance test to ensure short description does NOT start with "this algorithm" 2025-05-17 11:15:23 +10:00
Alexander Bruy
76d8920bce fix handling of virtual layers as inputs in GDAL Processing provider
(fix #59364)
2025-05-16 05:59:57 +01:00
Alexander Bruy
43e8499071 port Find projection algorithm to C++ 2025-05-16 12:31:46 +10:00
Nyall Dawson
d309cf21a4
No HTML in short descriptions 2025-05-15 13:09:55 +10:00
Nyall Dawson
689ea67e74
Fix algorithm string conformance 2025-05-15 13:08:36 +10:00
Nyall Dawson
158b4a6b0d
Add conformance tests for algorithm descriptions 2025-05-15 13:08:36 +10:00
viperminiq
f11e2430d0 fix colliding fields in processing algs 2025-05-10 08:15:30 +02:00
Nyall Dawson
fa80bcfd5d [processing] Port SAGA "Fill Sinks Wang & Liu" to native tool
Based on tickets/stackexchange posts/mailing list activity, this
seems to be a highly in demand tool which is fragile and error
prone when run via the SAGA Processing Plugin.

Port to a native tool to avoid this situation, and give a nice
optimised out-of-the-box tool.

Note that this is functionally a 1:1 clone of the SAGA tool. I've
verified that the outputs match SAGAs outputs, but any bugs
present in the SAGA implementation will also be present here.
2025-05-07 13:35:28 +10:00
Alexander Bruy
4c1d27422b port Convert geometry type algorithm to C++ 2025-05-06 07:48:08 +10:00
Nyall Dawson
6bd91f8381 [processing][api] Add API for an algorithm to auto-set parameter values
Adds an API which an algorithm can implement to support auto-setting
parameter values. This is designed to handle the case
of eg an algorithm which does a file format translation, where
it's desirable to default the output parameter value to an input
parameter value with a different extension.

This can now be done by implementing autogenerateParameterValues
in the algorithm, eg:

    def autogenerateParameterValues(self, existingParameters, changedParameter, mode):
        if changedParameter == self.INPUT:
            input_file = existingParameters.get(self.INPUT)
            if input_file:
                input_path = Path(input_file)
                if input_path.exists():
                    # auto set output parameter to same as input but with 'qgs' extension
                    return {self.OUTPUT: input_path.with_suffix('.qgs').as_posix()}

        return {}

Works for both toolbox and batch modes for algorithms
2025-04-30 13:56:09 +10:00
Nyall Dawson
4220d9f227 Add flag to skip validation of processing parameters 2025-04-30 13:56:09 +10:00
Alexander Bruy
f3a0016f8e update expected file 2025-04-30 06:57:21 +10:00
Alexander Bruy
ed6f09b871 remove old implementation 2025-04-30 06:57:21 +10:00
Alexander Bruy
a0bde0b7a8 port Climb algorithm to C++ 2025-04-30 06:57:21 +10:00
Andrea Giudiceandrea
c4a2e9c6d2 [gui][processing] Fix "Check validity" algorithm ID in menu 2025-04-27 09:53:27 +10:00
Viper MiniQ
7d090fd7b9
fix starting interpolation algs and heatmap, qt6 compatibility 2025-04-25 13:20:02 +10:00
Nyall Dawson
b114e0aef3 Fix duplicate parameter warning in gdal rasterize algorithm 2025-04-24 10:19:56 +10:00
Alexander Bruy
2d1f318bf9 update Processing algorithms to use new enum values 2025-04-23 07:39:24 +10:00
Alexander Bruy
f186288b41 fix TIN and IDW interpolation algorithms and tests 2025-04-23 07:39:24 +10:00
Alexander Bruy
f2b9f60a44 port Check Validity algorithm to C++ 2025-04-21 12:15:13 +01:00
Alexander Bruy
c0491d6997
Merge pull request #61321 from alexbruy/harmonize-create-options-naming
Harmonize terminology related to create options
2025-04-15 08:06:44 +01:00
Alexander Bruy
b5019cbfb0
Merge pull request #60945 from alexbruy/processing-export-geometry-info-cpp
port Add geometry attributes algorithm to C++
2025-04-14 20:04:33 +01:00
Alexander Bruy
598233d881 fix test 2025-04-12 11:00:42 +01:00
Alexander Bruy
5bde6fec42 harmonize parameter name in Processing algorithms 2025-04-12 11:00:42 +01:00
Alexander Bruy
0cbfa928c6 more complete test for merge vector layers algorithm for the case when
fields have different length and precision (follow-up #60842)
2025-04-08 09:20:39 +10:00
Harrissou Sant-anna
60e684df77
Remove optional criteria on "Use logarithmic scale ..." boolean parameters
of vector layer scatterplot algorithm
2025-04-04 11:14:37 +02:00
Alexander Bruy
99b3a5064f
Merge pull request #60842 from ValentinBuira/fix-mergevectorlayer-field-length
Fix processing (unreported) : Merge vector layer algorithm fail in the case a field name already exists but with different length or precision
2025-03-31 08:21:43 +01:00