Nyall Dawson
ff6ea33686
[processing] Fix broken Aggregate algorithm
...
Fixes #18349
2018-03-20 08:06:38 +11:00
Nyall Dawson
732c5260cc
[processing] Fix Concave Hull algorithm, add tests
...
Fixes #18475
2018-03-19 12:00:30 +11:00
Nyall Dawson
87e8432644
[processing] Fix Points to Paths terminates when an order by
...
field is empty
2018-03-16 14:30:30 +11:00
Nyall Dawson
654a4a4af6
[processing] Fix algorithm progress bar resets to 0 when an algorithm
...
reports a non-fatal error
Fixes the "flashy" progress bar when an algorithm encounters a lot
of errors.
2018-03-15 13:43:01 +11:00
Nyall Dawson
251e1d5352
[FEATURE][processing] Add line sinuosity to "Export Geometry Info"
...
Adds line sinuosity and straight distance to the stats calculated
by "Export Geometry Info"
Fixes #12376
2018-03-12 14:58:04 +11:00
Nyall Dawson
8df954d6b8
[processing] Port Delete Holes algorithm to c++, allow dynamic
...
min area parameter
2018-03-12 10:41:22 +11:00
Matthias Kuhn
cdef548cb8
Fix Fields Mapping parameter id
2018-03-07 09:00:33 +11:00
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
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
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
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
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
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
Nyall Dawson
54a99c27a3
[processing] Add multi layer outputs to Package Layers and Vector Split algorithms
2018-02-11 11:00:33 +10: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
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
422d804db1
[processing] update script provider to use QgsProcessingAlgorithm
...
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Nyall Dawson
5ba69ea945
[processing] Fix invalid parameter definitions for spatialite algs
2018-02-05 10:11:03 +10:00
Alexander Bruy
55759a4cee
[processing] remove unused icons and use SVG icon for Heatmap algorithm
2018-02-01 07:22:12 +02:00
Nyall Dawson
216821c0b1
[processing] Warn on duplicate output and provider registration
...
And fix associated memory leaks
2018-02-01 13:02:59 +11:00
Mathieu Pellerin
e0c12d519f
[processing] nodes -> vertices algorithm renaming
...
- "Extract nodes" renamed to "Extract vertices"
- "Extract specific nodes" renamed to "Extract specific vertices"
2018-01-29 19:16:43 +07:00
Nyall Dawson
a05d941e4e
[processing] Default to allowing background execution of algorithms
...
Since the underlying issues with the Python bindings are now fixed,
in most cases we can safely default to allowing an algorithm to
run in a background thread!!
So now we make this the default, and require individual algorithms
which are NOT thread safe to declare this. This includes algorithms
which directly manipulate the current project or layers (such as
setting layer styles), alter the selections in layers, or which
rely on 3rd party libraries (for now, SAGA and GRASS algorithms
are marked as not thread safe... TODO - someone more familiar with
these libraries can investigate and remove the flag if appropriate).
Also models are marked as non-thread safe. TODO: only flag an
individual model as thread-unsafe if any of its child algorithms
report this flag.
2018-01-29 17:37:05 +11:00
Alexander Bruy
c09c301803
[processing] throw error if no layers selected in raster calculator
...
algorithm (refs #17920 )
2018-01-23 10:38:59 +02:00
Mathieu Pellerin
aaf97933c2
[needs-docs][processing] merge grid algorithms and add point grid type
2018-01-23 13:54:53 +07:00