197 Commits

Author SHA1 Message Date
rldhont
2fe7caf787 [Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing) 2017-03-22 19:17:18 +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
0d1ab702fc processing: improve saga detection on windows 2017-02-19 22:24:25 +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
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
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
12ab928e4b Merge pull request #3918 from alexbruy/processing-providers
Processing providers updates
2017-01-05 11:02:19 +02:00
Etienne Trimaille
d9d5bf7c28 skip if the SAGA folder is not defined 2017-01-03 17:55:27 +01: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
DelazJ
c301369ebe Replace cellsize by cell size 2016-12-29 01:46:17 +01: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
Médéric RIBREUX
c147ee2bf3 Add with .. to all subprocesses 2016-11-28 09:54:27 +01: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
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +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
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
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
volaya
6c486758c2 [processing] changed saga decorated group name 2016-07-21 07:01:16 +02:00
Matthias Kuhn
f6710b0528 python3 fixes 2016-07-03 14:54:26 +02:00
Alexander Bruy
cc7eb27a27 [processing] drop WebView dependency (follow up 38f6ace4c0) 2016-05-27 20:38:51 +03:00
Giovanni Manghi
8cd6be57ed fix two SAGA statistics_grid modules 2016-05-26 14:04:29 +01:00
pcav
92604cf207 Merge branch 'master' of https://github.com/qgis/QGIS 2016-05-25 18:59:16 +02:00
volaya
9074b14a74 [processing] fix to avoid interrupted system call exceptions in mac 2016-05-23 13:25:20 +02:00
pcav
98ede7fecf Replaced Grid with Raster for coherence 2016-05-20 17:51:28 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Septen
8c9eddcdc6 Some PEP8 fixes. 2016-03-23 00:55:36 +03:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Giovanni Manghi
5c20b33a58 processing add missing saga 2.2.x shapes_polygons tools tools 2016-03-07 18:18:28 +00:00
Alexander Bruy
c51025a715 Merge pull request #2878 from NaturalGIS/processing_fix_saga_2_2_x_resampling
[processing] fix SAGA 2.2.x resampling
2016-03-07 14:42:55 +02:00
Alexander Bruy
d30ad84cda Merge pull request #2877 from NaturalGIS/processing_fix_saga_2_2_x_grid_spline
[processing] fix SAGA 2.2.x grid_spline tools
2016-03-07 14:42:26 +02:00
Giovanni Manghi
278b7f2037 processing fix SAGA 2.2.x resampling 2016-03-07 08:11:20 +00:00
Giovanni Manghi
35c81b4b40 processing fix SAGA 2.2.* grid_spline tools 2016-03-07 07:42:13 +00:00
Giovanni Manghi
6a0606b6db processing: in SAGA grid masking it is not mandatory for inputs to have the same extent 2016-03-06 18:05:14 +00:00
Alexander Bruy
6289786b86 Merge pull request #2869 from NaturalGIS/processing_fix_saga_223_changed_modules
[processing] fix/adds SAGA 2.2.3 tools
2016-03-06 13:33:17 +02:00
Giovanni Manghi
f8ea9d9268 fix/adds SAGA 2.2.3 tools 2016-03-06 10:12:39 +00:00
Alexander Bruy
dd68c33eb4 [processing] add support for ParameterPoint to major algorothm providers 2016-02-29 12:41:27 +02:00
rldhont
de581ee822 [BUGFIX][Processing] Reset SAGA InverseDistanceWeighted algorithm
Reset 2 parameters :
* SEARCH_POINTS_ALL
* SEARCH_POINTS_MAX

These parameters was defined in 2.1.2 but are available in the next version :
http://www.saga-gis.org/saga_module_doc/2.1.3/grid_gridding_1.html
http://www.saga-gis.org/saga_module_doc/2.1.4/grid_gridding_1.html
http://www.saga-gis.org/saga_module_doc/2.2.0/grid_gridding_1.html
http://www.saga-gis.org/saga_module_doc/2.2.2/grid_gridding_1.html
2016-02-25 15:09:15 +01:00
Giovanni Manghi
607642a562 Fix SAGA 2.2.3 Processing detection 2016-02-20 15:47:55 +00:00
Alexander Bruy
5c62a1750e [processing] added descriptions for SAGA 2.2.3 2016-02-18 14:57:49 +02:00
volaya
961c35aeb5 [processing] fixed exporting multiple vector layers in SAGA and GRASS algs 2016-02-15 08:25:50 +01:00
Juergen E. Fischer
62f272e44d processing: fix path setting for saga 2016-02-13 02:00:10 +01:00