487 Commits

Author SHA1 Message Date
Giovanni Manghi
a151debcc1 fix GRASS7 v_cluster tool 2018-10-19 08:34:42 +10:00
Giovanni Manghi
e5e1b9a416 fix the GRASS7 r_contour tool removing the mandatory flag of one of the parameters 2018-10-04 05:52:13 +10:00
Nyall Dawson
95d68e9172 [processing] Default to hiding help button for algorithms
And require that showing help is opt-in. Apart from a handful
of built-in providers, most providers will not have help pages
available within the QGIS documentation (including model and
script algorithms). Accordingly, we should hide the help button
by default and only show it for these selected providers.

Note that 3rd party algorithms can still specify custom helpUrl
urls, in which case the button WILL be shown.
2018-09-26 04:26:49 +10:00
Nyall Dawson
961835cd8e [processing][GRASS] v.decimate zrange should be doubles, not int 2018-09-22 05:26:29 +10:00
Luigi Pirelli
0f07c41b19 Fix set of grass command if not set yet 2018-09-13 17:18:11 +02:00
Nyall Dawson
7495ec276e [processing][grass] Fix r.stream.extract definition, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
e893aae190 [processing][grass] Fix definition of r.watershed, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
0c24fdb883 [processing][grass] Fix r.sun parameter definition, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
08a8ea7b72 [processing][grass] Fix v.surf.bspline definition, add test 2018-08-09 12:32:27 +10:00
Nyall Dawson
113e16351d [processing][grass] Fix skipped outputs are still added in grass commands 2018-08-09 12:32:27 +10:00
Nyall Dawson
282f95c9f7 [processing][grass] Fix bad move/copy paths in grass i.gensig/maxlik algs
Refs #19539
2018-08-07 09:33:00 +10:00
Nyall Dawson
28c4a6cf59 [processing][grass] Fix v.net.* output types, add tests
Fixes #19186
2018-07-25 19:50:48 +10:00
Nyall Dawson
eca775f9ef [processing][grass] Fix output type for v.edit 2018-07-25 19:50:48 +10:00
Nyall Dawson
b10fa5e979 [processing][grass] Fix v.vect.stats output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
0c56d00c01 [processing][grass] Fix v.what.rast data type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
71f880bb93 [processing][grass] Fix v.voronoi output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
a463af32f8 [processing][grass] Fix generation of output for v.rast.stats, add test 2018-07-25 09:23:36 +10:00
Nyall Dawson
fed345b12b [processing][grass] Make a copy of the parameters dict before doing grass modifications
Since grass algorithms modify the parameters dictionary, we need to ensure
that they do this only a copy of the dict (and not a shallow copy). Otherwise
the parameter values included in the history log are the internally
modified values, not the original user-set ones
2018-07-25 09:23:36 +10:00
Tom Chadwin
9780068548 Avoid deprecated regex
Avoid invalid escape sequence via raw string:

`re.compile('^[^\s\(]+')` > `re.compile(r'^[^\s\(]+')`
2018-06-06 06:24:24 +10:00
Nyall Dawson
30ecb33855 [processing][GRASS] Fix some algorithms always export as GPKG, regardless of format selected 2018-06-01 16:53:00 +10:00
Nyall Dawson
0e7c31e9e7 [processing][grass] Fix handling of optional file parameters 2018-06-01 11:54:31 +10:00
Nyall Dawson
ae95adba40 [processing][GRASS] Fix r.relief.scaling has inverted min/max values for altitude and azimuth parameters
Fixes #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
59d425c5b0 [processing] Fix some incorrect formatting of algorithm titles 2018-05-31 15:27:51 +10:00
Nyall Dawson
6bf5274b11 [processing] Fix some missing references warnings 2018-05-30 08:51:30 +10:00
Nyall Dawson
a26ae3c1d9 [processing][grass] Fix broken checkParameterValues tests 2018-05-28 16:02:38 +10:00
matteo
b44ce1e883 [processing] fix wrong parameter GRASS 2018-05-19 08:12:40 +10:00
Nyall Dawson
fe93993ab8 Fix typo 2018-05-17 08:50:39 +10:00
Nyall Dawson
5edcc64f72 [processing] Allow algorithms to return a translated short description
This is used in the algorithm's tooltip in the toolbox, and is intended
for single sentence description of the algorithm, e.g.
"Converts 2D features to 3D by sampling a DEM raster."

Convert grass algorithms to use short description for the
descriptive parts of their names, to cleanup the toolbox
and make it more uniform.
2018-05-17 08:50:39 +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
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
C
d99155f3f0 Added missing r.fill.stats processing description file. 2018-05-03 09:59:23 +10:00
nirvn
3bfc93d95b [processing] fix grass provider svg path 2018-04-30 13:04:20 +07: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
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
Nyall Dawson
f928e3dde9 [processing][grass] Add some missing imports 2018-04-09 10:58:41 +10:00
Nyall Dawson
c50a039745 [processing][grass] Push feedback object to algorithm methods 2018-04-09 10:58:41 +10:00
Nyall Dawson
8e08bda46c [processing][grass] Fix incorrect path calculation for grass binary 2018-03-27 07:10:37 +11:00
Nyall Dawson
bec878f6f9 [processing][grass] Fix error after running grass algorithms 2018-03-27 07:10:37 +11:00
Nyall Dawson
5436ce9a35 [processing] Avoid grass 'duplicate parameter' warning 2018-03-21 09:14:23 +11:00
Alexander Bruy
22fea14a17 [processing] remove explicit outputs definitions 2018-03-02 10:35:56 +02:00
Nyall Dawson
44896c3636 [processing] Fix grass point parameter evaluation 2018-02-26 17:10:09 +11:00