Manuel Grizonnet
7b22f5d8da
TEST: add a test for otb conversion application (simpler than bandmath)
2016-10-20 09:23:43 +03:00
Manuel Grizonnet
1e7018f0cc
TEST: add test of OTB BandMath application in processing
2016-10-20 09:21:40 +03:00
Alexander Bruy
58f31f1a82
[processing] add tests for interpolation tools
2016-10-19 16:43:05 +03:00
Piotr Pociask
cd0fefb42b
[processing] Update voronoi classes for Python3; update expected data for multipoint Delaunay traingulation test
2016-10-19 11:15:38 +02:00
Piotr Pociask
3af23036fd
Test for multipoint Delaunay triangulation
2016-10-19 11:15:38 +02:00
Nyall Dawson
a05b610a8b
[processing] Use prepared geometries for intersects tests
...
Wherever possible use prepared geometry engines for intersects
type tests, as it's much faster
2016-10-17 11:18:46 +10:00
Alexander Bruy
a356bac1a5
[procesing] add tests for raster terrain analysis algorithms
2016-10-11 11:57:04 +03:00
Nyall Dawson
d4323addf0
[processing] Fix missing points in polygons menu item ( fix #15670 )
...
Also add a unit test
2016-10-11 09:30:46 +10:00
Nyall Dawson
90aebd117d
[processing] Add geometry info should add z/m values ( fix #14659 )
2016-10-11 09:30:41 +10:00
Alexander Bruy
519e76c79f
[processing] add test for gdalinfo algorithm
2016-09-14 15:55:14 +03:00
Nyall Dawson
4d60d0cdb5
[FEATURE] Add option to QgsGeometry::smooth to not smooth
...
segments shorter than a certain threshold or sharp corners
with an angle exceeding a threshold
Expose the angle threshold to processing smooth algorithm
Also:
- optimise QgsGeometry::smooth for new geometry classes
- Fix smooth does not work with geometries containing Z/M
2016-09-03 08:31:33 +10:00
Nyall Dawson
56b77db88c
[FEATURE][processing] Add choice of simplification method to simplify
...
This change allows users to choose which method to use when running
the simplify geometries algorithm, with choices of the existing
distance based (Douglas Peucker) algorithm, area based (Visvalingam)
algorithm and snap-to-grid.
Visvaligam in particular usually results in more cartographically
pleasing simplification over the standard distance based methods.
2016-09-01 08:22:18 +10:00
Nyall Dawson
5d97d03ad5
[processing] Fix simplify alg handling of null goemetry, add tests
2016-09-01 07:50:02 +10:00
Nyall Dawson
9fa4e776db
[FEATURE][processing] Extract nodes algorithm now saves node
...
index, distance along line and angle at node
Also correctly handles null geometries
2016-08-29 11:02:14 +10:00
Nyall Dawson
8db9284cb3
[FEATURE][processing] Optimised points along geometry algorithm
...
Supports also polygon geometries, handles null geometries,
and records the original line angle along with the distance
for each point.
2016-08-29 11:01:48 +10:00
Nyall Dawson
989d9864c5
[FEATURE][processing] New algorithm for single sided buffers
2016-08-17 06:44:04 +10:00
Nyall Dawson
0f268bf27a
[FEATURE][processing] New algorithm for translating (moving) points
...
Allows geometries to be shifted by a x/y displacement
2016-08-14 14:36:10 +10:00
Nyall Dawson
e9423dc4dd
[processing] Rework centroid algorithm to handle non-polygon layers
...
The existing polygoncentroids algorithm has been deprecated
(and hidden from the toolbox), and a new, generic centroids
algorithm added which works with lines and multipoints
2016-08-12 07:50:47 +10:00
Nyall Dawson
9bc61e77c7
[processing] Create vector files using default dataset/layer options
...
Fixes missing CRS when saving to GML (fix #14544 )
2016-08-12 07:01:04 +10:00
Nyall Dawson
5025c828e5
[processing] Expose buffer settings (cap/join style/mitre limit)
...
Also make fixed distance buffer correctly handle null geometries
(copy the row as a geometryless row)
2016-08-11 18:35:30 +10:00
Nyall Dawson
0a2b661ecb
Make QgsGeometry::offsetCurve handle multi* geometries
2016-08-11 17:59:01 +10:00
Nyall Dawson
82f4a82c66
[FEATURE][processing] New algorithm for offsetting lines
2016-08-11 08:38:43 +10:00
Nyall Dawson
142de7cb08
[FEATURE][processing] Point on surface algorithm
2016-08-10 16:57:38 +10:00
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