3370 Commits

Author SHA1 Message Date
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
Larry Shaffer
36a820e516 [processing] Extra check to ensure GRASS folder setting not already None
- Update to 5131e93; not sure why ProcessingConfig.getSetting returning
  None sets folder = None instead of '' (on the previous line on Win)
2016-04-25 18:52:44 -06:00
Giovanni Manghi
a4b2cde5bb more GDAL a_nodata fixes, for sake of uniformity 2016-04-25 22:09:42 +01:00
Giovanni Manghi
ba2601ff45 remove wrong gdal_translate parameter 2016-04-25 21:41:43 +01:00
Giovanni Manghi
fb5921250b set nodata parameter as optional in GDAL clip by extent 2016-04-25 21:22:27 +01:00
Juergen E. Fischer
aca62153c2 run 2to3 only with Qt5 2016-04-25 15:58:40 +02:00
volaya
e9a3089670 [processing] more complete scope for expressions in outputs 2016-04-25 14:21:16 +02:00
volaya
7805c64208 [processing] added variables to scope when inputing value of a ParameterNumber 2016-04-25 14:21:15 +02:00
volaya
e55b280fa9 [processing] minor ui fixes in input panels 2016-04-25 14:21:14 +02:00
volaya
ac0bff32bf [processing] added support for expressions in some input params and outputs 2016-04-25 14:21:13 +02:00
Matthias Kuhn
caab3b3db5 Add dependency of port-plugin-xxx on staged-xxx 2016-04-23 16:38:05 +02:00
Matthias Kuhn
59522582bf [processing] Improve error message when clipping fails due to 2.5D 2016-04-21 17:11:16 +02:00
rldhont
e765bb6dd1 [Processing] Fix when iface is None 2016-04-20 14:52:46 +02:00