914 Commits

Author SHA1 Message Date
Nyall Dawson
a463af32f8 [processing][grass] Fix generation of output for v.rast.stats, add test 2018-07-25 09:23:36 +10:00
Nyall Dawson
27d447b79d [processing][gdal] Ignore 'selected features only' setting when
creating command preview

Since this has no meaning outside of a QGIS session

Refs #19451
2018-07-25 08:20:07 +10:00
Nyall Dawson
ed94b693e9 [processing][gdal] Fix layer paths are sometimes incorrect within command preview
Fixes #19451
2018-07-25 08:20:07 +10:00
Nyall Dawson
6a4d9c9bd4 [processing] Ensure feature source wrapper always returns direct
layer id/source whenever 'use selected features' is unchecked,
instead of always returning a QgsProcessingFeatureSourceDefinition
2018-07-25 08:20:07 +10:00
Nyall Dawson
3ec1442045 Points -> vertices 2018-07-24 03:56:10 +10:00
Nyall Dawson
e8d1bfc3a8 Add extra grass reference hash 2018-07-24 03:56:10 +10:00
Nyall Dawson
97e0db6245 [FEATURE][processing] Filter Vertices by M and Filter Vertices by Z algorithms
Adds two new algorithms, for filtering line/polygon vertices by their
M or Z values. A minimum and maximum M/Z value can be entered, and
if the vertices fall outside these ranges they will be discarded
from the output geometry.

