768 Commits

Author SHA1 Message Date
Nyall Dawson
3b2f690d26 [processing] Also add table output for raster unique values report algorithm
Allows values to be used within models
2018-06-04 21:30:12 +10:00
Nyall Dawson
b8ff44e63d [processing][saga] Fix error in merge vector layers
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
1bc1790b7b [processing][SAGA] Resync kriging parameters with saga manual
And remove duplicate kriging algorithms, add tests

Fixes #18191
2018-06-04 15:05:15 +10:00
Nyall Dawson
268aa171cb [processing][saga] Fix error in raster calculator
Fixes #18751
2018-06-04 14:01:24 +10:00
Nyall Dawson
f6ac45a510 [processing][saga] Add unit test for reclassify values (simple) 2018-06-04 12:58:12 +10:00
Nyall Dawson
bd65fc607b [processing][gdal] Don't double quote output paths
Breaks for some drivers, e.g. KML

Fixes #18264
2018-06-01 18:21:41 +10:00
Nyall Dawson
dcba919eef Add another acceptable hash 2018-06-01 11:54:31 +10:00
Nyall Dawson
4719a7c1f5 See if test now passes on Travis 2018-06-01 11:54:31 +10:00
Nyall Dawson
09d21cf920 Resurrect another GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
3f456993d6 Resurrect a GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
0e7c31e9e7 [processing][grass] Fix handling of optional file parameters 2018-06-01 11:54:31 +10:00
Nyall Dawson
e273ac2815 [processing] Some test debugging help 2018-06-01 11:54:31 +10:00
Nyall Dawson
46a4c23648 Resurrect a grass test 2018-06-01 11:54:31 +10:00
Nyall Dawson
f7a6864b9c [processing] Fix invalid characters in HTML for 'Raster layer unique values' report 2018-06-01 08:53:20 +10:00
Nyall Dawson
37b06bcf29 [processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
nirvn
5ab3fe4ba0 Add subsetStringChanged signal 2018-05-29 17:10:17 +07:00
Nyall Dawson
870d20740c [processing] Tweaks and checks for checkParameterValues 2018-05-28 16:02:38 +10:00
matteo
ace955c08c resurrect also the test for r.thin 2018-05-19 08:12:40 +10:00
Alexander Bruy
98586461b9 [processing] add test for output to GPKG 2018-05-15 13:14:30 +03:00
Alexander Bruy
8aa56fc38f [processing] fix GRASS vector tests 2018-05-15 12:53:50 +03:00
Luigi Pirelli
9b28e3d7f5 Port gdalcalc with formula excaping fix (#6984)
Resurrect gdalcalc algorithm from 2.x
2018-05-15 07:59:00 +10:00
Mathieu Pellerin
8f47691a7a
[processing] add gdal command name to tags for better searches (#6978) 2018-05-14 11:32:55 +07:00
Nyall Dawson
9d2c4fca19 [FEATURE][layouts] Use text renderer for drawing scalebar text
Allows the full range of formatting options exposed through
text renderer - e.g. scalebar text with buffers, shadows,
background shapes, letter spacing, etc.

Say goodbye to unreadable scale bar text!
2018-05-11 17:48:45 +10:00
Nyall Dawson
0d520456ea [processing][gdal] Fix conversion of non-EPSG crs parameters
to GDAL compatible strings
2018-05-11 11:29:34 +10:00
Martin Dobias
aa2b1e9834 Add test for single layer union 2018-05-10 06:50:57 -04:00
Martin Dobias
73d10afe31 Processing tests: allow topological geometry tests instead of exact tests
This is useful with geometry algorithms when the order of the coordinates of produced
geometries does not need to be exactly the same every time, but the output is still
topologically equivalent.
2018-05-10 06:50:57 -04:00
Nyall Dawson
3fff8724ea Update test result 2018-05-08 08:57:25 +10:00
Nyall Dawson
f4599f13f1 [processing][gdal] Better error messages when invalid parameters are passed 2018-05-06 19:19:45 +10:00
Nyall Dawson
bddcb7dc42 [processing][gdal] More nodata handling fixes
Fixes #18748
2018-05-06 19:19:45 +10:00
Nyall Dawson
f48aaeaf33 [processing][gdal] Fix some more nodata=0 handling 2018-05-06 07:13:15 +10:00
Nyall Dawson
b3288192ee [processing] Fix exception when clicking help for GDAL algorithms 2018-05-06 07:13:15 +10:00
nirvn
fdaa57a273 [FEATURE][processing] Zonal histogram algorithm 2018-05-03 11:36:16 +07:00
Nyall Dawson
70aad93a61 [processing][gdal] Fix translate ignores nodata values of 0
And add more unit tests to translate alg
2018-05-03 11:23:51 +10:00
Matthias Kuhn
0a269aa6e6
Merge pull request #6864 from ghtmtt/fix_saga
[processing] fix broken SAGA algorithms
2018-05-02 16:47:03 +02:00
matteo
b3ed0f2ea2 change column name for travis 2018-05-02 14:58:15 +02:00
Nyall Dawson
c68262da7f [processing] Correctly set default value for matrix parameters
Fixes #18871
2018-05-02 04:55:41 +10:00
Nyall Dawson
9ffae600f4 [FEATURE] Variable width buffers
Adds geometry methods to create variable width buffers, including
tapered buffers (with a specified start and end diameter) and
variable width buffers from line string m values.

Also adds processing algorithms which expose these methods
to processing.
2018-05-01 06:16:01 +10:00
matteo
291c039435
Shapefile instead of GML for travis 2018-04-27 11:49:41 +02:00
matteo
9c0a9ca466
[processing] add test for fixed algorithm 2018-04-27 09:15:37 +02:00
Martin Dobias
16a6a90dd7
Merge pull request #6859 from wonder-sk/overlay-alg-fixes-3
Port Union algorithm to C++ and fix it
2018-04-26 22:56:22 +02:00
Matthias Kuhn
3e2694a068
Merge pull request #6848 from gacarrillor/line_intersection_with_geometry_collections
[processing] Make line intersection alg able to handle collections
2018-04-26 07:20:55 +02:00
Martin Dobias
21a756ff1d Remove older (incorrect!) test cases for union
The newer test data (overlay1_a and overlay1_b) cover more scenarios
and can be more easily investigated if something goes wrong.
2018-04-25 23:29:04 +02:00
Martin Dobias
8a96573880 Port Union algorithm to c++ using existing intersection+difference algs 2018-04-25 17:22:40 +02:00
Martin Dobias
d2513e0538 Port Difference & Sym.Diff. to C++, cleanups and tests 2018-04-24 20:42:13 +02:00
gacarrillor
49ee8bba13 [processing] Make line intersection alg able to handle intersections of type 'geometry collection' 2018-04-23 23:27:23 -05:00
Nyall Dawson
2850b308ba Add unit test for wedge buffers alg 2018-04-24 10:07:51 +12:00
Nyall Dawson
d87f75aa98 [processing] Unit tests for distance param widget wrapper 2018-04-20 22:44:28 +10:00
Nyall Dawson
0dfb3c2d8c [processing] Use distance parameter for more algorithms 2018-04-20 18:27:00 +10:00
Nyall Dawson
6a2625664e [processing] Add dedicated "distance" parameter
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.

This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!

Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.

Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.

Fixes #16290
2018-04-20 18:27:00 +10:00
Nyall Dawson
6c892652ac Followup a463858, fix failing tests 2018-04-20 08:38:15 +10:00