Nyall Dawson
1e661e37b9
[FEATURE][processing] New 'drop geometries' algorithm
...
Simply removes any geometries from an input layer and returns
the features with attributes only
2016-11-24 09:41:11 +10:00
Nyall Dawson
38a0ea0844
Small tweaks to processing split algorithm, add tests
2016-11-24 08:48:37 +10:00
Bernhard Ströbl
0e2ef065d7
[processing] [FEATURE] SplitWithLines
...
Rename algorithm SplitLinesWithLines to SplitWithLines
Accept polygon as input, too
Use only selected lines to split with (if processing is set to use selection only)
Issue log message if trying to split multi geometries
Update help
2016-11-24 08:05:16 +10:00
Nyall Dawson
986acab9cc
[processing] Tweak test precision
2016-11-24 07:54:40 +10:00
Nyall Dawson
d742478ac9
[processing] Add tests for create points from table alg
2016-11-24 07:52:53 +10:00
Nyall Dawson
69e8e4a3c2
[processing] Allow alg tests to use ParameterTable inputs
2016-11-24 07:52:17 +10:00
Nyall Dawson
489e00df8d
[processing] Enhance create points layer alg
...
Clean up code, allow setting z/m columns
2016-11-23 16:43:25 +10:00
Nyall Dawson
3c51a93f6a
[processing] Fix very broken delete columns algorithm
2016-11-23 15:21:17 +10:00
Nyall Dawson
5e1a69fc88
[FEATURE][processing] Create attribute index algorithm
...
Allows creation of an index on an attribute in a layer for faster
attribute based filtering
Support depends on the underlying data provider for the layer
2016-11-18 10:56:02 +10:00
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
9afd6b0a2e
[processing] fix test
2016-11-14 15:40:23 +02: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
Nyall Dawson
f24cda4402
[processing] Add unit tests for retrieving param from script code
...
And fix number param retrieving from script code
2016-11-13 20:34:35 +10:00
Alexander Bruy
d81533e05a
fix failing test
2016-11-12 13:31:46 +02: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
af16bbf532
[processing] don't print Processing version
2016-11-12 13:31:45 +02:00
Alexander Bruy
fcc96de8a7
[processing] fix indentation
2016-11-12 13:31:45 +02:00
Alexander Bruy
75bd622ccc
[processing] restore and fix extraction of OGR layer names
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
52e29b93b8
[processing] fix deprecation warnings in GDAL test
2016-11-12 13:31:42 +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
a6bd9f0207
Revert "Fix extraction of ogr LayerName from multi-layer dataset URIs"
...
This reverts commit 6c5364186dd8d45ac51e5bd1a72c6a542f032cb1.
As it breaks all OGR geoprocessing algoroithms.
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
nirvn
be2223fed3
[processing] check for parent alg dependencies in hasDependencies()
2016-11-11 13:08:01 +07:00
Nyall Dawson
156fce989d
Add unit tests for processing expression parameter
2016-11-11 13:26:31 +10:00
Nyall Dawson
72118f91f9
[processing] When an algorithm has string parameters, also
...
accept numeric, file and table field inputs in modeler
This allows a non-string parameter to be reused as a string
parameter in contexts where it makes sense.
2016-11-11 13:26:31 +10:00
Nyall Dawson
10648dfb0c
[processing] Start of tests for modeler
2016-11-11 08:35:38 +10: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