1342 Commits

Author SHA1 Message Date
Nyall Dawson
4647cfccef [processing] Add "Keep disjoint results separate" option to buffer
algorithm

If checked, then any disjoint parts in the buffer results will be
output as separate single-part features. This setting is designed
to expose a similar functionality as is available for the 'dissolve'
algorithm.

Sponsored by City of Canning
2023-03-08 18:08:43 +10:00
Nyall Dawson
59332bb40d [processing] Fix incorrect GDAL raster calc sources for layers when
the extent handling option is set
2022-12-08 12:06:02 +10:00
Loïc Bartoletti
60e2c9874c
Merge pull request #50586 from nicogodet/gdalcalcextent
Add user interface for `--extent` gdalcalc option
2022-11-17 09:54:46 +01:00
Nyall Dawson
894a938fff [processing] Drop unmainted saga provider from QGIS install
This provider has not been maintained and does not work with
newer SAGA versions. Users are encouraged to use the 3rd-party
"Processing Saga NextGen" plugin instead.
2022-11-10 17:25:06 +10:00
Nyall Dawson
c9a2a5efa8 Fix some overlay algorithms output multipoint geometries but
output layer is single point, causing insertion errors

Fixes #49456
2022-10-20 13:59:49 +10:00
nicogodet
c1157fdb67 Tests for --extent gdal_calc option 2022-10-17 14:10:00 +02:00
Even Rouault
ab7feb6e15 [Processing] Fix typo in smoothing parameter name of gdal_grid algorithms
The correct spelling is 'smoothing' (two o's): https://github.com/OSGeo/gdal/search?q=smoothing
No match with single o: https://github.com/OSGeo/gdal/search?q=smothing
2022-09-26 12:47:31 +10:00
Nyall Dawson
9d1fc68c1d Get remaining processing tests working on newer systems 2022-08-10 16:33:18 +10:00
Nyall Dawson
9f07b782f2 More working processing tests on newer systems 2022-08-10 16:33:18 +10:00
Nyall Dawson
6e6759f482 Fix some more processing tests on newer libraries 2022-08-10 16:33:18 +10:00
Nyall Dawson
7b7d0ba77e When running hub lines tool in geodesic mode, always drop m/z values
Otherwise we end up with geometries full of nan z/m values, which
are problematic and can't be used with newer GDAL versions
2022-08-10 16:33:18 +10:00
Nyall Dawson
44c06b7be4 Get some processing tests passing on newer libraries 2022-08-10 16:33:18 +10:00
Nyall Dawson
53a86528f1 More processing test fixes 2022-08-08 17:50:06 +10:00
Nyall Dawson
4af0e4c1a0 Get some more processing tests working on newer GDAL/GEOS 2022-08-08 17:50:06 +10:00
Nyall Dawson
5a6b76abaf Fix difference algorithm when differencing a point results in
a null geometry

Fixes #49291
2022-07-12 11:42:10 +10:00
Andrea Giudiceandrea
2c807f918b Add tests for native:setzfromraster with offset 2022-06-18 05:44:28 +10:00
Sandro Santilli
8c18fa28b6 Drop gpkg_metadata_reference_column_name_update trigger generated by GDAL < 2.4.0
Presence of this trigger results in QGIS dropping it whenever the file
is opened in read-write mode (as it happens with vector layer is
created from it)

See https://github.com/qgis/QGIS/issues/48937#issuecomment-1152726973
2022-06-11 01:35:14 +02:00
Alexander Bruy
7743cf4641 fix tests 2022-05-02 15:55:01 +10:00
Alexander Bruy
34a20f8b2d add tests 2022-05-02 15:55:01 +10:00
Nyall Dawson
07ee0bb7e4 Fix some tests on newer GEOS 2022-03-17 18:12:27 +10:00
Nyall Dawson
290154744b [feature][processing] Add "Keep disjoint features separate" option
for dissolve algorithm

If enabled, this option will cause disjoint features and parts to
be exported as separate features (instead of as parts of a
single multipart feature).
2022-03-17 18:12:27 +10:00
webmaster
b420a23acd [processing] Fix erroneous call to secsTo when it should be msecsTo
(fixes #47727)
2022-03-11 10:27:11 +01:00
Germán Carrillo
ec23963359 Add tests for join attributes table with name conflicts (fix for #47650) 2022-03-09 11:07:01 +10:00
Andrea Giudiceandrea
5f262509a5 GDAL Rasterize: additional test for extent CRS handling 2022-02-07 09:12:21 +01:00
Andrea Giudiceandrea
ad8237713a GDAL Rasterize: add test for extent CRS handling 2022-02-06 16:51:10 +01:00
Nyall Dawson
dd368a4289 When processing is initialized in external scripts, ensure the GRASS,
SAGA and OTB providers are included by default

Fixes #45935
2022-02-01 18:14:48 +10:00
Alexander Bruy
d03ea9cdbc add tests for reloading output of the GDAL rasterize algorithms 2022-02-01 08:26:43 +10:00
Mathieu Pellerin
e1b8abd5cb
Merge pull request #47049 from nirvn/refactor_missing_array_fix
Add missing string,integer,double array field types in the refactor and aggregate algorithms
2022-01-30 18:17:03 +07:00
nirvn
f223ef2112 Address review and tests failure 2022-01-30 16:36:06 +07:00
nirvn
6d4c9e162b Add array_agg test 2022-01-30 14:39:54 +07:00
nirvn
2918c1a2c7 Skip gml_id to work around gdal >= 3.4 changing default GML format 2022-01-30 13:48:04 +07:00
nirvn
e722475a48 [processing] Add missing {string,integer,double} array types in the field mapping widget 2022-01-30 13:48:04 +07:00
nirvn
069ceeb104 [processing] Add a bunch of missing field types to the add field to attributes table algorithm 2022-01-29 11:30:54 +07: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
Benoît Blanc
b9473655b3 Add command-line based tests for ogr2ogr 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
Alexander Bruy
eb5bce67e9 [processing] fix order of command line arguments in gdal_polygonize (fix #46045) 2021-11-16 07:12:14 +11:00
Alexander Bruy
16d2eb276d [processing] multidirectional and combined shading options are mutually
exclusive (fix #45957)
2021-11-10 08:06:39 +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
Clemens Raffler
257f45297c add python based test 2021-10-25 09:30:34 +10:00
Ivan Ivanov
5df09e0e08 Add test for quoted delimiter 2021-10-21 12:36:33 +03:00
nicogodet
09cfa8ae0a add tests 2021-10-07 08:31:54 +10:00
Andrea Giudiceandrea
1b1e80de86 Fix test for gdal_merge with nodata value 2021-09-11 06:15:47 +10:00