1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-16 00:02:11 -04:00

120 Commits

Author SHA1 Message Date
Alexander Bruy
84871ce00d [processing] temporarily disable singleparts to multiparts test 2017-05-17 08:26:47 +03:00
Matthias Kuhn
aa021bef0c Merge pull request from ghtmtt/proc_tests
[processing] other qgis test, clean commit
2017-05-10 09:07:59 +02:00
Alexander Bruy
80c8875275 fix failing test 2017-04-30 20:29:39 +03:00
Alexander Bruy
a944f7c4c1 [processing] handle NULL values in the Singleparts to multiparts (fix ) 2017-04-30 14:31:52 +03:00
matteo
01f647eef0 try after travis failing 2017-04-11 10:00:27 -05:00
matteo
9a0ffbdc1e remove selections tests 2017-04-11 09:21:35 -05:00
matteo
410e8e7aff Merge branch 'master' into proc_tests 2017-04-11 09:15:13 -05:00
Nyall Dawson
92249c1a33 [FEATURE][processing] Snap Geometries algorithm can now snap
within the same layer

Allows closure of gaps within a layer
2017-03-30 13:54:05 +10:00
matteo
a289eb14fa [processing] other qgis test, clean commit 2017-03-27 13:17:21 -05:00
Nyall Dawson
954ee20389 [FEATURE][processing] Add 'does not contain' to Extract By Attribute 2017-03-21 08:58:36 +10:00
Alexander Bruy
e1b1465bb6 move select by attribute script test to QGIS tests 2017-03-16 17:49:40 +02:00
Matteo Ghetta
3bcf287a7e Processing tests ()
* [processing] qgis regular points test

* [processing] qgis shape buffer variable tests

* [processing] qgis create grid lines test

* [processing] qgis convert geometry test

* [processing] qgis extract by location test

* [processing] qgis add field test

* [processing] trying to fix travis failing

* [processing] trying to fix travis failing/2

* trying to fix travis failing/3

* [processing] Add new default option "ProjectCrs" to ParameterCrs

* [processing] RegularPoints tests shouldn't rely on iface

* [processing] Fix regular points test

* [processing] RandmPointsExtent new CRS parameter

* [processing] qgis random point in extent test

* [processing] qgis random point in extent test/2

* [processing] remove qgis random point in extent test

* no output random points in extent test

* remove useless output
2017-03-16 16:42:53 +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 () 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
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
Nyall Dawson
87f2fe55b2 Add unit test for processing polygonize algorithm 2017-01-31 10:47:00 +10: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
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 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 ()
* 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 ()
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