2740 Commits

Author SHA1 Message Date
Alexander Bruy
580509fd5e [processing][needs-docs] add selection methods to Select by attribute
algorithm (fix #18682)
2018-05-16 11:20:09 +03:00
Nyall Dawson
74b0e910db [processing] Fix some exceptions 2018-05-16 04:35:17 +10:00
Alexander Bruy
a68774494c
Merge pull request #6996 from alexbruy/processing-grass-formats
[processing] allow GRASS algorithms to save vectors in any GDAL-supported format
2018-05-15 15:00:22 +03:00
Nyall Dawson
0383a14825 [processing] Create Attribute Index can run on non-spatial layers 2018-05-15 20:21:08 +10:00
Alexander Bruy
67965ca3d0 [processing] use GPKG as default output format for GRASS 2018-05-15 13:15:00 +03:00
Alexander Bruy
8aa56fc38f [processing] fix GRASS vector tests 2018-05-15 12:53:50 +03:00
nirvn
bc0f75334f [needs-docs][processing] vectorize & improve remaining vector menu icons 2018-05-15 16:37:25 +07:00
nirvn
9a82dbe197 [needs-docs][processing] vectorize and improve remaining data analysis menu icons 2018-05-15 16:37:25 +07:00
Alexander Bruy
cf599685cb [processing] vector outputs can be saved in any GDAL-supported format
Thanks to Médéric RIBREUX
2018-05-15 10:57:09 +03:00
nirvn
4d36f37004 [needs-docs][processing] rename export geom. columns to add geom. attributes 2018-05-15 12:10:11 +07:00
nirvn
5cb8c2523e [needs-docs][processing] vectorize and improve remaining geometry tools menu icons 2018-05-15 12:10:11 +07: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
be73c9605f Spelling 2018-05-11 11:29:34 +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
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