Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
Nyall Dawson
86e1138a04
[processing] Correctly handle when no feedback object is passed
2017-01-11 11:11:11 +10: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
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
Alexander Bruy
50a785bdd6
[processing] indentation update
2016-12-01 12:53:57 +01:00
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
Nyall Dawson
3550cc99a6
[processing] Allow algorithms to specify tags
...
Tags are used while searching in the toolbox. This should help with
finding algorithms when the exact name is not known, eg
you could search for "envelope" or "bounds" and find the
'Polygon from Layer Extent' algorithm.
At the moment it's quite hard to discover algorithms which exist
when you don't know what their called and have to instead search
for every possible naming variant which could exist...
2016-11-08 10:15:31 +10:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
volaya
eb5fc90f44
[processing] dont use hidden outputs when exporting to python or displaying alg help
...
fixes #14998
Conflicts:
python/plugins/processing/core/GeoAlgorithm.py
2016-10-18 16:55:19 +03:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
Alexander Bruy
3407ced90e
fix indentation
...
Conflicts:
python/plugins/processing/gui/BatchInputSelectionPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
dfb4cdd34b
[processing] moved output value evaluation to output object itself
2016-10-05 12:38:20 +02:00
volaya
e353d226a8
[processing] evaluate parameters before executing algorithm
...
This allows a better use of expressions
2016-10-05 12:35:02 +02: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
volaya
b298c76ee4
[processing] implemented parameter widget wrappers
...
Conflicts:
python/plugins/processing/core/GeoAlgorithm.py
python/plugins/processing/gui/ExtentSelectionPanel.py
python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
arnaud.morvan@camptocamp.com
c369710667
Calculate min coverage on execution
2016-09-04 17:58:17 +02:00
Alexander Bruy
acdde31b3d
[processing] more cleanups (follow up 06c4b07222)
2016-08-05 15:05:36 +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
e6b76c4d7b
[processing] cleaning and restructuring
...
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
volaya
a19741b297
[processing] log errors in hook scripts
2016-05-19 13:45:18 +02:00
arnaud.morvan@camptocamp.com
fc5f70c6f5
Processing - Support tables with no geometry in OutputVector
2016-05-17 14:16:15 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
rldhont
e765bb6dd1
[Processing] Fix when iface is None
2016-04-20 14:52:46 +02: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
Matthias Kuhn
01cc455d2d
[processing tests] Improve test debug messages
2016-03-15 11:08:46 +01:00
Matthias Kuhn
e6785ba513
Be more verbose on exceptions in geoalgorithms
2016-03-10 12:14:29 +01:00
Matthias Kuhn
61366583b1
[processing] Fix default argument is SilentProgress for GeoAlgorithm.execute()
2016-03-10 12:14:28 +01:00
Matthias Kuhn
b956886e81
[processing] Initialize icons before first usage
2016-02-04 13:35:16 +01:00
Alexander Bruy
908a380241
[processing] fix deprecation warnings
2016-01-20 16:39:13 +02: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
8d8fac46e7
[processing] do not format errors before sending to log
2015-11-06 11:36:25 +01:00
Juergen E. Fischer
ca697dbaf2
[processing] update algorithm help link ( fixes #13506 )
2015-10-06 00:20:30 +02:00
volaya
56af1068db
[processing] recover previous value of formula in modeler calculator
...
#fixes 11539
2015-09-30 10:11:46 +02:00
volaya
216e461246
[processing] correctly build multiple input value string
...
It was wrongly using comma instead of semicolon to separate values
Fixes #13114
2015-09-24 13:10:43 +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
Juergen E. Fischer
66a3d02240
integrate processing into update_ts.sh (also includes all translations
...
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
Etienne Trimaille
e751592a4d
small python change
2015-07-09 14:41:00 +02:00
volaya
2083d6db25
[processing] allow using layer names as input values
2015-07-03 08:18:57 +02:00
volaya
83f3a5893c
[processing] added check to ensure input layers are valid
2015-06-23 09:07:52 +02:00
volaya
92cf321d13
[processing] wait until file conversion is finished
2015-06-22 09:11:00 +02:00
volaya
83782cc4c8
[processing] fixed conversion to unsupported raster formats after running algorithm
2015-06-22 07:44:21 +02:00
volaya
7a35d62b09
[processing] add help links for gdal/ogr alga
2015-05-21 15:44:00 +02:00
volaya
f1dc58ce01
[processing] fixed saga help links
2015-05-21 15:44:00 +02:00