1808 Commits

Author SHA1 Message Date
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
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
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
Matthias Kuhn
e9c41e8021 Improve processing test documentation 2016-04-18 15:18:14 +02:00
Matthias Kuhn
09a2f9b343 [Processing] Retry gdal commands if they are interrupted 2016-04-18 08:35:20 +02:00
Matthias Kuhn
972f13e0ec Followup 151204d fix typo 2016-04-17 21:23:37 +02:00
Matthias Kuhn
151204dee0 Add debug for failing gdal subprocess 2016-04-17 17:03:31 +02:00
Matthias Kuhn
d283223c56 Python 3 update for processing tests 2016-04-14 12:15:12 +02:00
Alexander Bruy
b7a4e20627 [processing] add Rectangles, Ovals, Diamonds algorithm (fix #11575)
This is direct port of abandoned "Rectangles, Ovals and diamonds" plugin.
There are two algorithms: one uses fixed values and second — variable
values from attribute table. Test for fixed distance version included.
2016-04-13 12:33:08 +03:00
Matthias Kuhn
30df95aba6 Add new target port-plugins to run 2to3 on plugins as build step 2016-04-12 14:48:20 +02:00
Matthias Kuhn
1ed39c4877 Fix indentation 2016-04-11 20:32:32 +02:00
Matthias Kuhn
c7ddc4b229 [processing] Allow calling GdalUtils.runGdal w/o progress 2016-04-11 17:55:46 +02:00
Alexander Bruy
e873540d14 [processing] fix path handling (fix #14432) 2016-04-11 18:52:27 +03:00
Alexander Bruy
abda90fe0d [processing] filter items in toolbox using translated and original names (fix #13764) 2016-04-11 15:57:22 +03:00
Alexander Bruy
8eb79dbb91 [processing] fix missed quotes in OTB provider (fix #14557) 2016-04-10 11:39:29 +03:00
Alexander Bruy
badea8ceb2 [processing] fix GRASS icon 2016-04-10 11:32:16 +03:00
Alexander Bruy
525194dc0b [processing] don't ask for MSYS folder for GRASS7 (fix #14431) 2016-04-10 11:31:46 +03:00
Nyall Dawson
ae59b733c3 [processing] Use unary union in dissolve (much faster for many
complex geometry inputs)
2016-04-10 12:58:01 +10:00
QGEP
6ea74d6234 Workaround a instable system call 2016-04-09 09:48:46 +02:00
Matthias Kuhn
fa90a7bb7c ogrinfo reports null geometry features differently 2016-04-09 09:48:46 +02:00
Matthias Kuhn
f88cf7de8a Drop processing algorithm comparison precision 2016-04-09 09:48:46 +02:00
Nyall Dawson
965cef2b2e Indentation fix 2016-04-09 10:55:27 +10:00
Matthias Kuhn
5376cbf35e Followup 297f466 pep8 2016-04-07 14:11:03 +02:00
volaya
cc50157ab8 [processing] make gdal algorithms honor selection
fixes #14622
2016-04-07 14:02:25 +02:00
Matthias Kuhn
27afd6c4f3 Fix headers 2016-04-07 13:21:23 +02:00
Matthias Kuhn
5e89058921 Followup 297f466 Add missing CMakeLists.txt 2016-04-07 13:21:20 +02:00
volaya
45cb80a0ff [processing] fixed wild import 2016-04-07 12:32:46 +02:00
volaya
794ef72520 [processing] added support for QGIS variables in python scripts 2016-04-07 12:03:41 +02:00
volaya
3e4e08bc6f [processing] fixed header 2016-04-07 12:03:40 +02:00