3445 Commits

Author SHA1 Message Date
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
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
cacf79cd96 Improve PORT_PLUGINS cmake code 2016-04-15 09:20:40 +02:00
Matthias Kuhn
d283223c56 Python 3 update for processing tests 2016-04-14 12:15:12 +02:00
elpaso
1e6dceb7d2 [dbmanager] Fixes various signal bugs after 8bda5c
Fixes some unreported glitches after new signals migration.

Also fixes #14649
2016-04-14 09:02:04 +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
Alessandro Pasotti
1eb63768d9 [dbmanager] Use user name as DB name if provided
Followup for 212b125
2016-04-12 14:40:23 +02:00
Alessandro Pasotti
212b125a2c [dbmanager] PG ignore env if service file is used
Fixes #14436

Funded by Boundless
2016-04-12 14:05:19 +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