3382 Commits

Author SHA1 Message Date
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
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Alexander Bruy
d20a2ced9d [processing] remove duplicated code 2016-04-29 12:01:13 +03:00
Alexander Bruy
58109113fd [processing] always use original algorithm name for scripts and models (follow up abda90fe0d) 2016-04-28 14:53:27 +03:00
rldhont
37d6c69c24 Merge branch 'processing_modeler_default_value' 2016-04-28 10:43:39 +02:00
Alexander Bruy
b52735dbd8 fix indentation 2016-04-27 15:40:56 +03:00
Alexander Bruy
87575bd843 Merge pull request #3038 from volaya/provider_add_remove
[processing] different approach for provider add/remove
2016-04-27 15:38:28 +03:00
volaya
bee4068b89 [processing] handle provider modifications when settings have been edited 2016-04-27 13:36:28 +02:00
rldhont
4a11a1a319 [Processing][Modeler] Use default value instead of None
In Modeler algorithm, when a algorithm's parameter was not defined it's value was set to None.
Before the possibility to defined optional parameters, None value is equal to set value to default one.
Now, it's important to use default value instead of None.
2016-04-27 10:13:56 +02:00
volaya
f33749ab9d [processing] different approach for provider add/remove 2016-04-27 10:09:28 +02:00
Alexander Bruy
77d95b0d65 [processing] don't write NaN's to attribute table (fix #14639) 2016-04-26 20:44:53 +03:00
Alexander Bruy
2ba252b344 Merge pull request #3033 from rldhont/processing_gdal_optional
[Processing] well manage optional parameters in GDAL algorithms
2016-04-26 16:59:13 +03:00
Alexander Bruy
9a05558aff fix formatting 2016-04-26 15:22:52 +03:00
rldhont
793b712eb9 [Processing][GDAL] Well manage optional parameters
Because EXTRA and NO_DATA parameters are optional, the value can be `None` which is the same as `''`.
2016-04-26 14:18:41 +02:00
Alexander Bruy
0502265320 Merge pull request #3030 from NaturalGIS/processing_fix_raster_clip_nodata
[processing] set nodata parameter as optional in GDAL algs
2016-04-26 14:36:14 +03:00
volaya
8a9cb05dbb [processing] better handling of variables in scripts 2016-04-26 12:47:55 +02:00
volaya
5cc2dcd2a4 [processing] fixed wrong call to addToLog 2016-04-26 12:47:54 +02:00
volaya
f01c57af6a Merge pull request #3032 from NaturalGIS/processing_remove_wrong_raster_clip_parameter
remove wrong gdal_translate parameter
2016-04-26 08:38:30 +02:00
volaya
ff85bfe461 [processing] print full stacktrace to log when a provider cannot be loaded 2016-04-26 08:35:32 +02:00
volaya
2535c0a9c1 [processing] better expression context building 2016-04-26 08:33:57 +02:00
Larry Shaffer
b3a0d9d146 Revert "[processing] Extra check to ensure GRASS folder setting not already None"
This reverts commit 36a820e51657bf0c3069e1fd287d6b452a3cd1e0.
2016-04-25 21:27:45 -06:00