Andrea Giudiceandrea
e56da0e58a
Add test for Join by location (equals)
...
Adds a test for "Join attributes by location" processing algorithm 'equals' predicate
2018-08-30 09:59:26 +02:00
Nyall Dawson
0d200623b1
[FEATURE][processing] Add non-joinable output to Join by Location alg
...
Allows unjoinable features to be saved to a separate optional layer
2018-08-18 08:03:39 +10:00
Nyall Dawson
773371a143
[FEATURE][processing] Join by field value can export unmatched records,
...
and reports counts of matched/unmatched features
This gives an explicit warning to users when features were not matched,
and optionally allows them to save non-matching features to a layer.
2018-08-18 08:03:39 +10:00
Nyall Dawson
8365335fd3
[FEATURE][processing] Interpolate point on line algorithm
...
This algorithm creates a point geometry interpolated at a
set distance along line (or polygon boundary) geometries.
2018-08-15 14:01:59 +10:00
Nyall Dawson
7ef5631d6b
[FEATURE][processing] Line substring algorithm
...
This algorithm returns the portion of a line (or curve) which falls
between the specified start and end distances (measured from the
beginning of the line).
Z and M values are linearly interpolated from existing values.
2018-08-15 14:01:59 +10:00
Nyall Dawson
526e590c8d
[FEATURE][processing] Add "raster pixels to points" algorithm
...
Refactor the existing "raster pixels to polygons" algorithm and
create a new "pixels to points" algorithm, which creates a point
feature at the center of every pixel. nodata pixels are skipped.
2018-08-09 12:02:22 +10:00
Håvard Tveite
d2b71c307b
[processing] Added isclose function to VoronoyPolygons.py to avoid numerical instability
...
Fixes #8002 - hopefully, and adds tests
2018-08-09 09:18:54 +10:00
havatv
4b1bc82ca1
Added a test for VoronoiPolygon.py that covers some new cases
2018-08-08 05:54:44 +10:00
Nyall Dawson
4acef1efbf
[processing] Fix crash in extract by attribute when field name does not exist
...
Fixes #19531
2018-08-04 05:57:46 +10:00
Alexander Bruy
72d13ac0f8
[processing] port shortest path (layer to point) alg to c++
2018-07-30 15:15:04 +03:00
Alexander Bruy
d999923da9
[processing] port shortest path (point to layer) alg to c++
2018-07-30 15:15:04 +03:00
Alexander Bruy
a6901edb9b
[processing] port shortest path (point to point) alg to c++
2018-07-30 15:15:03 +03:00
Nyall Dawson
f119453f42
Tweak algorithm names, strings
2018-07-30 12:11:17 +10:00
Nyall Dawson
d5ce6dcb1d
[FEATURE][processing] native drape features to z/m algorithms
...
Sets vertex z/m values to values sampled from a raster band.
Values can optionally be scaled using a (data definable) scale value.
2018-07-30 12:11:17 +10:00
Nyall Dawson
d1d6840a5f
[processing][feature] Port 'offset lines' to c++, support dynamic offset parameter
...
Adds data defined support for the offset line distance parameter.
2018-07-27 13:23:50 +10:00
Nyall Dawson
76c84f14d7
[FEATURE][processing] "Create parallel lines" algorithm
...
This algorithm creates copies of line features in a layer, by
creating multiple parallel versions of each feature. Each copy is offset
by a preset distance.
2018-07-27 13:23:50 +10:00
Nyall Dawson
abe4532a2c
[feature][processing] "Array of Offset Features" algorithm
...
This algorithm creates copies of features in a layer, by
creating multiple offset versions of the feature. Each copy is displaced
by a preset amount in the x/y/z/m axis.
2018-07-27 13:23:50 +10:00
Nyall Dawson
3ec1442045
Points -> vertices
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
Nyall Dawson
e46b00d40d
Tests for dbscan algorithm
2018-07-16 13:00:27 +10:00
matteo
40d2a97034
update test
2018-07-12 11:34:13 +02: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
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
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
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
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
37b06bcf29
[processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
...
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
Martin Dobias
aa2b1e9834
Add test for single layer union
2018-05-10 06:50:57 -04:00
nirvn
fdaa57a273
[FEATURE][processing] Zonal histogram algorithm
2018-05-03 11:36:16 +07:00
Nyall Dawson
9ffae600f4
[FEATURE] Variable width buffers
...
Adds geometry methods to create variable width buffers, including
tapered buffers (with a specified start and end diameter) and
variable width buffers from line string m values.
Also adds processing algorithms which expose these methods
to processing.
2018-05-01 06:16:01 +10:00
Martin Dobias
16a6a90dd7
Merge pull request #6859 from wonder-sk/overlay-alg-fixes-3
...
Port Union algorithm to C++ and fix it
2018-04-26 22:56:22 +02:00
Matthias Kuhn
3e2694a068
Merge pull request #6848 from gacarrillor/line_intersection_with_geometry_collections
...
[processing] Make line intersection alg able to handle collections
2018-04-26 07:20:55 +02:00
Martin Dobias
21a756ff1d
Remove older (incorrect!) test cases for union
...
The newer test data (overlay1_a and overlay1_b) cover more scenarios
and can be more easily investigated if something goes wrong.
2018-04-25 23:29:04 +02:00
Martin Dobias
8a96573880
Port Union algorithm to c++ using existing intersection+difference algs
2018-04-25 17:22:40 +02:00
Martin Dobias
d2513e0538
Port Difference & Sym.Diff. to C++, cleanups and tests
2018-04-24 20:42:13 +02:00
gacarrillor
49ee8bba13
[processing] Make line intersection alg able to handle intersections of type 'geometry collection'
2018-04-23 23:27:23 -05:00
Nyall Dawson
2850b308ba
Add unit test for wedge buffers alg
2018-04-24 10:07:51 +12:00
Nyall Dawson
6c892652ac
Followup a463858, fix failing tests
2018-04-20 08:38:15 +10:00
Martin Dobias
721c536185
Merge branch 'master' into overlay-alg-fixes-1
2018-04-18 14:16:50 +02:00