436 Commits

Author SHA1 Message Date
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
Nyall Dawson
990c7cd5cb Fix test 2017-01-10 08:46:42 +10:00
Nyall Dawson
4d51e1d1a1 Revert "[processing] added test for invalid geometry checking"
This reverts commit 306764871baab544f9566b327d2188a5b1fc8938.

Test is failing
2017-01-10 08:22:48 +10:00
volaya
d35830b97e added missing test files 2017-01-09 18:25:05 +01:00
Alexander Bruy
37725379f2 add missed import 2017-01-09 15:34:42 +02:00
volaya
306764871b [processing] added test for invalid geometry checking 2017-01-09 15:13:47 +02: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
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
Matthias Kuhn
3fba3ac775 [processing] Quote and escape script exported ParameterString 2016-12-22 11:26:28 +01:00
Matthias Kuhn
55e3ea033a [processing] Fix some script parameter export/import issues 2016-12-22 11:21:32 +01: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
Matthias Kuhn
2f0f6a98c6 Use assertIsInstance instead of assertTrue(isinstance()) 2016-12-20 16:32:50 +01: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
volaya
0035c97f5b Merge pull request #3725 from arnaud-morvan/processing_geometry_predicate
[processing] Remove parameter geometry predicate
2016-12-13 15:58:16 +01:00
Alexander Bruy
ed0e39e08b [processing] also remove GRASS 6 from tests 2016-12-13 15:55:30 +02: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
arnaud.morvan@camptocamp.com
65a4e97a75 [processing] Support options as (value, text) in ParameterSelection 2016-12-12 15:12:55 +01:00
Nyall Dawson
caa0d500af Fix spelling of orthoganilize 2016-12-12 17:47:12 +10:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08: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