897 Commits

Author SHA1 Message Date
Nyall Dawson
32df2d7966 SAGA silliness 2021-02-08 13:23:40 +10:00
Nyall Dawson
6c0fbe822e More tolerance in SAGA tests 2021-02-08 13:23:40 +10:00
Nyall Dawson
22fc50f6bf Disable r.rescale test -- cause intermitten segfaults in GRASS on CI (not our fault) 2021-02-08 13:23:40 +10:00
Nyall Dawson
7e691b561e Disable the i.pansharpen test -- GRASS on CI raises a python exception when running this tool (not our fault) 2021-02-08 13:23:40 +10:00
Nyall Dawson
39acbf86c7 More SAGA test nonsense 2021-02-08 13:23:40 +10:00
Nyall Dawson
bbe2ffeeef Disable some SAGA tests, make others more tolerant
Life is too short to deal with SAGA
2021-02-08 13:23:40 +10:00
Nyall Dawson
deea4fbe58 Update grass tests 2021-02-08 13:23:40 +10:00
Nyall Dawson
1629a576dc Add grass raster hashes 2021-02-08 13:23:40 +10:00
Nyall Dawson
1be431d93e v.rast.stats refuses to create shapefiles in newer grass versions, so use a different format 2021-02-08 13:23:40 +10:00
Nyall Dawson
404d2bc563 Add a reference hash 2021-02-08 13:23:40 +10:00
Nyall Dawson
0573a8dba6 Fix crs of reference dataset 2021-02-08 13:23:40 +10:00
Nyall Dawson
43b5f00267 Trust GDAL gives correct results given that we are confident we are creating the correct command line string 2021-02-08 13:23:40 +10:00
Nyall Dawson
61c1efe954 Add reference prj file for proj 6+ 2021-02-08 13:23:40 +10:00
Nyall Dawson
fdb53fe0bf Add a test hash 2021-02-08 13:23:40 +10:00
Nyall Dawson
735c62d93b No need to compare result from GDAL contour alg -- we already have lots of tests covering the creation
of the matching GDAL command, and we can trust that GDAL will generate contours correctly

Avoids fragility in the test when underlying GDAL contour algorithm/logic changes
2021-02-08 13:23:40 +10:00
Nyall Dawson
25886c30de A bit of repairs to vector tiles algorithm test 2021-02-08 13:23:39 +10:00
Nyall Dawson
465fe14ea8 More tolerance in some tests 2021-02-08 13:23:39 +10:00
Nyall Dawson
c9ca4febfe Add secondary reference layer for tapered buffer alg 2021-02-08 13:23:39 +10:00
Nyall Dawson
5ad24de4cc Temporarily disable the Find Projection test, which is very slow to run on proj 6+ builds 2021-02-08 13:23:39 +10:00
Nyall Dawson
e0c6b37615 Fix some saga tests 2021-02-08 13:23:39 +10:00
Nyall Dawson
b106c209a3 Fix some more processing alg tests 2021-02-08 13:23:39 +10:00
Nyall Dawson
4eed1d29e9 Add another reference hash 2021-02-08 13:23:39 +10:00
Nyall Dawson
589efd52f4 Fix expected test results 2021-02-08 13:23:39 +10:00
Nyall Dawson
fffeecccd6 More tolerance in Processing QGIS algorithms pt 1 test 2021-02-08 13:23:39 +10:00
Alessandro Pasotti
6e9389c4b2 Fix test result (because NULL is a distinct value like in PG SQL) 2021-01-26 13:17:17 +01:00
Alessandro Pasotti
9d18fe14f7 Fix basicstatisticsforfields tests 2021-01-26 09:58:53 +01:00
Nyall Dawson
10789b12fc Fix comparison sort order for points to path test 2021-01-20 09:08:35 +10:00
uclaros
9a2e9001a2 Fix failing test
Output feature order cannot be made backwards compatible so we're forced to modify the test to pass.
2021-01-19 05:09:48 +10:00
Julien Cabieces
579d55f286
[OTB] Fixes empty string parameters (#40957) 2021-01-13 11:16:18 +10:00
Nyall Dawson
9cf44e4a66 Loosen grass test crs requirement to allow passing on proj < 6 2021-01-12 13:47:19 +10:00
Nyall Dawson
b6ee3e66a3 [feature][processing] Add new algorithm to retain only selected fields
Allows users to select a list of fields to keep, and all other fields
will be dropped from the layer. Helps with making flexible models where
input datasets may have a range of different fields and you need to drop
all but a certain subset of these
2020-11-23 19:20:40 +10:00
Nyall Dawson
b07a58c028 [processing] Port delete fields algorithm to c++
1:1 port for speed/compile time safety, no user-facing changes

Also add tests
2020-11-23 19:20:40 +10:00
Alexander Bruy
bdce38bc0b drop useless test 2020-11-02 09:47:29 +02:00
Alexander Bruy
9414e3f54a test for DXF export algorithm 2020-11-02 09:47:29 +02:00
rldhont
90e9eda818 Processing - GDAL - Raster clip by extent - override CRS 2020-10-27 14:34:44 +01:00
Ivan Ivanov
6237ec0d41 Remove irrelevant test 2020-10-22 09:13:11 +10:00
Nyall Dawson
ab6e615c3e Update test 2020-10-15 12:40:30 +10:00
Even Rouault
53c5c337ec [Algorithms] JoinByNearest: accept max_distance == 0.0 (fixes #38761) 2020-09-16 06:15:11 +10:00
Matthias Kuhn
3bea2e702e
Merge pull request #38695 from suricactus/alg_fieldcalc_cpp_simple
Translate qgis::fieldcalculator to C++
2020-09-11 15:41:24 +02:00
Ivan Ivanov
bd81e2f1ff Add tests and fix backwards compatibility 2020-09-11 12:27:41 +03:00
Matthias Kuhn
7fb1740725 Add test 2020-09-09 21:21:34 +02:00
Mathieu Pellerin
af81515831
[processing] Add a cluster size attribute to the kmean cluster algorithm 2020-08-27 13:08:42 +07:00
Mathieu Pellerin
5e25c06de5
[processing] Add a cluster size attribute to the dbscan cluster algorithm 2020-08-26 08:48:57 +07:00
nirvn
d827faa2c8 [processing] Upgrade the sample raster value algorithm to native C++ 2020-08-17 12:59:34 +07:00
MrChebur
a9a850caf2
Add files via upload 2020-08-16 16:25:21 +05:00
MrChebur
f5e1abfe0f
Update qgis_algorithm_tests2.yaml 2020-08-16 16:24:28 +05:00
nirvn
8fe4d3e793 [processing] Allow merging layers with mixed attribute type 2020-08-11 15:03:38 +07:00
vcloarec
a4c8f33e09 fix processing test and remove invisible char 2020-08-10 08:28:24 +10:00
Nyall Dawson
95bd7b296b [feature][processing] New algorithm "Align points to features"
This algorithm calculates the rotation required to align point features
with their nearest feature from another reference layer. A new field is
added to the output layer which is filled with the angle (in degrees,
clockwise) to the nearest reference feature.

Optionally, the output layer's symbology can be set to automatically
use the calculated rotation field to rotate marker symbols.

If desired, a maximum distance to use when aligning points can be set,
to avoid aligning isolated points to distant features.

Designed for use cases like aligning building point symbols to follow
the nearest road direction!
2020-07-26 09:56:46 +10:00
Alexander Bruy
bc8b55e1f7 add tests 2020-07-08 12:43:51 +03:00