2448 Commits

Author SHA1 Message Date
Matthias Kuhn
a337d2050b Make use of new processing parameter infrastructure 2018-03-07 09:00:33 +11:00
Nyall Dawson
871132eae6 [processing] Port point on surface to c++ 2018-03-04 08:52:34 +11:00
nirvn
55764689ed fix one-to-one, one-to-many wording 2018-03-02 21:01:12 +07:00
Alexander Bruy
22fea14a17 [processing] remove explicit outputs definitions 2018-03-02 10:35:56 +02:00
Mathieu Pellerin
6f47b25037
[FEATURE][processing] one-to-many join support to the join attribute table alg. (#6499) 2018-03-02 11:58:16 +07:00
Matthias Kuhn
592c9b24b9 Expose fields mapping parameter to modeler 2018-03-01 08:13:08 -05:00
Alexander Bruy
88734647ce [processing] fix typo (fix #18248) 2018-03-01 10:40:27 +02:00
Salvatore Larosa
5fda4025f4 [processing] fixes missing icon for create grid algorithm 2018-02-28 21:50:49 +01:00
nirvn
2af9c40882 [processing] add tags to statistics by categories algorithm 2018-02-28 11:31:29 +07:00
nirvn
89e2b02122 [processing] add tags to refactor fields algorithm 2018-02-28 11:31:29 +07:00
Alexander Bruy
4777abb48e [processing] add icons to SAGA algorithms (fix #18211) 2018-02-26 10:37:17 +02:00
Nyall Dawson
44896c3636 [processing] Fix grass point parameter evaluation 2018-02-26 17:10:09 +11:00
Nyall Dawson
cc10bbd950 [processing] Allow empty expressions in refactor fields alg
Fixes #15640
2018-02-26 10:20:19 +11:00
Nyall Dawson
2900acef51 [processing] Fix crash when algorithms fail to prepare
Refs #15640
2018-02-26 10:20:19 +11:00
Alexander Bruy
25c5d8dbea Revert fixes to gdal algorithms, need to investigate further 2018-02-25 08:49:55 +02:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Alexander Bruy
f3af22e16e follow up f638b3cb 2018-02-24 20:28:22 +02:00
Alexander Bruy
f638b3cb52 [processing] fix wrong variable name in GDAL alggorithms base class 2018-02-24 19:51:34 +02:00
tilmanb
176591b471
Update header comment to reflect actual file name
The filename in the top comment now matches the real file name.
2018-02-23 17:15:53 +01:00
Alexander Bruy
131efbdd1e
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2018-02-23 12:18:03 +02:00
Felis Pimeja
76c21ea369 Updated and vectorized several icons (#6382) 2018-02-21 15:39:25 +07:00
Nyall Dawson
585a4d3782 [processing] Split multiparts and explode are feature based algorithms 2018-02-21 09:16:43 +11:00
Nyall Dawson
43cd62b62f [processing] Tweak api for QgsProcessingFeatureBasedAlgorithm
Instead of returning a single QgsFeature from processFeature, we now
return a list of features.

This allows feature based algorithms which return multiple features
per input feature, e.g. "explode" type algorithms which split a
single input feature into multiple output features.
2018-02-21 09:16:43 +11:00
Nyall Dawson
c07f37a5cb [processing] Select by expression/attribute can run on geometryless layers 2018-02-20 10:03:27 +11:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Juergen E. Fischer
dcfe5ca63f update translation strings 2018-02-18 17:35:34 +01:00
Salvatore Larosa
4c95b6bf38 [processing] fix execution of SAGA algorithms under macos 2018-02-17 16:47:17 +01:00
nirvn
3836cd32f0 followup 6dfedc3, fix processing tests 2018-02-16 10:33:53 +07:00
Juergen E. Fischer
b6111d296e fix 6dfedc38 2018-02-16 01:34:58 +01:00
Juergen E. Fischer
6dfedc38e9 translation string fixes and cleanups 2018-02-15 22:31:15 +01:00
Nyall Dawson
12fcfac0d5 [processing] Ensure algorithms which add attributes to features
always add a consistent amount of attributes regardless of the
code paths taken

Some algorithms were adding features to data providers with
different number of attributes vs the layer's fields - this is
not supported and depending on the data provider will have
different (bad) results.
2018-02-15 17:45:00 +11:00
Nyall Dawson
a8110369a8 [processing] Don't throw an exception if an expression cannot
be prepared

There's cases where this happens without reflecting an invalid
expression. So we can try to prepare, but not abort if the
preparation fails.

Fixes #18103
2018-02-15 15:43:26 +11:00
Nyall Dawson
2defaff796 [processing] Much faster random points in polygon by using
prepared geometries
2018-02-15 09:14:01 +11:00
Nyall Dawson
81aa2f956e [processing] Misc fixes and improvements to Random Points in Polygons
- Fix missing format call for string when calculated number
of points is 0
- Fix incorrect progress reports which were spamming the dialog
and causing UI hangs, and slow algorithm execution
2018-02-15 09:14:01 +11:00
Nyall Dawson
e0cf578096 [processing] Add some missing sources to expression contexts 2018-02-15 09:14:01 +11:00
Nyall Dawson
8154a85f29 Fix Python exception in Random Points in Polygon alg
Fixes #18103
2018-02-15 09:14:01 +11:00
nirvn
2d24bbf819 [needs-docs][processing] update raster calculator help to reflect updated logic 2018-02-14 07:43:05 +07:00
Nyall Dawson
54a99c27a3 [processing] Add multi layer outputs to Package Layers and Vector Split algorithms 2018-02-11 11:00:33 +10:00
Alexander Bruy
603d2e6364
Merge pull request #6293 from alexbruy/processing-enums
[processing] allow enums values to be used in description files
2018-02-09 09:08:05 +02:00
nirvn
9562b9dad2 [processing] only pass needed raster entries in QgsRasterCalculator constructor 2018-02-09 14:05:26 +07:00
nirvn
e27847d383 [processing] make output crs optional in the raster calculator 2018-02-09 14:05:26 +07:00
nirvn
c4874b3161 [processing] use feedback object in raster calculator 2018-02-09 14:05:26 +07:00
nirvn
2ed225d5f4 [processing] ressurect raster calculator and add CRS parameter 2018-02-09 14:05:26 +07:00
Alexander Bruy
068d74d51a [processing] allow enums values to be used in description files 2018-02-08 17:22:20 +02:00
Alexander Bruy
fcb50a6857 Revert "[processing] throw error if no layers selected in raster calculator"
This reverts commit c09c3018035eb7a4f47acbde7f3dae405ba444db.
2018-02-08 13:25:20 +02:00
Alexander Bruy
23a5dd3197 [processing] fix file permissions 2018-02-06 19:25:48 +02:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
15a185dab0 [processing] turn keep n biggest parts script into normal algorithm 2018-02-05 08:50:44 +02:00
Alexander Bruy
4f2a4644db [processing] remove obsolete code and disable exporting models as script
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
422d804db1 [processing] update script provider to use QgsProcessingAlgorithm
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00