482 Commits

Author SHA1 Message Date
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
e506ceb1f8 Move flags (hide from toolbox, etc) to QgsProcessingAlgorithm 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
Alexander Bruy
b8cb196322 Merge pull request #4293 from alexbruy/processing-api
[processing][needs-docs] Processing API improvements
2017-03-27 10:25:43 +03: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
Alexander Bruy
1a46ddbf28 [processing][API] rename runalg() and runandload() to improve
readability
2017-03-22 19:17:12 +02:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Alexander Bruy
e84829e016 Merge pull request #4088 from volaya/grass_tempfile_fix
[processing] fixed grass tempfiles
2017-03-02 10:26:23 +02:00
Alexander Bruy
2c188b2b0f [processing] fix helper function from system module (fix #16128) 2017-02-09 14:25:53 +02:00
volaya
ee4681df10 [processing] fixed grass tempfiles
fixes #16128
2017-01-31 12:41:37 +01:00
PedroVenancio
bf2d9995f0 Add GRASS 7.x v.out.ascii algorithm 2017-01-26 22:04:06 +00:00
Juergen E. Fischer
01004d9f83 identation fix 2017-01-25 02:43:25 +01:00
Juergen E. Fischer
099e7a77f2 [processing] find grass >=7.0 2017-01-25 01:32:39 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +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
Nyall Dawson
bb24dfe245 [processing] c++ base class for providers
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.

As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:

- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon

These API breaks are documented
2017-01-11 10:55:15 +10:00
volaya
8ea5bc39b4 Merge pull request #3971 from alexbruy/processing-help
[processing] configurable help files location for GDAL and GRASS providers
2017-01-10 09:55:58 +01:00
Juergen E. Fischer
378212cf42 indentation update 2017-01-10 09:05:42 +01:00
Alexander Bruy
7cda002ba2 [processing] configurable help files location for GDAL and GRASS providers 2017-01-09 16:31:13 +02:00
Alexander Bruy
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
Alexander Bruy
5dc39e0a41 [processing] use point parameter in GRASS algs where possible (addresses #15983) 2016-12-16 10:04:19 +02:00
volaya
0035c97f5b Merge pull request #3725 from arnaud-morvan/processing_geometry_predicate
[processing] Remove parameter geometry predicate
2016-12-13 15:58:16 +01:00
arnaud.morvan@camptocamp.com
65a4e97a75 [processing] Support options as (value, text) in ParameterSelection 2016-12-12 15:12:55 +01:00
volaya
8ec3eaf456 Merge pull request #3839 from anitagraser/patch-2
[processing] Create cost allocation map output
2016-12-09 12:09:11 +01:00
volaya
322b703944 [processing] made WHERE param optional and advanced in v.surf.rst algorithms
Fixes #15786
2016-12-09 10:21:53 +01:00
volaya
c713747279 [processing] fixed GRASS algorithm descriptions 2016-12-09 08:54:43 +01:00
Anita Graser
dd0df199fc Create cost allocation map output 2016-12-06 19:21:51 +01:00
Anita Graser
231f97ab97 Create cost allocation map output 2016-12-06 19:21:22 +01:00
Anita Graser
de054e70b7 Added second algorithm output
Second output raster contains cost allocation map, as described in https://grass.osgeo.org/grass70/manuals/r.cost.html#cost-allocation
2016-12-06 16:30:21 +01:00
volaya
ec8aea2f60 [processin] fixed wrong parameter type 2016-12-06 07:19:24 +01:00
Médéric RIBREUX
c3ad30da34 Fix subprocess unclosed file 2016-11-28 09:54:27 +01:00
nirvn
4a4ffa4c1b [processing] fix grass/grass7 installation check 2016-11-15 09:27:22 +07:00
Alexander Bruy
85d1fd720b [processing] cleanup test data 2016-11-12 13:31:44 +02:00
Nyall Dawson
0484769b7d [processing] Use subprocess.DEVNULL instead of open(os.devnull) 2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
Paolo Cavallini
66b66ed450 Update r.mapcalc.txt
Better description of r.mapcalc
2016-10-23 07:42:51 +02:00
Jaka Kranjc
c130372730 doc: fixed processing's description for v.extract (#3637) 2016-10-19 12:09:01 +02:00
volaya
135576ec4d [processing] fixed wrong import in i_aster_toar
Conflicts:
	python/plugins/processing/algs/grass7/ext/i_aster_toar.py
2016-10-18 16:55:19 +03:00
Giovanni Manghi
8f9fe00671 add paramter to v.voronoi.skeleton 2016-10-16 19:09:06 +01:00
Giovanni Manghi
80c6a27f17 Add a GRASS7 tool to compute skeletons of areas, using v.voronoi 2016-10-16 18:43:29 +01:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
volaya
a1642a376f [processing] fixed loading of parameters for grass algorithms 2016-10-05 12:38:12 +02:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
rldhont
37951baf45 [Processing] Uses os.path.join instead of + os.sep + (#3552) 2016-10-01 08:35:56 +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