Nyall Dawson
a658135693
Remove global processing use selection setting
2017-06-06 07:41:20 +10:00
Nyall Dawson
937347582c
Indentation
2017-06-06 07:41:20 +10:00
Nyall Dawson
87fc31d6de
Adapt more python code to new API
2017-06-06 07:41:19 +10:00
Nyall Dawson
ba03f1a13a
Move minimum layer extent calculation to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
189f804714
Adapt more code to c++ API
2017-06-06 07:41:19 +10:00
Nyall Dawson
ef59d0c454
Port parameter checking to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c
Push parameters into processAlgorithm and related functions
2017-06-06 07:41:19 +10:00
Nyall Dawson
2d1579d28a
Port algorithm help to QgsProcessingAlgorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
fac8ca4d4f
Move execution check to QgsProcessingAlgorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
03e40f7497
[processing] Remove all remaining algorithm copies
...
Algorithms are no longer copied - just a single const instance
of each algorithm is used
2017-06-06 07:41:19 +10:00
Nyall Dawson
49c688bbe4
Fix use of QgsProcessingUtils.mapLayerFromString
2017-05-02 13:40:49 +10:00
Nyall Dawson
f84d703234
Add method QgsProcessingUtils::mapLayerFromString
...
Algorithms and other processing code should use this method
(instead of dataobjects.getLayerFromString) to
retrieve layers from a string, as it considers the processing
context and allows resolving strings to temporarily stored layers.
This permits processing models to function correctly when
intermediate results are stored as memory layers. Subsequent
model algorithms can then access these temporary layers as inputs.
All temporary layers will be removed when the context object
is destroyed after the model algorithm is run.
2017-05-02 12:33:04 +10:00
Alexander Bruy
3f669140d5
[processing] fix GRASS commands logging
2017-04-30 14:31:52 +03:00
Nyall Dawson
e9f13d1ea3
Just use standard QgsMessageLog functionality instead of a dedicated
...
method for processing
2017-04-26 13:57:06 +10:00
Nyall Dawson
1394c28d13
[processing] Move some log handling to c++ class
2017-04-26 13:56:29 +10:00
Nyall Dawson
dd4f530cfb
[processing] Pass context argument to processAlgorithm
2017-04-26 12:53:35 +10:00
Nyall Dawson
ff32054da6
Fix some breakage
2017-04-07 13:21:28 +10:00
Nyall Dawson
2a1a71574a
Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm
2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf
Move provider algorithm handling to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
377b181c4e
Port more processing dataobjects methods to c++
...
Also
- simplify and add tests
- remove large memory leak (persistant store of all non-project layers)
- remove broken support for direct loading postgres/virtual layers
by string (Python version was very broken and would never match
a postgres/virtual layer)
2017-04-05 19:50:46 +10:00
Nyall Dawson
a0bd464232
Use formatted name for algorithm names
...
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a
Move algorithm group handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2
Move algorithm icon handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Mathieu Pellerin
40f86b2033
[processing] GRASS 7.2 support: use SQL compatible output names ( #4298 )
...
(fixes #16370 )
2017-03-24 08:35:57 +07:00
Juergen E. Fischer
f00a87cb8a
update translation strings
2017-03-05 10:21:24 +01:00
volaya
ee4681df10
[processing] fixed grass tempfiles
...
fixes #16128
2017-01-31 12:41:37 +01:00
Nyall Dawson
ede452be85
[processing] Port feedback object to c++
...
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
Nyall Dawson
04eb293362
[processing] Move some SVG icons out of plugin to themes
...
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Alexander Bruy
7cda002ba2
[processing] configurable help files location for GDAL and GRASS providers
2017-01-09 16:31:13 +02:00
arnaud.morvan@camptocamp.com
65a4e97a75
[processing] Support options as (value, text) in ParameterSelection
2016-12-12 15:12:55 +01:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
volaya
a1642a376f
[processing] fixed loading of parameters for grass algorithms
2016-10-05 12:38:12 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
volaya
2fda177c0e
[processing] fied issue with grass icons slowing down toolbox
...
fixes #15550
2016-09-21 13:26:40 +02:00
Nyall Dawson
5617dbc612
Revert "[processing] cache icons to speed up toolbox rendering"
...
This reverts commit d265f3334142853a7f04fbda5bf6a62e3b5f672d.
Was causing failure on Travis
2016-09-14 06:42:04 +10:00
volaya
d265f33341
[processing] cache icons to speed up toolbox rendering
...
fixes #15550
2016-09-13 10:09:01 +02:00
Alexander Bruy
65db336eaf
[processing] move some constants to the dataobjects module
2016-09-02 09:28:45 +03:00
Médéric RIBREUX
25411c733c
Fix r.composite
2016-06-26 11:58:19 +02:00
Médéric Ribreux
e70f9bcf0c
Add first set of unit tests
2016-05-29 09:00:16 +02:00
ninsbl
75c76f51f1
[processing] Don't round grass7 extent and resolution to integer
...
fix #14582
See: https://hub.qgis.org/issues/14582
The commit removes the a-flag when the grass region for raster analysis is set. The a-flag causes in some cases unwanted rounding of raster extend / resolution, and should not be set hardcoded in processing. It is usually used in combination with the "res" option.
For aligning the pixels of the GRASS region to a specific raster, the align option should be used (and not the a-flag). See: https://grass.osgeo.org/grass70/manuals/g.region.html
GRASS 6.4 algs do not use the a-flag either, which explains why this bug appears only for GRASS 7.
2016-05-23 08:49:29 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Alexander Bruy
660bb27388
[processing] replace some raster icons with SVG to improve HiDPI support (refs #14474 )
2016-03-25 15:19:52 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Médéric RIBREUX
ce69d21bc1
[Processing] Use local GRASS7 help files if they exist. Fixes #7745
2016-03-06 11:48:41 +01:00
Alexander Bruy
dd68c33eb4
[processing] add support for ParameterPoint to major algorothm providers
2016-02-29 12:41:27 +02:00
volaya
961c35aeb5
[processing] fixed exporting multiple vector layers in SAGA and GRASS algs
2016-02-15 08:25:50 +01:00
Médéric Ribreux
f49dbdc299
[Processing] Fix overwrite for GRASS7 (Redmine #13488 )
2016-02-09 09:46:12 +01:00
Alexander Bruy
908a380241
[processing] fix deprecation warnings
2016-01-20 16:39:13 +02:00
volaya
014b69647a
[processing] removed redundant code
2016-01-19 12:35:00 +01:00