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
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
Bas Couwenberg
85818c684c
Fix copyright in 2017
...
Match copyright header with python code.
2016-10-21 23:14:29 +02: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
a3ebc7bdb6
[processing] add test for ParameterSelection
2016-10-20 12:13:51 +03:00
Alexander Bruy
df90e6b964
[processing] remove unused test data
2016-10-20 11:28:34 +03:00
Alexander Bruy
fd8379c140
[processing] remove unused file
2016-10-20 11:28:33 +03:00
Manuel Grizonnet
7b22f5d8da
TEST: add a test for otb conversion application (simpler than bandmath)
2016-10-20 09:23:43 +03:00
Alexander Bruy
d4f410a307
Install OTB in QGIS Travis CI script to be able to run OTB test
2016-10-20 09:23:09 +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
Sandro Santilli
6731eaa9e5
Add test for setting up connection string
...
Conflicts:
python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
2016-10-18 16:55:19 +03:00
Sandro Santilli
8843de88c7
Fix ogrLayerName handling of PostgreSQL dataset URIs
...
Also document "uri" parameter semantic, and add more tests.
See for background
https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045311.html
REF #15698
2016-10-18 11:05:31 +02:00