732 Commits

Author SHA1 Message Date
matteo
c259070102 processing single to multi test 2017-01-13 12:37:51 +01:00
matteo
7958db29d1 processing mean coordinates test 2017-01-13 12:37:50 +01:00
matteo
2c6649358a processing points along lines test 2017-01-13 12:37:50 +01:00
matteo
94856b59b1 processing qgis count points weighted 2017-01-13 12:37:39 +01:00
matteo
590abf0a44 processing qgis countsuniquepoints test 2017-01-13 12:37:39 +01:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
Alexander Bruy
1ad965b4fa [processing] add test for Distance matrix algorithm to prevent
TableWriter class breakage in future
2017-01-10 20:24:05 +02:00
Alexander Bruy
9909109928 Merge pull request #3973 from ghtmtt/good_test2
[processing] other gdal tests
2017-01-10 16:32:17 +02:00
volaya
3fd27d1f04 Merge pull request #3926 from alexbruy/processing-gdal-opts
Processing gdal opts
2017-01-10 09:52:58 +01:00
matteo
eb826fb058 gdal TPI test 2017-01-10 09:30:08 +01:00
matteo
1f645c1996 gdal near black test 2017-01-10 09:30:08 +01:00
matteo
ad11ec4b7f gdal TRI test 2017-01-10 09:30:08 +01:00
matteo
64f2b660fd gdal roughness test 2017-01-10 09:30:08 +01:00
volaya
d35830b97e added missing test files 2017-01-09 18:25:05 +01:00
Alexander Bruy
29d108f38f [processing] allow raster options widget accept string parameters and outputs in modeler 2017-01-07 14:37:58 +02:00
Alexander Bruy
f9680ddc0c [processing] use custom options widget in GDAL algorithms 2017-01-07 10:02:13 +02:00
Nyall Dawson
e5e0ec51eb [FEATURE][processing] New algorithm to truncate tables
Irretrievably deletes all features from a table... use with caution!
2017-01-06 10:32:52 +10:00
Nyall Dawson
e7e9ba0efc [processing] Add test, help for create spatial index alg 2017-01-06 10:32:52 +10:00
Nyall Dawson
7a7f11980e [processing] Allow tests for algs which modify layers in place
Add test for Create Attribute Index algorithm
2017-01-06 08:54:04 +10:00
Alexander Bruy
c5835e9adc [processing] fix test and menus after renaming GdalOgr provider 2016-12-31 09:09:07 +02:00
Alexander Bruy
ffd67f119e Merge pull request #3891 from alexbruy/processing-interpolation
[processing] add remaining functionalify from the interpolation plugin
2016-12-22 10:18:02 +02:00
Alexander Bruy
ea4f05d931 [processing] add support for custom parameter used in interpolation algs
to the test suite
2016-12-20 14:29:51 +02:00
Matteo Ghetta
eab5ae28ec more gdal test for Processing (#3893)
* more gdal test for Processing
2016-12-20 13:07:56 +01:00
Alexander Bruy
7dde862cc4 [processing] add missed functionality from Interpolation plugin 2016-12-20 10:14:49 +02:00
Matteo Ghetta
2abeea1128 Convex Hull processing tests (#3876)
Add two tests for convex hull
2016-12-19 10:51:13 +01:00
Alexander Bruy
f4f86cad63 [processing] use full precision for elevation values
remove unused file
2016-12-19 09:49:49 +02:00
Alexander Bruy
4e59c5a045 [processing] merge two Relief algorithms into one 2016-12-19 09:49:49 +02:00
Alexander Bruy
0d1c9a31bb [processing] implement missed functionality from Raster terrain analysis
plugin
2016-12-19 09:49:49 +02:00
matteo
8e9d49ad8d reduce geometry precision from 7 to 5 digits 2016-12-14 15:07:28 +01:00
matteo
a009cf405e fix error on geometry precision 2016-12-14 15:07:28 +01:00
matteo
5392788901 some Processing test 2016-12-14 15:07:28 +01:00
Alexander Bruy
e63ee670a4 [processing] maintain options order 2016-12-13 12:44:29 +02:00
Alexander Bruy
ab823c4c66 [processing] add tests for network analysis algorithms
Tests dissabled for now, as algorithms require access to QGIS iface.
2016-12-13 10:46:34 +02:00
Nyall Dawson
caa0d500af Fix spelling of orthoganilize 2016-12-12 17:47:12 +10:00
Nyall Dawson
4b6f3a3ee5 [FEATURE][processing] New algorithm to orthagonalize geometries
Adds a new QgsGeometry::orthagonalize method which tries to make
angles in geometries either right angles or straight lines

Also adds a processing algorithm exposing this feature.
2016-12-09 09:41:56 +10:00
Nyall Dawson
c975764c12 Port processing oriented minimum bounding box alg to QgsGeometry 2016-12-07 20:13:29 +10:00
volaya
0a2e1043da Revert "[processing] fixed expected test hashes"
This reverts commit 5c6c18caadb9123c593db085b1c8822f7d74e9f7.
2016-12-06 09:27:21 +01:00
Alexander Bruy
2fea23f1e5 Merge pull request #3779 from volaya/rastercalculator
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00
volaya
5c6c18caad [processing] fixed expected test hashes 2016-12-05 14:59:26 +01:00
Bernhard Ströbl
b02c6a3206 [processing][FEATURE] Return multi geometries from split alg
accept multi geometries as input
2016-12-02 16:47:30 +10:00
volaya
8bd0dd5aea [processing] added tests for raster calculator
Conflicts:
	python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
2016-12-01 12:53:56 +01:00
Nyall Dawson
b30a1ff65d [FEATURE][processing] New universal 'basic stats for field' algorithm
Replaces the existing 'Basic Stats for Numeric Fields' and
'Basic Stats for String Fields' algorithms and adds support
for date/time/datetime fields.

Having a single unified algorithm allows more flexible models
where a field type may not be known in advance.

Deprecate existing basic stats algorithms
2016-12-01 16:27:20 +10:00
Nyall Dawson
ab29f2de28 [processing] Use QgsStringStatisticalSummary in basic stats for strings
And also further optimise the algorithm
2016-11-30 12:47:39 +10:00
Nyall Dawson
fef15e0165 [processing] Consolidate 'delete holes' algorithms
Copy min area parameter from 'Fill holes' algorithm to 'delete
holes' algorithm.

Also:

- make algorithm maintain z/m values
- make algorithm work with curved geometries
- add unit tests
2016-11-28 13:12:50 +10:00
Nyall Dawson
772b769403 [processing] Hide redundant grid creation algorithms
Condenses the duplicate grid algorithms into single algorithms
(one for line, one for polygon), taking the best bits from both
and adding tests
2016-11-24 13:18:47 +10:00
Germán Carrillo
dccd00dcb1 Adding test to Line Intersection algorithm
Since both input and intersect layers have only one field (fid), the result is the same for both (existing and new) tests. The result now comes with the intersect field, renamed to fid_1 (previously not kept).
2016-11-24 10:42:24 +10:00
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