776 Commits

Author SHA1 Message Date
root676
9fba322a73 fix point count test parameter 2019-11-27 04:18:28 +10:00
root676
3bf89fe100 fix CRS test parameter 2019-11-27 04:18:28 +10:00
root676
b96aed4e2d adaptation of algorithm test parameters 2019-11-27 04:18:28 +10:00
Alexander Bruy
524f66da78 [processing] port single-sided buffer algorithm to C++ and make distance
parameter dynamic
2019-11-26 03:56:24 +10:00
Alexander Bruy
f1d6080082 [processing] port set Z value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9411d96f60 [processing] port set M value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
5324d7f98d [processing] port points layer from table to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9289d53a6c [processing] port orthogonalize algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
aed17baed3 [processing] port spatial index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
7033c31063 [processing] port create attribute index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
a1e75e9df3 [processing] port constant raster algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
06a71403fe [processing] port terrain analysis algoithms to C++ 2019-11-26 03:56:24 +10:00
Nyall Dawson
2b9921ac2c Lower precision of grass centrality test
Refs #32562
2019-11-20 18:43:29 +10:00
root676
d159014179 fix bugs in fuzzify() methods and create processing tests 2019-11-11 05:26:02 +10:00
Alexander Bruy
020980d3b1 address comments 2019-11-08 11:04:05 +02:00
Alexander Bruy
6b3af0f8d1 update tests for service area algorithms 2019-11-06 08:28:51 +02:00
Nyall Dawson
64b52bf31b Fix handling of interpolation layers with differing input coordinate reference systems
Fixes #27048
2019-11-05 16:57:33 +10:00
root676
ccc7566bf1 Port of Densify Geometries by Count algorithm to C++ 2019-10-26 06:43:32 +10:00
Clemens Raffler
9e9ade3903 [processing] Port of Create Grid algorithm to C++
MUCH faster grid creation vs the Python implementation
2019-10-10 09:33:59 +10:00
Nyall Dawson
023ba1968e [processing] Drop precision of attribute check for create grid test results 2019-10-10 08:55:20 +10:00
Alexander Bruy
dceabb0e29 use another approach for test 2019-09-23 11:53:19 +03:00
Alexander Bruy
3c13fbfeb5 [processing] correctly handle case when layer source is not a plain path
in the virtual vector algorithm (fix #29336)
2019-09-23 11:53:19 +03:00
Nyall Dawson
c409025409 [FEATURE][processing] New algorithm "Split features by character"
This algorithm splits features into multiple output features by
splitting a field's value with a specified character.

For instance, if a layer contains features with multiple comma
separated values contained in a single field, this algorithm can
be used to split these values up across multiple output features.

Geometries and other attributes remain unchanged in the output.

Optionally, the separator string can be a regular expression for
added flexibility.

Designed for use in models which need to process input files
with multiple concatenated values in a single attribute, e.g.
geocoding a table with "address1,address2,address3" format strings
2019-09-06 11:09:37 +10:00
Nyall Dawson
8ef960442d [processing] Use lists, not maps in overlap analysis algorithm
Ensures consistent field ordering and that fields are always matched
to input layer order
2019-07-26 10:21:20 +10:00
Alexander Bruy
e45b62c6af re-enable some disabled test and fix broken r.describe algorithm 2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435 [processing] improve handling of the HTML outputs in GRASS provider (fix #30609) 2019-07-16 06:20:23 +10:00
Alexander Bruy
543673c388 also split YAML-based tests into raster and vector and run them as part
of the corresponding algorithms test
2019-06-25 11:50:36 +03:00
Alexander Bruy
f16f7f765e reorganize gdal provider tests
Now GDAL algorithms test are splitted into parts: general tests, raster
algorithms and vector algorithms. This makes testing a bit faster and
easier, as there is no need to run not related tests.
2019-06-25 09:59:50 +03:00
olivierdalang
8f629cab5e [FEATURE][processing] new algorithm point to layer 2019-06-22 05:49:28 +10:00
Matthias Kuhn
0640e51e48
Merge pull request #10005 from ghtmtt/processing_climb
[Processing] climb along line algorithm
2019-06-21 16:13:15 +02:00
Nyall Dawson
4ff8429f7a [processing] Port "Points along geometry" to QgsFeatureBasedAlgorithm
(and c++), allow distance/start/end offset to be dynamic, avoid
algorithm "hangs" when inappropriately small (or 0) distances
are used
2019-06-12 10:08:51 +07:00
Harrissou Sant-anna
502e18fa24 Update tests for gdal warp 2019-06-11 13:43:38 +10:00
Martin Varga
4013925083 [processing] deferred transparency/bg_color option in xyz alg 2019-06-07 11:09:41 +02:00
Martin Varga
3a9b32d635 [processing] added new options (alpha, quality, tile_size) to xyz alg 2019-06-07 11:09:41 +02:00
Alexander Bruy
121a92df7d
Merge pull request #10074 from alexbruy/grass-r-sun
[processing] split GRASS r.sun algorithm into two (fix #21637)
2019-05-25 07:59:19 +03:00
Mathieu Pellerin
a888986567
[needs-docs][processing] Avoid field collision via optional prefix in overlay algorithms (#10092)
Makes for a more predictable collision avoidance, which
can be neccessary for some models.
2019-05-24 19:00:28 +07:00
Alexander Bruy
6009070502 update tests 2019-05-23 10:54:16 +03:00
Nyall Dawson
289e72dc07 Adjust precision of some processing tests to allow them to pass under proj 6 2019-05-21 19:14:55 +10:00
Peter Petrik
6d9b40f634 add TMS (fix #21987)and HTML output (fix #21991) for tilesxyz. Split to 2 algorithms (directory and MBTiles) 2019-05-18 11:34:15 +02:00
matteo
4ca3935fbd [feature[ Processing Climb along lines algorithm 2019-05-15 08:18:45 +02:00
Nyall Dawson
2ec429cb89 [FEATURE][processing] New algorithm "Overlap analysis"
This algorithm calculates the area and percentage cover
by which features from an input layer are overlapped by
features from a selection of overlay layers.

New attributes are added to the output layer reporting
the total area of overlap and percentage of the input
feature overlapped by each of the selected overlay layers.

This is quite a common GIS task request, yet is full
of traps for inexperienced users, and the amount of
manual data work usually done by users to calculate
these figures can often lead to mistakes and inaccurate
results. It's nice to have a robust, fast, inbuilt
algorithm which allows this task to be done in a
single step without risk of human error.
2019-05-14 06:13:10 +10:00
Raymond Nijssen
6e62c0246d tests for rounded values in polygonfromlayerextent algorithm 2019-05-11 08:42:27 +02:00
Nyall Dawson
69c89151ef Add extra raster hashes 2019-05-09 14:04:30 +10:00
Nyall Dawson
6ec58f90c8 Spelling, formatting 2019-05-09 14:04:30 +10:00
Nyall Dawson
e2bd17f3c9 Split processing test files into multiple batches
There's two motivations for this:
- the existing one was getting massive and took ages to run, which was
a pain when developing. Smaller batches allow just a subset of test to
be run which is much faster.
- There's a random segfault on test exit which occurs on Travis. Rather
then disabling these absolutely critical tests altogether, I'm using
this as a method of bisecting exactly which alg is causing this.
2019-05-09 14:04:30 +10:00
Marcel Dancak
9820bb4fa9 [processing] updated test files - tiles with transparent background 2019-05-03 13:43:15 +02:00
epifanio
841b191ea8 [processing] Add r.geomorphon grass command and module in grass core plugin (#9625)
* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Update grass7_algorithms_raster_tests.yaml

adding corrected unit test

* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt
2019-04-27 10:37:43 +02:00
Martin Dobias
fdb6a2b79a Add test for XYZ Tiles algorithm 2019-04-25 22:14:08 +02:00
nirvn
9ce1093bce [FEATURE][ogr] Add string list field type support 2019-04-10 08:06:12 +07:00
nirvn
5e0fd15570 [FEATURE][processing] Add concatenate_unique support to the aggregate alg 2019-04-05 12:01:06 +07:00