1328 Commits

Author SHA1 Message Date
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
1e82802d41 Fix SHAPE_ENCODING argument should not always get escaped 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
d4f2b842ba Allow for multiple reference text files 2021-02-08 13:23:40 +10:00
Nyall Dawson
0db5fabd05 Fix comparison of GDAL crs arguments to expected on 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
3b57b53851 Fix passing geometry compare options to checkLayersEqual 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
b0994a5574 Fix running tests where the same layer is used for multiple parameters 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
Nyall Dawson
846d1fe0e6 [processing] Add option to ignore part order when comparing geometries to expected results 2021-02-08 13:23:39 +10:00
Nyall Dawson
19b4b1aa64 When loading GML layers in processing tests, FORCE detection of
SRS. Newer GDAL versions won't do this by default, but we need
to determine the actual/expected CRS for these layers in order
to compare correctly.
2021-02-08 13:23:37 +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
9ee5e5646a Update tests 2021-01-09 07:16:14 +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
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +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
Alexander Bruy
554ce82c32 [processing] test for newly added parameter in Clip Raster by Extent
(followup 41dc20c2c1)
2020-10-28 18:35:29 +02:00
Alexander Bruy
41dc20c2c1
Merge pull request #38841 from rldhont/processing-gdal-clipbyextent
[Processing][GDAL] Clip Raster by extent - override CRS
2020-10-28 18:18:14 +02:00
Alexander Bruy
bfdb99fe65 [processing] correctly escape parentheses in GDAL command (fix #39525) 2020-10-28 06:07:27 +10: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
Even Rouault
c6fe79b60d [Processing] GdalUtils: fix quoting of arguments with '&' (fixes #38674) 2020-09-15 07:38:01 +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