Nyall Dawson
24ffa15ecf
[FEATURE][processing] Extract by attribute can extract for null/notnull values
...
Adds support for filtering where an attribute value is null or not null
2016-11-17 13:09:23 +10:00
Nyall Dawson
d237e27d7e
Followup 29d33b4
2016-11-15 10:15:43 +10:00
Nyall Dawson
29d33b47fe
[processing] Polygons to line fixes
...
- Maintain Z/M values
- Handle curved geometries without segmentizing
- Retain null geometries
2016-11-15 09:43:45 +10:00
Alexander Bruy
6e9631ea87
Merge pull request #3701 from alexbruy/processing-ogr-tests
...
[processsing] tests for GDAL algorithms
2016-11-14 11:05:51 +02:00
Nyall Dawson
b44093914b
Fix test failure, report distance from pole
2016-11-14 15:52:41 +10:00
Nyall Dawson
d6f09c012e
[FEATURE] Add method to calculate pole of inaccessibility for polygons
...
Implements a method in QgsGeometry and a processing algorithm to
calculate the pole of inaccessibility for a surface, which is the
most distant internal point from the boundary of the surface. This function
uses the 'polylabel' algorithm (Vladimir Agafonkin, 2016), which is an iterative
approach guaranteed to find the true pole of inaccessibility within a specified
tolerance. More precise tolerances require more iterations and will take longer
to calculate.
2016-11-14 15:52:41 +10:00
Alexander Bruy
0589566e4b
[processing] mark buffer lines test as expected failure
...
This test failed as result and expected WKT geometries differ
only because of 0 vs. -0 in one coordinates pair
2016-11-12 13:31:45 +02:00
Alexander Bruy
2287230f0f
[processing] fix parameter definition in offset curve algorithm
2016-11-12 13:31:45 +02:00
Alexander Bruy
426c5bef47
[processing] compare only geometry in tests
2016-11-12 13:31:45 +02:00
Alexander Bruy
85d1fd720b
[processing] cleanup test data
2016-11-12 13:31:44 +02:00
Alexander Bruy
e1ee477c40
[processing] use numeric parameter for buffer distance
2016-11-12 13:31:44 +02:00
Alexander Bruy
256efcc034
[processing] remove unnecessary schemas from test data
2016-11-12 13:31:44 +02:00
Alexander Bruy
a8feec8d3c
[processing] friendly names for some QGIS tests
2016-11-12 13:31:43 +02:00
Alexander Bruy
d239a97c41
[processing] test for OGR one-side buffer
2016-11-12 13:31:43 +02:00
Alexander Bruy
32094e93d0
[processing] add test for OGR offset lines
2016-11-12 13:31:43 +02:00
Alexander Bruy
397df65908
[processing] add test for points along lines
2016-11-12 13:31:43 +02:00
Alexander Bruy
d08c02dbd0
[processing] disable polygonize test, as it is not stable
2016-11-12 13:31:43 +02:00
Alexander Bruy
23de13c03f
[processing] add test for OGR buffer with dissolve
2016-11-12 13:31:42 +02:00
Alexander Bruy
31a6189a9c
[processing] add test for OGR polygon buffering
2016-11-12 13:31:42 +02:00
Alexander Bruy
5991eccb47
[processing] simple test for ogr buffering
2016-11-12 13:31:42 +02:00
Alexander Bruy
159fda68f2
[processing] add test for gdal_polygonize
2016-11-12 13:31:41 +02:00
Nyall Dawson
4e4bb2bf6b
Merge pull request #3728 from nyalldawson/open
...
Cleanup processing file handling
2016-11-07 13:20:13 +10:00
Nyall Dawson
8acc286b0f
[FEATURE] Snap to layer algorithm accepts a mode parameter
...
With a new option to prefer to snap to closest point on geometry.
The old behaviour was to prefer to snap to nodes, even if a node
was further from the input geometry than a segment. The new option
allows you to snap geometries to the closest point, regardless
of whether it's a node or segment.
2016-11-07 12:20:59 +10:00
Nyall Dawson
dae0a01761
[FEATURE][processing] Snap geometries algorithm allows snapping
...
to other layer types, supports point/line layers
Fix #14791 , #15313
2016-11-07 12:20:59 +10:00
Nyall Dawson
c3a978b9da
[FEATURE][processing] Snap geometries to layer algorithm
...
Port the Geometry Snapper plugin across to the analysis lib, and
expose to python bindings
Add a new algorithm which performs the snapping to layers
2016-11-07 12:20:59 +10:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
Nyall Dawson
d783c732a5
Fix processing tests
2016-11-07 11:11:30 +10:00
Nyall Dawson
f65e770242
[FEATURE[processing] New algorithm to compute geometry by expression
...
This algorithm updates existing geometries (or creates new
geometries) for input features by use of a QGIS expression. This
allows complex geometry modifications which can utilise all the
flexibility of the QGIS expression engine to manipulate and create
geometries for output features.
2016-11-02 16:05:46 +10:00
Nyall Dawson
82312e10e4
[FEATURE][processing] New algorithm to extract specific nodes
...
This algorithm allows you to extract specific nodes from geometries.
Eg you can extract the first or last node in the geometry.
The algorithm accepts a comma separated list of node indices to
extract, eg 0 = first node, 1 = second node, etc. Negative indices
can be used to extract nodes from the end of the geometry. Eg
-1 = last node, -2 = second last node.
2016-10-31 07:56:24 +10:00
Nyall Dawson
8dab2cd4d7
[FEATURE][processing] New algorithm to extend lines
...
Allows extending linestrings by a set distance at the start
and end of the line
2016-10-31 07:56:24 +10:00
Nyall Dawson
74e64645e4
[FEATURE][processing] New extract by expression algorithm
...
Filters an input layer by expression
2016-10-29 08:05:26 +10:00
Nyall Dawson
5eb875d63b
[processing] Add algorithm to strip null geometries
2016-10-24 11:24:37 +10:00
Alexander Bruy
b9c2ab2b74
Merge pull request #3646 from alexbruy/processing-otb-test
...
[processing] add tests for OTB algorithms
2016-10-20 12:30:34 +03:00
Alexander Bruy
df90e6b964
[processing] remove unused test data
2016-10-20 11:28:34 +03:00
Manuel Grizonnet
7b22f5d8da
TEST: add a test for otb conversion application (simpler than bandmath)
2016-10-20 09:23:43 +03:00
Manuel Grizonnet
1e7018f0cc
TEST: add test of OTB BandMath application in processing
2016-10-20 09:21:40 +03:00
Alexander Bruy
58f31f1a82
[processing] add tests for interpolation tools
2016-10-19 16:43:05 +03:00
Piotr Pociask
cd0fefb42b
[processing] Update voronoi classes for Python3; update expected data for multipoint Delaunay traingulation test
2016-10-19 11:15:38 +02:00
Piotr Pociask
3af23036fd
Test for multipoint Delaunay triangulation
2016-10-19 11:15:38 +02:00
Nyall Dawson
a05b610a8b
[processing] Use prepared geometries for intersects tests
...
Wherever possible use prepared geometry engines for intersects
type tests, as it's much faster
2016-10-17 11:18:46 +10:00
Alexander Bruy
a356bac1a5
[procesing] add tests for raster terrain analysis algorithms
2016-10-11 11:57:04 +03:00
Nyall Dawson
d4323addf0
[processing] Fix missing points in polygons menu item ( fix #15670 )
...
Also add a unit test
2016-10-11 09:30:46 +10:00
Nyall Dawson
90aebd117d
[processing] Add geometry info should add z/m values ( fix #14659 )
2016-10-11 09:30:41 +10:00
Alexander Bruy
519e76c79f
[processing] add test for gdalinfo algorithm
2016-09-14 15:55:14 +03:00
Nyall Dawson
4d60d0cdb5
[FEATURE] Add option to QgsGeometry::smooth to not smooth
...
segments shorter than a certain threshold or sharp corners
with an angle exceeding a threshold
Expose the angle threshold to processing smooth algorithm
Also:
- optimise QgsGeometry::smooth for new geometry classes
- Fix smooth does not work with geometries containing Z/M
2016-09-03 08:31:33 +10:00
Nyall Dawson
56b77db88c
[FEATURE][processing] Add choice of simplification method to simplify
...
This change allows users to choose which method to use when running
the simplify geometries algorithm, with choices of the existing
distance based (Douglas Peucker) algorithm, area based (Visvalingam)
algorithm and snap-to-grid.
Visvaligam in particular usually results in more cartographically
pleasing simplification over the standard distance based methods.
2016-09-01 08:22:18 +10:00
Nyall Dawson
5d97d03ad5
[processing] Fix simplify alg handling of null goemetry, add tests
2016-09-01 07:50:02 +10:00
Nyall Dawson
9fa4e776db
[FEATURE][processing] Extract nodes algorithm now saves node
...
index, distance along line and angle at node
Also correctly handles null geometries
2016-08-29 11:02:14 +10:00
Nyall Dawson
8db9284cb3
[FEATURE][processing] Optimised points along geometry algorithm
...
Supports also polygon geometries, handles null geometries,
and records the original line angle along with the distance
for each point.
2016-08-29 11:01:48 +10:00
Nyall Dawson
989d9864c5
[FEATURE][processing] New algorithm for single sided buffers
2016-08-17 06:44:04 +10:00