184 Commits

Author SHA1 Message Date
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
Giovanni Manghi
e9e4954c58 Processing: remove wrong/non mandatory default extent for raster analysis 2016-02-09 19:37:00 +00:00
volaya
964ae1ff04 [processing] fixed typo in saga supported versions 2016-02-08 08:45:32 +01:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
volaya
931ca4d6d6 [processing] indentation fixes 2016-01-08 12:52:19 +01:00
Alexander Bruy
4137437f2c PEP8 fixes 2016-01-08 10:32:43 +02: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
e0a557a9c8 [processing] added AllowUnmatching tag to SAGA 'Add grid values to...' algorithm 2016-01-08 08:14:57 +01:00
Alexander Bruy
b207268e69 add missed license headers in Processing files 2016-01-07 17:52:49 +02:00
Matthias Kuhn
0b0c413f3a Add Saga 2.2.2 descriptions 2015-11-18 08:14:42 +01:00
Giovanni Manghi
5065b80042 fix SAGA 2.2.2 kriging tools 2015-11-13 19:10:26 +00:00
volaya
358e0f70bb [processing] fixed wrong param name in SAGA 2.2.0 regression kriging 2015-11-13 13:04:17 +01:00
alexbruy
c483411034 Merge pull request #2447 from NaturalGIS/fix_saga_220_kriging
[processing] fix SAGA 2.2.0 kriging
2015-11-12 17:37:01 +02:00
Giovanni Manghi
19376770af missing parameter 2015-11-12 14:28:03 +00:00