6749 Commits

Author SHA1 Message Date
Nyall Dawson
4fe72dd84f [processing] Add algorithms to filter parts by length/area
These new algorithms "Remove parts by length" and
"Remove parts by area" filter out parts of geometries from
a vector layer, by checking their area or length vs
a minimum size parameter.

If the input geometry is a multipart geometry, then the parts
will be filtered by their individual sizes. If no parts match the
required minimum size, then the feature will be skipped and
omitted from the output layer.

If the input geometry is a singlepart geometry, then the feature
will be skipped if the geometry's size is below the required size
and omitted from the output layer.

Attributes are not modified.
2025-07-10 17:42:30 +12:00
github-actions[bot]
e5ee5686c1 auto-fix pre-commit issues 2025-06-29 23:04:38 +00:00
Harrissou Sant-anna
8c0a4221e1 Add more methods to the Processing script template 2025-06-30 11:03:42 +12:00
Matthias Kuhn
b1ce2329a4
Merge pull request #60039 from qgis/macdmg
🍎 Mac Qt6 .dmg
2025-06-25 07:08:36 +02:00
github-actions[bot]
cbdf99ccf0 auto-fix pre-commit issues 2025-06-24 16:38:21 +12:00
Viper MiniQ
46b04269cf create algorithm instance before making a decision
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-06-24 16:38:21 +12:00
github-actions[bot]
5a09c69587 auto-fix pre-commit issues 2025-06-24 16:38:21 +12:00
viperminiq
3323834409 use better logic when opening dialogs 2025-06-24 16:38:21 +12:00
github-actions[bot]
0da56166d8 auto-fix pre-commit issues 2025-06-24 16:38:21 +12:00
viperminiq
c1396bd314 add decision gdal or native dialog 2025-06-24 16:38:21 +12:00
viperminiq
9456e8a529 load GdalAlgorithmDialog containing console call widget instead of basic AlgorithmDialog 2025-06-24 16:38:21 +12:00
Alexander Bruy
6c62b930b0 do not show error in the native interpolation algorithms when input
layer can not be obtained from the value (fix #62224)
2025-06-16 10:55:59 +12:00
Matthias Kuhn
0968a7bb24
Merge branch 'master' into macdmg 2025-06-14 08:19:03 +02:00
Alexander Bruy
28d10f4bc9
Merge pull request #62173 from nyalldawson/fix_62158
Try to extract only polygons from Voronoi results
2025-06-07 06:00:41 +01:00
Nyall Dawson
263758f80b Run conformance tests on pdal algorithms 2025-06-07 07:58:17 +10:00
Nyall Dawson
d2439eb74a Load PDAL algorithms from Processing.initialize 2025-06-07 07:58:17 +10:00
Nyall Dawson
70827c0772
Try to extract only polygons from Voronoi results
It can be that the intersection of the voronoi result with the
extent geometry gives non polygon parts (eg lines), so filter
those out before trying to add the feature to the output layer.

Fixes #62158
2025-06-06 11:46:33 +10:00
Nyall Dawson
fbb2a79b64
Update list 2025-06-06 11:22:47 +10:00
Nyall Dawson
25d50e6ee7
Fix test 2025-06-06 11:20:34 +10:00
github-actions[bot]
812445f1a8 auto-fix pre-commit issues 2025-06-06 01:10:41 +00:00
github-actions[bot]
f4006b5f4e auto-fix pre-commit issues 2025-06-06 11:09:38 +10:00
Nyall Dawson
6c33bcfaf5 Apply suggestions from code review 2025-06-06 11:09:38 +10:00
Klaus Agerskov
c9b4db25a8 Added some more short descriptions for proccesing tools 2025-06-06 11:09:38 +10:00
Nyall Dawson
4d74537829 [processing] Fix show feature count option, output layer ordering
Move as much of the postprocessing logic as we can to c++, and
soak with unit tests.

Fix regressions in layer sorting introduced by a46f3e9, and
missing feature counts.

Fixes #61146
2025-06-06 09:43:35 +10:00
Nyall Dawson
1e167b3827
Allow short description starting with 'randomly' 2025-06-06 08:50:49 +10:00
Nyall Dawson
52614f1fd1
Always run short description checks on new descriptions 2025-06-06 08:50:35 +10:00
Nyall Dawson
e5b3314af7
Update missing short description list 2025-06-06 08:49:27 +10:00
Nyall Dawson
10039e916c
Update missing tags list 2025-06-06 08:48:02 +10:00
pre-commit-ci[bot]
33fde971d7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-06-05 13:51:12 +02:00
Matthias Kuhn
1f331f9a6a Fix processing gdal algs 2025-06-05 13:51:12 +02:00
Klaus Agerskov
c6a56e3671
Added short descriptions for some algorithm (#62132) 2025-06-05 11:48:44 +10:00
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