Nyall Dawson
dd4f530cfb
[processing] Pass context argument to processAlgorithm
2017-04-26 12:53:35 +10:00
Alexander Bruy
3b5b191730
[processing] fix parsing selection parameter in translate algorithm
2017-04-19 12:23:35 +03:00
Nyall Dawson
ebd851993a
Remove processing specific methods for adding/removing providers
...
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3
Remove AlgorithmProvider
...
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3
Remove activation control from AlgorithmProvider
...
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
3739c3aa51
Move tr out of AlgorithmProvider to subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5
Move more algList functionality to QgsProcessingRegistry
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
8ffdb362cc
Port some processing dataobjects routines to c++
2017-04-05 15:27:17 +10:00
Nyall Dawson
51517fd77e
Merge pull request #4311 from nyalldawson/proc_c4
...
Simple c++ base class for processing algorithms
2017-04-05 06:17:11 +10:00
volaya
85e83e1470
[Processing] prevent error when running escapeAndJoin with empty param string
...
fixes #16200
2017-04-04 15:10:58 +02:00
volaya
7a12d5fa32
Revert "[Processing] prevent error when running escapeAndJoin with empty param string"
...
This reverts commit c2a566a3a7bfe369832e5361a0c582bfe2ea5a98.
2017-04-04 15:09:45 +02:00
volaya
c2a566a3a7
[Processing] prevent error when running escapeAndJoin with empty param string
...
fixes #16200
2017-04-04 13:02:31 +02:00
Nyall Dawson
d2a242aa95
Move format handling flags to QgsAlgorithmProvider
2017-04-04 08:15:54 +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
Nyall Dawson
28e75731e1
Move tag handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
26495dbd81
[processing] Move dataobjects.getSupportedOutputVectorLayerExtensions
...
to QgsVectorFileWriter
2017-04-03 15:41:32 +10:00
Stefan
35fab8760c
Updated ogr2ogr.py with GeoPackage in FORMATS and EXTS.
...
GeoPackage really deserves to become a first class citizen in QGIS at for vector and probably also for raster :-)
(Wondering why the lists aren't sorted alphabetically. This makes searching for a format for the user in the dialog/pul down list a tedious sequential task).
2017-03-17 20:43:17 +01: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
Juergen E. Fischer
ecc5bb508e
pep8/pyflakes3 cleanups
2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Alexander Bruy
dbca0304d9
[processing] rename algorithm groups in GDAL provider
2017-02-28 12:37:48 +02:00
Alexander Bruy
aa862810e3
Merge pull request #4146 from jdugge/master
...
[processing] gdal translate fixes
2017-02-16 14:44:36 +02:00
volaya
cdb35d6288
Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
...
[processing] Add PostGIS widget wrappers
2017-02-16 11:12:30 +01:00
jdugge
f2ac88ba25
Update translate.py
2017-02-14 22:43:13 +01:00
Juernjakob Dugge
063c80ee1d
GDAL translate algorithm: Default value for EXPAND, make PROJWIN optional
2017-02-14 21:56:55 +01:00
Alexander Bruy
f7380c1b6f
Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_params
...
[processing] make ogr postgis parameters mandatory where needed
2017-02-10 18:04:12 +02:00
Alexander Bruy
5c8c53c397
[processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3)
2017-02-10 17:59:53 +02:00
Alexander Bruy
40dfdd7960
Merge pull request #4131 from NaturalGIS/fix_ogr_offset_lines
...
[processing] remove useless options form ogr offset line tool
2017-02-10 17:43:54 +02:00
Giovanni Manghi
26448364b4
make ogr postgis parameters mandatory where needed
2017-02-10 15:41:39 +00:00
Alexander Bruy
47d46bb8c3
[processing] fix initialization of GdalAlgorithmDialog
2017-02-10 17:38:24 +02:00
Giovanni Manghi
5ade65aa16
remove usless options form ogr offset line tool
2017-02-10 15:01:25 +00:00
arnaud.morvan@camptocamp.com
c768edf9d1
[processing] Add postgis widget wrappers
2017-02-10 11:01:41 +01:00
Alexander Bruy
f66646c483
[processing] remove code with GDAL 1.x API as QGIS 3 will require GDAL 2.x
2017-02-09 14:15:31 +02:00
Giovanni Manghi
566c058db8
fix some ogr tools in master
2017-02-08 11:22:21 +00:00
Alexander Bruy
44698d4576
[processing] don't quote geometry column name ( fix #16122 )
2017-02-07 16:57:07 +02:00
Nyall Dawson
9124100fb6
Python formatting updates
2017-01-23 12:25:19 +10:00
Alexander Bruy
8f291a92df
[processing] allow other output formats than shapefile in GDAL
...
polygonize
2017-01-13 09:16:19 +02:00
Alexander Bruy
6214d4d446
[processing] fix wrong parameter definition ( fix #16063 )
2017-01-11 19:23:08 +02: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
Alexander Bruy
d2ff57ec38
remove debug line
2017-01-10 12:02:36 +02: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