2475 Commits

Author SHA1 Message Date
Ari Jolma
64d5193f20 Translation fixes for GDAL build VRT. 2018-05-08 09:26:57 +10:00
Harrissou Sant-anna
67c20d5db0 Set max_points default value 2018-05-08 08:57:25 +10:00
Nyall Dawson
cb638b6345 [processing][saga] Make some Slope,Aspect,Curvature outputs optional and non-default 2018-05-07 19:17:04 +10:00
Jason Hilton
a0a5f6cebc [processing] Fix saga natural neighbor parameters
fixes #16604
2018-05-07 14:16:38 +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
Matthias Kuhn
ddd12e2bf2
Merge pull request #6895 from gacarrillor/avoid_unnecessary_confirmation_dialogs
[processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs
2018-05-03 12:47:44 +02: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
C
d99155f3f0 Added missing r.fill.stats processing description file. 2018-05-03 09:59:23 +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
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
36432191ee [processing][gdal] Clip Vector By Mask Layer requires both
layers to have the same CRS
2018-05-02 04:55: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
gacarrillor
387e724b0f [processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs 2018-04-30 11:14:36 -05:00
nirvn
57b3c58d06 [processing] add some missing icons for the data management tools menu 2018-04-30 16:50:34 +07:00
nirvn
3bfc93d95b [processing] fix grass provider svg path 2018-04-30 13:04:20 +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
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
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
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
Nyall Dawson
91c1277035 [processing] Swap more QGIS and GDAL algorithm parameters to distance params 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
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
Martin Dobias
45b264db08 Fixes after review 2018-04-18 13:04:05 +02:00
Nyall Dawson
405d8f29d4 [processing] Skip more unnecessary geometry checks 2018-04-10 12:27:46 +10:00
Nyall Dawson
0a1a6769d2 Fix build with Qt 5.5 2018-04-10 10:15:19 +10:00
Nyall Dawson
20bbef3800 [processing][grass] Fix broken r.lake algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
cba395e8c4 [processing][grass] Fix broken r.his algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
89a3dd5e15 [processing][grass] Fix broken r.cost algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
f03baa871a [processing][grass] Don't try to create skipped optional outputs 2018-04-10 09:57:58 +10:00
Nyall Dawson
60efbb539e [processing][grass] Fix broken r.li.renyi.ascii alg 2018-04-10 09:57:58 +10:00
Nyall Dawson
1fc5a0e597 [processing][grass] Fix broken r.statistics alg 2018-04-10 09:57:58 +10:00
Nyall Dawson
7fa9d4120a [processing] Fix Distance Matrix alg considers distances to
same points

Add more unit tests

Fixes #17350
2018-04-09 12:48:50 +10:00
Nyall Dawson
3dec1755b6 [processing][grass] Allow operation on only selected vector features
Fixes #18218
2018-04-09 10:58:41 +10:00
Nyall Dawson
92634a9d92 [processing][grass] Allow use of feature sources as vector inputs 2018-04-09 10:58:41 +10:00
Nyall Dawson
aca75cfa6e [processing][grass] Fix use of v.external with ogr layers which
do not support random read

These layers are not compatible with v.external, so we have to
use v.in.ogr for them
2018-04-09 10:58:41 +10:00
Nyall Dawson
8ba762a630 [processing][grass] Fix grass vector algs don't work with memory layers
Fixes broken grass algs inside models (fixes #18662)
2018-04-09 10:58:41 +10:00