48 Commits

Author SHA1 Message Date
Alexander Bruy
b9929d4c2a [processing][needs-docs] always use SAGA shipped with QGIS (refs #16422) 2017-05-19 09:00:02 +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
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
b3142a0baf Move provider algorithm handling to QgsProcessingProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
d2a242aa95 Move format handling flags to QgsAlgorithmProvider 2017-04-04 08:15:54 +10:00
Nyall Dawson
6987d7b37c Port handling of algorithm names to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Alexander Bruy
1430e93340 [processing] improve SAGA version check. Fix getCopy() method 2017-02-14 12:55:33 +02:00
Alexander Bruy
732b501db1 [processing] support only SAGA LTR 2017-02-09 11:49:22 +02: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
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
volaya
f852603f07 [processing] fixes for SAGA folder configuration
This tries to address some problem with previously set SAGA paths, by always showing the SAGA path config value, and by trying to ruin a built in copy of SAGA if the current SAGA folder is wrong (as it usually happens when updating QGIS)
2016-12-12 15:20:56 +01:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Giovanni Manghi
607642a562 Fix SAGA 2.2.3 Processing detection 2016-02-20 15:47:55 +00:00
volaya
964ae1ff04 [processing] fixed typo in saga supported versions 2016-02-08 08:45:32 +01:00
volaya
931ca4d6d6 [processing] indentation fixes 2016-01-08 12:52:19 +01:00
volaya
62302377db [processing] UI/UX improvements
Related to QEP #19

Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
volaya
54bdcefc11 [processing] hide SAGA folder option if built-in SAGA is available 2015-11-06 11:36:23 +01:00
volaya
3ac5d0b095 [processing] fixed SAGA version handling
Conflicts:
	python/plugins/processing/algs/saga/SagaAlgorithmProvider.py
2015-10-24 21:18:15 +02:00
Juergen E. Fischer
e694474f62 indentation update 2015-10-03 21:42:13 +02:00
volaya
a9dab06a6a [processing]fixed SAGA when using a version newer than the latest supported one
fixes #13279
2015-10-01 07:45:38 +02:00
volaya
c7961b1cd9 [processing] fixed management of SAGA versions
fixes #13429
2015-09-28 07:14:06 +02: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
b80a1bcac5 [processing] fixed handling of folders and files in settings
fixes #12511
2015-06-26 12:00:02 +02:00
volaya
77ca802522 [processing] better initialization of SAGA provider 2015-06-23 12:01:50 +02:00
volaya
32d6275fa3 [processing]changed native raster format for SAGA algorithms from tif to sdat
This eliminates the need to export to a QGIS compatible format after generating a raster output. The SDAT format is the native SAGA format, and it is supported by GDAL, so it is also supported by QGIS. This was not used before, but now we use that to reduce the nuber of steps and provide a better integration.

Conversion to other formats is now done by Processing itself, not by the SAGA algorithm.

fixes #10735
2015-06-22 09:11:01 +02:00
volaya
960e6d84f9 [processing] fixed SAGA provider entry in settings dialog 2015-05-20 08:04:18 +02:00
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
volaya
678f1ab4c0 [processing] allow using upcoming saga release 2015-01-21 14:04:36 +01:00
volaya
b0291985ac [processing] added specific algorithm for saga 214 2015-01-20 12:34:17 +01:00
volaya
e9228b67c9 [processing] some SAGA fixes
-fixed raster export
-fixed version numbering when no saga installation is found
2015-01-20 11:41:27 +01:00
Alexander Bruy
07462f5476 [processing] i18n support for SAGA provider 2015-01-17 11:24:54 +02:00
volaya
aa60bfecb2 [processing] New system for handling SAGA versions
This commit sets a different way of handling SAGA versions and a new way of checking saga installations

This is done to fix the messy situation that SAGA causes due to its API changing in each release.
2015-01-15 10:27:18 +01:00
Juergen E. Fischer
0dd02bad04 fix some warnings and indentation update 2014-06-19 00:02:32 +02:00
Victor Olaya
3d152393d7 [processing] If SAGA/OTB exist as bundled app, do not allow manual configuration 2014-06-16 12:04:25 +02:00
Juergen E. Fischer
5b2824f788 indentation update 2014-05-21 22:18:59 +02:00
Victor Olaya
fad280edd0 [processing] rewrote saga raster calculator as individual algorithm 2014-05-21 17:35:30 +02:00
Victor Olaya
202d331abb [processing] simplified saga algorithms
Now it assumes matching grid extents and does not perform resampling
2014-05-21 17:34:32 +02:00
Victor Olaya
9b277cb040 [processing] refactoring to put all algorithm providers under a single module 2014-04-19 20:49:17 +02:00