Nyall Dawson
ab022451a5
[FEATURE][processing] New algorithm for geometry boundary
2016-08-10 16:32:31 +10:00
Nyall Dawson
bd8db5d156
[FEATURE][processing] New algorithm for calculating feature bounding boxes
2016-08-10 15:41:44 +10:00
Nyall Dawson
71ebdb8f69
[FEATURE] Optimise processing clip algorithm
...
Before the algorithm was written to optimise clipping a few
features against thousands of mask features. The revised algorithm
is optimised for clipping thousands of input features against
a few mask features.
Given that this second operation is much more likely, it makes
sense to optimise for this use case.
I've also applied some other optimisations like taking advantage
of spatial indexes on the providers, using prepared geometries
and also only applying an intersection operation if the geometry
isn't wholly contained by the mask geometry.
Benchmarks:
clipping roads layer with 1 million lines against 2 polygons
before: 5 mins 30 seconds
after: 10 seconds
clipping address layer with 5 million points against 2 polygons
before: 50 minutes
after: 30 seconds
2016-08-03 13:15:03 +10:00
Nyall Dawson
4bfdcf0927
Fix expected test data
2016-08-02 13:50:59 +10:00
Nyall Dawson
60147e8147
Remove use of constGeometry
2016-08-02 13:50:59 +10:00
Nyall Dawson
bb54b4f41a
[FEATURE] Make processing dissolve algorithm accept multiple fields
...
This allows you to dissolve based on more than one field value
2016-08-02 11:54:02 +10:00
Nyall Dawson
0455b6600d
[processing] Fix multipart to singlepart handling of null geometry
2016-08-02 11:53:11 +10:00
Nyall Dawson
ccfd4c36be
[processing] Add test for dissolve using field values
2016-08-02 11:52:37 +10:00
Nyall Dawson
30fcaed634
[FEATURE][processing] New algorithm for merging connected lines
...
This algorithm joins all connected parts of MultiLineString
geometries into single LineString geometries.
If any parts of the input MultiLineString geometries are not
connected, the resultant geometry will be a MultiLineString
containing any lines which could be merged and any non-connected
line parts.
2016-08-02 11:51:44 +10:00
Nyall Dawson
2db7fca7a6
[processing] Add tests for clip algorithm
2016-07-14 08:05:59 +10:00
Alexander Bruy
a12152c724
Merge pull request #3238 from medspx/processing_g7_raster_tests
...
[processing] more grass7 unit tests and their fixes
2016-06-29 19:49:58 +03:00
Médéric RIBREUX
ef4a0d8d08
Move problematics tests at the end of tests...
2016-06-26 21:20:19 +02:00
Médéric RIBREUX
4140655f20
Remove 3 unit tests that don't perform well in osgeo4travis
2016-06-26 17:29:53 +02:00
Médéric RIBREUX
a1c541ee6d
Add another bunch of tests for rasters
2016-06-26 16:13:39 +02:00
Sandro Santilli
57ff59aa2d
Ignore files generated during "make check"
2016-06-16 18:38:36 +02:00
Sandro Santilli
e241ab9b01
Remove generated test files from repository
...
Fixes #14976
2016-06-16 18:27:33 +02:00
Médéric RIBREUX
bb94a179a9
Add new test data and a bunch of unit tests
2016-06-12 17:36:42 +02:00
Médéric RIBREUX
0cd4498658
Improve Test generation
2016-06-12 14:23:09 +02:00
Médéric RIBREUX
dbd1050879
[Processing][Tests] Improve Processing GRASS7 testsuite
2016-06-11 11:27:23 +02:00
Alexander Bruy
25983ee331
[processing] fix .ui file loading (follow up b52828fac7)
2016-05-30 14:39:28 +03:00
Médéric RIBREUX
59faf95c1d
Blacklist travis-ci qt5 tests and remove i.fft test
2016-05-29 09:00:16 +02:00
Médéric RIBREUX
ec6b29aa8c
Remove NaN values from raster before hash calculation
2016-05-29 09:00:16 +02:00
Médéric Ribreux
f6710de670
Fix rasterhashes value with osgeo4travis values
2016-05-29 09:00:16 +02:00
Médéric RIBREUX
bc4b3a20a7
Fix i.at.corr test
2016-05-29 09:00:16 +02:00
Médéric Ribreux
6b8f943022
Fix i.atcor algorithm
2016-05-29 09:00:16 +02:00
Médéric Ribreux
b40d2ff3ba
Add last set of tests
2016-05-29 09:00:16 +02:00
Médéric Ribreux
1f21af6672
Improve tests: add external file support into AlgorithmsTest
2016-05-29 09:00:16 +02:00
Médéric Ribreux
e70f9bcf0c
Add first set of unit tests
2016-05-29 09:00:16 +02:00
Matthias Kuhn
dbb24e971e
[processing tests] More tolerance in statistics test
2016-05-22 21:52:55 +02:00
Alexander Bruy
b7a4e20627
[processing] add Rectangles, Ovals, Diamonds algorithm ( fix #11575 )
...
This is direct port of abandoned "Rectangles, Ovals and diamonds" plugin.
There are two algorithms: one uses fixed values and second — variable
values from attribute table. Test for fixed distance version included.
2016-04-13 12:33:08 +03:00
Matthias Kuhn
fa90a7bb7c
ogrinfo reports null geometry features differently
2016-04-09 09:48:46 +02:00
Matthias Kuhn
f88cf7de8a
Drop processing algorithm comparison precision
2016-04-09 09:48:46 +02:00
Nyall Dawson
a30bf95c4b
Drop precision of some processing tests to pass on Windows
2016-03-31 16:44:57 +11:00
Anita Graser
b8d1fb6fc9
added buffer tests
2016-03-27 13:31:14 +02:00
Maximilian Krambach
097b18190c
identation errors and wrong file paths
2016-03-22 22:01:21 +01:00
Maximilian Krambach
2f97ec670c
fixed wrong location of testdata
2016-03-22 12:13:19 +01:00
Maximilian Krambach
9bc9e6b36b
identation
2016-03-22 09:22:22 +01:00
Maximilian Krambach
c445828f9e
changed check for validity from isGeosValid() to validateGeometry() in dissolve.py
2016-03-21 21:30:23 +01:00
Bernhard Ströbl
bd64b4fd4c
[processing] renew test results depending on polys.gml
2016-03-16 14:29:45 +01:00
Bernhard Ströbl
155e7128e0
[processing] change polygon test input
2016-03-16 14:17:08 +01:00
Bernhard Ströbl
02df48cf43
[processing] reflect changed test input in yaml file
2016-03-16 14:10:56 +01:00
Bernhard Ströbl
f73b572704
[processing] renew test output for eliminate
2016-03-16 14:07:12 +01:00
Bernhard Ströbl
51bf08c1d3
[processing] change test input to have adjacent polygons
2016-03-16 14:07:12 +01:00
Bernhard Ströbl
082b5757dc
[processing] add test for eliminate algorithm
2016-03-16 14:05:39 +01:00
Matthias Kuhn
f8175d33ef
[processing] Move custom source data to separate folder
2016-03-16 08:56:27 +01:00
Bernhard Ströbl
b432bde1bf
[processing] remove double quotes in test.yaml
2016-03-16 08:51:39 +01:00
Bernhard Ströbl
d7562eef95
[processing] add test for eliminate algorithm
2016-03-16 08:36:02 +01:00
Bernhard Ströbl
1dd7da4b3a
[processing] eliminate: prepare input layer for test
2016-03-16 08:35:33 +01:00
Matthias Kuhn
e888d6d684
[processing] Add autoincremental field test
2016-03-15 11:45:34 +01:00
Matthias Kuhn
9ca09abb02
Fix expected dataset for splitlineswithlines test
2016-03-14 09:57:04 +01:00