Both min and max filter value can also be data defined, so can
vary per feature.
2018-07-24 03:56:10 +10:00
Nyall Dawson
f685d11b29 [processing] Reverse line direction can work with multi(line/curve) geometries 2018-07-24 03:55:49 +10:00
Nyall Dawson
65548436ad [processing] Port reverse line direction alg to c++ 2018-07-24 03:55:49 +10:00
Nyall Dawson
59ec2e0bce [processing][FEATURE] Port extend lines algorithm to c++, allow dynamic start/end distance
Allows the start and end distance to be data defined
2018-07-24 03:54:21 +10:00
Matteo Ghetta
14c74d88c8
Merge branch 'master' into processing_sampling 2018-07-16 08:33:59 +02:00
nirvn
53df974131 [processing] add a few more parameter tests to gdal's warp & translate algs 2018-07-16 11:53:02 +07:00
Nyall Dawson
e46b00d40d Tests for dbscan algorithm 2018-07-16 13:00:27 +10:00
Luigi Pirelli
f7a1ef1431 Added test for gdal_fillnodata used inside processing 2018-07-13 12:19:40 +02:00
matteo
40d2a97034 update test 2018-07-12 11:34:13 +02:00
matteo
b16b8a7bd3 updated tests data 2018-07-12 10:01:17 +02:00
Nyall Dawson
82364e4295 [processing][saga] Unit tests for snap points to lines/points algs 2018-07-12 11:32:37 +10:00
matteo
22d7b6c5d0 fixing indentation? 2018-07-11 09:23:09 +02:00
matteo
5507c3439b try geojson for travis 2018-07-10 16:14:59 +02:00
matteo
d1cedbcf92 [processing][needs-doc][FEATURE] Sample raster values to point 2018-07-10 15:19:56 +02:00
Alexander Bruy
29207a1617 [processing] fix Random extract/select within subset when subset is
smaller than number of requested features (fix #19322)
2018-07-04 18:30:30 +03:00
Nyall Dawson
f43adf7a8b Fix test 2018-07-03 09:43:40 +10:00
Nyall Dawson
9fe26af8fa Allow processing tests to specify ellipsoid/project CRS 2018-06-29 07:12:48 +10:00
Nyall Dawson
34b9d39b27 [FEATURE][processing] K Means clustering algorithm
Adds a native k-means clustering algorithm.

Based on a port of PostGIS' ST_ClusterKMeans function, this
new algorithm adds a new cluster ID field to a set of input
features identify the feature's cluster based on the k-means
clustering approach. If non-point geometries are used as input,
the clustering is based off the centroid of the input geometries.
2018-06-29 07:12:48 +10:00
Nyall Dawson
85fba799ea [processing] Don't abort when missing field name specified in
delete columns algorithm

Fixes #19256
2018-06-28 17:10:23 +10:00
Nyall Dawson
6f5405a829 [processing] Be more careful with output geometries added as a
result of clipping
2018-06-28 17:09:51 +10:00
Nyall Dawson
5b7eefa6ae [FEATURE][processing] New 'Raster pixels to polygons' algorithm
Converts a raster layer into a vector layer, with a polygon feature
corresponding to each pixel from the raster and a single field
containing the band value from the raster.

Sponsored by SMEC/SJ
2018-06-23 04:42:10 +10:00
Nyall Dawson
16ac437780 [processing] Fix bar and box plot exception when category field has NULL values 2018-06-20 08:07:23 +10:00
Nyall Dawson
a17b77be56 [processing][gdal] Add missing parameters for buildvrt algorithm 2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4 [processing][gdal] More descriptive name for separate parameter
in buildvrt algorithm

Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
8323462f3b [processing][saga] Fix definition of cross profiles alg, add test 2018-06-16 15:35:31 +10:00
Nyall Dawson
6b08eff655 Spelling 2018-06-15 13:48:43 +10:00
Nyall Dawson
0a2c856bbb [processing][saga] Remove duplicate polygon self intersection alg, fix params and add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
dd9e46f86c [processing][saga] Remove duplicate intersect alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
c85b1649c8 [processing][saga] Remove duplicate symmetrical difference alg
and add test.

Warnings: SAGA results are bad here! Use the native QGIS alg
instead
2018-06-15 13:48:43 +10:00
Nyall Dawson
f75d31c40c [processing][saga] Remove duplicate polygon difference alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
bdac9f10c6 [processing][saga] Remove duplicate identity alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
07530be1b6 [processing][saga] Remove duplicate polygon union algorithm
Also
- fix typo in algorithm name
- add unit test
2018-06-15 13:48:43 +10:00
Nyall Dawson
939551bc35 [processing][saga] Remove duplicate polygon update algorithm, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
0da30699a5 [processing] Add unit tests for reclassify using nulls 2018-06-13 14:54:40 +10:00
Nyall Dawson
7a157837cb Add tests for processing reclassification algorithms 2018-06-13 14:54:40 +10:00
Nyall Dawson
23277284e7 [processing][gdal] Fix execution of hillshade with multidirectional argument
And add tests
2018-06-09 18:15:00 +10:00
Nyall Dawson
77786f38c3 [processing][SAGA] Fix interpolation choices for add grid values algorithms
And add more tests

Fixes #19132
2018-06-08 12:18:35 +10:00
Nyall Dawson
e97f0d3230 Update processing test results 2018-06-08 10:13:13 +10:00
Nyall Dawson
22a98fb680 [processing] Allow choice of field prefix for Join algorithms
Avoids clash of field names resulting in potentially misleading results
2018-06-07 14:24:16 +10:00
Nyall Dawson
8c689b2d36 [processing] Fix create constant raster layer modifies pixel size
Fixes #18446
2018-06-05 16:15:58 +10:00
Nyall Dawson
3b2f690d26 [processing] Also add table output for raster unique values report algorithm
Allows values to be used within models
2018-06-04 21:30:12 +10:00
Nyall Dawson
b8ff44e63d [processing][saga] Fix error in merge vector layers
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
1bc1790b7b [processing][SAGA] Resync kriging parameters with saga manual
And remove duplicate kriging algorithms, add tests

Fixes #18191
2018-06-04 15:05:15 +10:00
Nyall Dawson
268aa171cb [processing][saga] Fix error in raster calculator
Fixes #18751
2018-06-04 14:01:24 +10:00