122 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
e290c985f7 translation string fix 2016-01-14 12:19:41 +01:00
Médéric RIBREUX
14a6115ee2 Fix indentation (one more time) 2016-01-02 16:48:21 +01:00
Médéric RIBREUX
d6fbe93f0a Fix indendation problems (as usual)... 2016-01-02 16:14:41 +01:00
Médéric Ribreux
af01652650 [Feature][Processing] GRASS v.net modules 2016-01-02 14:31:56 +01:00
Giovanni Manghi
77451f962c fix processing GRASS 7 v.out.ogr 2015-10-25 17:08:37 +00:00
volaya
455089025e added option to add hardcoded params to GRASS algorithms 2015-10-24 21:18:14 +02:00
volaya
2f9db5adef [processing] fixed handling output html files in grass 7 2015-10-14 13:24:16 +02:00
Giovanni Manghi
8b17e8b50c fix grass7 v.sample 2015-09-28 18:08:13 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
volaya
2a14ffd281 [processing]fixes for grass7
processAlgorithm method was actually not being called when running a grass7 algorithm
2015-08-06 14:47:58 +02:00
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
volaya
a842d47512 [processing] fixed text and html output in GRASS algorithms
This changes the way text outputs are handled.
Now the output of the command is piped to a file, and with that file, the raw and HTML outputs are generated.

More formatting for the HTML file should be added in the future, since it is now rather basic

fixes #6379
2015-06-23 13:32:16 +02:00
Giovanni Manghi
fab465aa16 fix GRASS7 v.voronoi output as lines 2015-06-04 16:55:27 +01:00
Giovanni Manghi
2b1b9f53ac fix processing/grass7 in master 2015-05-30 07:24:41 +01:00
Alexander Bruy
596b126b94 fix conflicts 2015-05-27 10:34:32 +03:00