4415 Commits

Author SHA1 Message Date
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
313970de79 [processing][saga] Remove redundant spaces from description files 2018-05-02 04:55:59 +10:00
Nyall Dawson
c2f224b446 [processing][saga] Fix "channel network and drainage basins" alg
Fixes #18870
2018-05-02 04:55:59 +10:00
Nyall Dawson
c68262da7f [processing] Correctly set default value for matrix parameters
Fixes #18871
2018-05-02 04:55:41 +10:00
Nyall Dawson
c32611b2c4 [processing] Remove unused code 2018-05-02 04:55:01 +10:00
Nyall Dawson
36432191ee [processing][gdal] Clip Vector By Mask Layer requires both
layers to have the same CRS
2018-05-02 04:55:01 +10:00
Harrissou Sant-anna
46f867cef4 Use QCoreApplication.translate() instead 2018-05-01 17:58:01 +10:00
Harrissou Sant-anna
8088659c43 More details on Processing algorithms toolbar 2018-05-01 17:58:01 +10:00
nirvn
9d9955e272 [processing] improve eliminate selected polygons alg help
i.e., the use only selected option is gone since 3.0
2018-05-01 10:43:13 +07:00
Mathieu Pellerin
39c6e23c08
[needs-docs][processing] add help and clarity to the define current projection algorithm 2018-05-01 10:14:08 +07:00
Nyall Dawson
16106b8cfa [processing] More verbose error when unsupported SAGA version found 2018-05-01 09:18:03 +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
nirvn
fca5238847 [processing] replace define current projection with reproject layer in vector menu 2018-04-30 16:50:34 +07:00
nirvn
57b3c58d06 [processing] add some missing icons for the data management tools menu 2018-04-30 16:50:34 +07:00
Nyall Dawson
cad0f3d5b7 [processing] Throw warning when menu item links are broken 2018-04-30 16:07:13 +10:00
nirvn
3bfc93d95b [processing] fix grass provider svg path 2018-04-30 13:04:20 +07:00
nirvn
08db66fb03 [processing] draw vector icons when available in modeler 2018-04-30 13:04:20 +07:00
nirvn
f8a3de45bf [processing] fix some native algorithm IDs for menu items 2018-04-30 12:39:02 +07:00
Nyall Dawson
249dca7830 [processing] Consist helpful error messages when sinks cannot be created
And throw exceptions always when sinks are not created to avoid
generic errors
2018-04-28 05:50:47 +10:00
Nyall Dawson
5339d62715 [processing] More helpful errors when sources cannot be loaded
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +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
Hugo Mercier
3984e906ea
Merge pull request #6513 from pblottiere/executesql_params
[FEATURE][needs-docs] Add parameters to 'Execute SQL' algorithm
2018-04-27 09:12:34 +02:00
Nyall Dawson
9ce21e4a82 [processing] Add an example of running a sub-algorithm correctly
to script template file
2018-04-27 17:04:57 +10: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
matteo
9050a89af1
[processing] fix broken SAGA algorithms 2018-04-26 12:27:13 +02:00
Blottiere Paul
40e0b89f9b Fixes when no geometry 2018-04-26 09:47:40 +01:00
Blottiere Paul
aef2b6e3e7 Update ExecuteSQL to be configurable with expressions 2018-04-26 09:47:40 +01: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
Matthias Kuhn
74704b60fb
Merge pull request #6855 from m-kuhn/no-print
No print() usage in processing core
2018-04-25 13:14:44 +02:00
Matthias Kuhn
5910ba9631 No print() usage in processing core 2018-04-25 11:26:46 +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
91c1277035 [processing] Swap more QGIS and GDAL algorithm parameters to distance params 2018-04-20 22:44:28 +10:00
Nyall Dawson
6358daad91 Fix broken translation string 2018-04-20 20:08:28 +10:00
Nyall Dawson
0dfb3c2d8c [processing] Use distance parameter for more algorithms 2018-04-20 18:27:00 +10:00
Nyall Dawson
6412138259 Indentation 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
matteo
9107da368e [processing] fix missing import 2018-04-20 18:26:33 +10:00
nirvn
7d787980f5 followup a463858: fix interpol. data widget setValue function 2018-04-20 10:13:35 +07:00
Nyall Dawson
6c892652ac Followup a463858, fix failing tests 2018-04-20 08:38:15 +10:00
nirvn
a463858bf3 [processing] restore TIN / IDW interpolation algorithms 2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876 fix interpolation data widget 2018-04-19 17:19:07 +07:00
Nyall Dawson
a9d820d37d [processing] Don't overwrite rows when reordering in multi input
dialog

Refs #17327
2018-04-19 14:35:41 +10:00
Martin Dobias
721c536185
Merge branch 'master' into overlay-alg-fixes-1 2018-04-18 14:16:50 +02:00