3553 Commits

Author SHA1 Message Date
rldhont
5d7e218b04 [BUGFIX][Processing][Rscript] Use Extent Parameter
Add support for extent parameter to Rscript command.
2016-05-24 16:01:30 +02:00
volaya
3607e269c6 [processing] improvements for new mechanism for adding algorithms
Correctly remove algorithms on plugin unload
2016-05-24 10:27:38 +02:00
volaya
bc75862e53 [processing] fixed header 2016-05-23 19:36:16 +02:00
volaya
2eebe0d314 [processing] additional mechanism to add scripts from 3rd party plugin 2016-05-23 19:36:16 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +02:00
volaya
9a5c5835ef [processing] moved imports to initialize providers to a separate module 2016-05-23 19:34:25 +02:00
Alexander Bruy
7014c9baa0 [processing] fix tests 2016-05-23 19:34:25 +02:00
volaya
b90ec83c23 [processing] keep parameter in addProvider method for backwards compatibility 2016-05-23 19:34:25 +02:00
volaya
e6b76c4d7b [processing] cleaning and restructuring
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
volaya
b4b05bade7 [processing] save value of grass path when autoconfiguration is succesful 2016-05-23 19:34:24 +02:00
volaya
e925382292 [processing] fixed provider updates in toolbox 2016-05-23 19:34:24 +02:00
Alexander Bruy
d2b21891d4 [processing] correctly set default value in modeler algorithms (fix #12767) 2016-05-23 17:42:54 +03:00
Alexander Bruy
2f5c3a570a [processing] fix expressions handling in ParameterString (fix #14834)
Add initial set of tests for ParameterString
2016-05-23 14:28:10 +03:00
volaya
9074b14a74 [processing] fix to avoid interrupted system call exceptions in mac 2016-05-23 13:25:20 +02:00
Alexander Bruy
6207412bf7 [processing] restore CreateConstantRaster algorithm (fix #14860) 2016-05-23 12:41:45 +03:00
ninsbl
75c76f51f1 [processing] Don't round grass7 extent and resolution to integer
fix #14582
See: https://hub.qgis.org/issues/14582

The commit removes the a-flag when the grass region for raster analysis is set. The a-flag causes in some cases unwanted rounding of raster extend / resolution, and should not be set hardcoded in processing. It is usually used in combination with the "res" option.
For aligning the pixels of the GRASS region to a specific raster, the align option should be used (and not the a-flag). See: https://grass.osgeo.org/grass70/manuals/g.region.html
GRASS 6.4 algs do not use the a-flag either, which explains why this bug appears only for GRASS 7.
2016-05-23 08:49:29 +02:00
Matthias Kuhn
dbb24e971e [processing tests] More tolerance in statistics test 2016-05-22 21:52:55 +02:00
Matthias Kuhn
7f3526be71 [processing tests] Cleanup layer registry before every new test 2016-05-22 21:52:55 +02:00
pcav
98ede7fecf Replaced Grid with Raster for coherence 2016-05-20 17:51:28 +02:00
volaya
a19741b297 [processing] log errors in hook scripts 2016-05-19 13:45:18 +02:00
volaya
518f7dcf6b [processing] correctly switch to description tab if help tab exists 2016-05-19 13:45:17 +02:00
Nyall Dawson
1767d3b073 [processing] Use QgsVectorLayer::selectByExpression for select by expression alg 2016-05-19 10:40:18 +10:00
volaya
b4e2354163 [processsing] removed unused code 2016-05-18 15:14:29 +02:00
volaya
d390ebdceb [processing] show script in toolbox even if it contains errors 2016-05-18 14:24:46 +02:00
volaya
f001ac11f7 [processing] fixed repaint in set vector style algorithm 2016-05-18 14:24:45 +02:00
volaya
bfa90a9125 [processing] fixed toolbox updates 2016-05-18 12:08:34 +02:00
arnaud.morvan@camptocamp.com
7847f971d4 Processing - Adapt RefactorFields to work on tables as well as vector layers 2016-05-17 14:16:16 +02:00
arnaud.morvan@camptocamp.com
afbe914114 Processing - Support OutputVector with no geometry in GUI 2016-05-17 14:16:16 +02:00
arnaud.morvan@camptocamp.com
fc5f70c6f5 Processing - Support tables with no geometry in OutputVector 2016-05-17 14:16:15 +02:00
arnaud.morvan@camptocamp.com
63d23d2905 Processing - Support no geometry in VectorWriter 2016-05-17 14:16:15 +02:00
volaya
a7f41dc4c5 [processing] do not reject string parameters if they contain an unparsable expresion 2016-05-17 08:06:56 +02:00
Sebastian Dietrich
c5308754eb [DbManager] allow to refresh materialized views
(fixes #13697)
2016-05-14 00:41:20 +02:00
Matthias Kuhn
25f2e637c0 Remove references to QPyNullVariant 2016-05-13 22:23:03 +02:00
Alexander Bruy
ab3fef97aa fix import (take 2) 2016-05-13 13:17:48 +03:00
Alexander Bruy
7c122a3a93 [processing] fix import 2016-05-13 11:11:33 +03:00
volaya
19f80601bf [processing] remove toolbox dock widget when unloading plugin 2016-05-13 08:58:47 +02:00
Alexander Bruy
555fe3d911 [processing] simplify variables handling in scripts 2016-05-13 09:34:25 +03:00
Alexander Bruy
0c8f6f7fbb fix indentation and typo 2016-05-13 09:32:13 +03:00
Alexander Bruy
730c5806aa Merge branch 'processing_exps' of https://github.com/volaya/QGIS into processing_exps
Conflicts:
	python/plugins/processing/gui/NumberInputPanel.py
	python/plugins/processing/gui/OutputSelectionPanel.py
2016-05-13 09:26:55 +03:00
Alexander Bruy
583eaeff7f [processing] don't crash if user canceled script loading 2016-05-12 16:27:24 +03:00
Nyall Dawson
0332157d8a Partial revert 18b69d 2016-05-12 10:22:22 +10:00
Nyall Dawson
18b69d26ef Indentation 2016-05-11 23:02:34 +10:00
Matthias Kuhn
0d165e5621 Merge pull request #3058 from arnaud-morvan/processing_postgis_errors
Processing - Fix unicode/str error in postgis_utils
2016-05-11 12:30:14 +02:00
arnaud.morvan@camptocamp.com
66b1416dfe Processing - Fix unicode/str error in postgis_utils 2016-05-11 11:27:58 +02:00
Matthias Kuhn
86ccaff49a Merge pull request #3063 from DelazJ/fields
use same icons as in other dialogs for this task
2016-05-11 07:57:45 +02:00
Alexander Bruy
f1e6d8731b [processing] add support for int64 fields (fix #14777) 2016-05-09 11:43:58 +03:00
Harrissou Sant-anna
cf45742fe8 use same icons as in other dialogs for this task 2016-05-09 07:02:30 +02:00
volaya
e6f1439c0a [processing] add object name to custom menus 2016-05-06 09:00:33 +02:00
Matthias Kuhn
c1687abc80 Replace calls to deprecated assertEquals method 2016-05-03 09:18:27 +02:00
Harrissou Sant-anna
af73c3dd58 replace icon 2016-05-02 17:22:47 +02:00