753 Commits

Author SHA1 Message Date
matteo
1106c9d4c7 [processing] gdal moving average interpolation test 2017-03-04 09:42:48 +01:00
matteo
7c612ff6d5 [processing] gdal data metrics interpolation test 2017-03-04 09:42:48 +01:00
matteo
6f042835b2 [processing] gdal IDW test 2017-03-04 09:42:48 +01:00
matteo
71aac8afb3 [processing] gdal raster calculator test 2017-03-04 09:42:48 +01:00
matteo
79b6c29b1f [processing] gdal proximity test 2017-03-04 09:42:48 +01:00
Bernhard Ströbl
115ede60ce [processing] replace alg Eliminate with new alg EliminateSelection
* [processing] replace alg Eliminate with new alg EliminateSelection

* Deprecate Eliminate algorithm

* Expose new EliminateSelection algorithm in GUI

* Rename ouput layer

* Reflect algorithm changes in help

* Remove superfluous init method

* Simplify code, thanks Nyall

* Improve transfer of selection to processLayer

* Remove deprecated Eliminate algorithm

* Remove test for Eliminate

* Fix indentation
2017-02-23 09:33:28 +01:00
Nyall Dawson
74abd5bbf6 [FEATURE][processing] Topological coloring can have a minimum
distance between features assigned the same color set
2017-02-22 12:54:34 +10:00
Nyall Dawson
5c43e0b22b Add method to assign colors in order to maximize the distance between
features assigned to same color

This is the most cartographically pleasing color arrangement in my
opinion as it creates a nicely distributed set of colors.
2017-02-22 12:37:12 +10:00
Nyall Dawson
1cf0a20267 [FEATURE][processing] New algorithm for topological coloring of polygons
This ports to old (pre 2.0!!) topocolor plugin to processing. It's based
off my beta 2.x fork (never publicly released) which implemented
a bunch of improvements to the algorithm allowing for minimal number
of required colors and also balanced counts of features assigned
each individual color.

** Pretty sure this plugin was highlighted in Victor's presentation
about plugins-which-shouldn't-be-plugins-and-should-be-processing-algs
instead. It's a prime example of a plugin where the amount of code
required for gui+setup exceeded the actual "guts" of the plugin by
a huge factor, and which is much more useful when it can be
integrated into a larger processing model.
2017-02-22 12:10:13 +10:00
Matteo Ghetta
34b277a09b [processing] test poly_from_extent (#4149) 2017-02-15 13:29:14 +01:00
Nyall Dawson
91eea30e7d [FEATURE][processing] Algorithm to find an unknown layer's projection
If you have a layer with an unknown CRS, this algorithm gives a list
of possible candidate CRSes which the layer could be in.

It allows users to set the area (and corresponding CRS) which they know
the layer should be located near. The algorithm then tests every CRS
in the database to see what candidate CRSes would cause the layer
to be located at that preset area.

It's much faster than it sounds!! (just a couple of seconds)

Sponsored by SMEC/Surbana Jurong
2017-02-14 05:49:23 +10:00
Alexander Bruy
e8be083daa [processing] remove unused parameters from test (followup 5ade65aa16) 2017-02-10 18:02:52 +02:00
Alexander Bruy
5a5c1bf6e1 test for Processing "fix geometries" algorithm 2017-02-07 12:52:04 +02:00
matteo
74c65c8e74 [processing] qgis voronoi test 2017-02-03 11:28:09 +01:00
Alexander Bruy
5939ae23e7 Merge pull request #4076 from volaya/remove_processing_providers
[FEATURE][processing] removed otb and lidartools providers

Tagged as feature to not forget mention this in changelog and docs
2017-02-02 10:56:56 +02:00
Nyall Dawson
87f2fe55b2 Add unit test for processing polygonize algorithm 2017-01-31 10:47:00 +10:00
volaya
f94f0d753c [processing] removed otb tests 2017-01-30 11:59:49 +01:00
matteo
f7644b4708 [processing] add test for merge gdal 2017-01-27 10:13:04 +01:00
matteo
a49fc8ab99 [processing] add test for color relief gdal 2017-01-25 09:29:23 +01:00
lbartoletti
01cd784ee7 [FEATURE][processing] Add overlay option to GridLine and GridPolygon 2017-01-19 16:49:35 +10:00
matteo
8994877717 processing zonal statistics 2017-01-13 12:37:51 +01:00
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