Nyall Dawson
54124bd0aa
Restore batch algorithm mode following new processing API
2017-06-13 12:32:30 +10:00
Nyall Dawson
189f804714
Adapt more code to c++ API
2017-06-06 07:41:19 +10:00
Nyall Dawson
ef59d0c454
Port parameter checking to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
fb811766f8
Add framework for algorithm outputs
...
This somewhat changes the meaning of outputs from processing 2.x.
In 2.x processing outputs were used both as a method of specifying
inputs to algorithms (file paths to destination layers created
by the algorithm) AND pure outputs (such as statistics calculated
by the algorithm).
This is now split. The old input-type-outputs (destination layers)
are now input parameters (since the parameter value IS an input to the
algorithm). To differentiate them from parameters indicating pure
input layers a new "isDestination()" method was added to
QgsProcessingParameterDefinition.
Output definitions are now purely indications of values CREATED
by the algorithms. Suitable candidates are the existing calculated
stats and actual file path/URI of any layers created by the algorithm.
Moving forward we should ensure all algorithms output as much
useful information as possible - e.g. number of features processed,
number of skipped features, count null geometries encountered, etc...
2017-06-06 07:41:19 +10:00
Nyall Dawson
03e40f7497
[processing] Remove all remaining algorithm copies
...
Algorithms are no longer copied - just a single const instance
of each algorithm is used
2017-06-06 07:41:19 +10:00
Nyall Dawson
b64a71df61
Port algorithm countVisibleParameters to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
ae97c333d6
Revert "Port algorithm countVisibleParameters to c++"
...
This reverts commit c3c694f8ccfbe0b64df14365f950f5895968a66a.
2017-05-15 10:24:38 +10:00
Nyall Dawson
c3c694f8cc
Port algorithm countVisibleParameters to c++
2017-05-15 08:44:28 +10:00
Alexander Bruy
6fe459de14
[processing] remove extra quotes when restoring batch process from file
...
(fix #16309 )
2017-05-13 11:14:17 +03: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
arnaud.morvan@camptocamp.com
c43b04ffff
Fix modeler and batch file dialog
2017-02-09 11:05:09 +01: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
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
arnaud.morvan@camptocamp.com
322a565b8b
[processing] Remove ParameterGeometryPredicate
2016-12-12 15:21:16 +01:00
Nyall Dawson
9cd29f39d8
[processing] Fix batch panel under Qt5
2016-11-03 16:33:09 +10: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
arnaud.morvan@camptocamp.com
c010a035c3
Call postInitialise in BatchAlgorithmDialog
2016-10-05 12:38:46 +02:00
volaya
5464c4501b
[processing] use QgsMessage bar in algorithm dialogs
2016-10-05 12:38:30 +02:00
volaya
c491c01266
[processing] changes to allow custom parameter dialog adapt to new parameter architecture
2016-10-05 12:38:21 +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
arnaud.morvan@camptocamp.com
fbab369c0d
Use boolean wrapper in batch algorithm dialog
...
Conflicts:
python/plugins/processing/gui/BatchPanel.py
2016-10-05 12:34:53 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
volaya
8de9757f54
Merge pull request #3456 from arnaud-morvan/processing_apply_use_coverge_on_execution
...
[Processing] Calculate min coverage on execution
2016-09-05 09:03:06 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
arnaud.morvan@camptocamp.com
c369710667
Calculate min coverage on execution
2016-09-04 17:58:17 +02:00
arnaud.morvan@camptocamp.com
f0413e36d6
Do not set "None" value in batch panel string widgets
2016-08-23 17:52:10 +02:00
Juergen E. Fischer
797826ea5b
spelling fixes
2016-05-31 03:36:27 +02:00
Matthias Kuhn
abfd7740bd
Fix qgis.PyQt compatibility imports
2016-04-29 14:10:41 +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
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
volaya
b3b41015a1
Merge pull request #2804 from Gustry/processing-error
...
[Bugfix] [Processing] Catch some python errors in batch mode
2016-03-03 13:15:30 +01:00
Alexander Bruy
58d40d16fa
[processing] add ParameterPoint for selecting point on canvas ( fix #5733 )
2016-02-29 12:41:26 +02:00
Etienne Trimaille
da65e54c5d
catch some python error in batch processing
2016-02-17 11:53:36 +01:00
Nyall Dawson
7e90d5773f
Whitespace fix
2016-01-19 08:42:02 +11:00
volaya
71b7ea9f93
[processing] allow saving and loading batch processing configurations
2016-01-15 11:27:39 +01: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
Salvatore Larosa
9838ea3dbd
switch all png icons to svg ones for plus and minus signs:
...
followup 33b49ff and a7191ab
2015-06-22 16:22:56 +02:00
volaya
b4edf8af88
[processing] better sizing of columns in batch interface
...
fixes #12706
2015-06-22 12:57:38 +02:00
Alexander Bruy
d8e1cf30af
[processing] load UI files dynamically
2015-05-19 15:30:26 +03:00
Alexander Bruy
30dbd8fd5b
[processing] drop resources.qrc and load images dynamically. Also remove
...
unused images
2015-05-19 15:30:25 +03:00
Nyall Dawson
7b57cafb5a
Standardise use of red minus icon ( fix #12425 )
2015-03-23 18:21:47 +11:00
arnaud.morvan@camptocamp.com
84936e59e7
Add ParameterGoemetryPredicate and use it in XxxByLocation algorithms
2015-02-06 15:00:18 +01:00
volaya
e219a144bf
Merge pull request #1886 from radosuav/processing_fix
...
[Processing] Don't fill empty fields in batch mode with 0.
2015-02-06 08:18:52 +01:00
radosuav
f6d533a807
[Processing] Don't fill empty fields in batch mode with 0.
...
Should fix #12119
2015-02-05 15:03:01 +01: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