1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-30 00:04:11 -04:00

67 Commits

Author SHA1 Message Date
Alexander Bruy
2fea23f1e5 Merge pull request from volaya/rastercalculator
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00
Alexander Bruy
77bbeaa99f fix loading of models containing user-defined scripts 2016-12-05 10:31:38 +02:00
volaya
a7f9018e11 [processing] added native raster calculator algorithm
Conflicts:
	python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
2016-12-01 12:52:45 +01:00
nirvn
be2223fed3 [processing] check for parent alg dependencies in hasDependencies() 2016-11-11 13:08:01 +07:00
nirvn
bec379249e [processing] sort model input parameters to avoid random ordering 2016-10-31 10:53:13 +07:00
nirvn
bd7149ce16 [processing] fix broken modeler under pyqt5/python3 (fixes ) 2016-10-21 10:11:22 +07:00
volaya
22a6c473d9 [processing] alternative way of copying algorithms in a model.
should fix  and 
2016-10-18 16:55:19 +03:00
volaya
eb5fc90f44 [processing] dont use hidden outputs when exporting to python or displaying alg help
fixes 

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
cdcc01e97c [processing] removed debug lines 2016-10-05 12:38:22 +02:00
volaya
e08fdaa444 [processing] support for expressions in numerical values in modeler
includes cleanup of modeler, to adapt to latest changes in parameters architecture
2016-10-05 12:38:11 +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
40de15cc56 [processing] add missed CRS parameter to modeler (refs ) 2016-08-05 12:55:25 +03:00
rldhont
8592a7e3ac [Processing] Add shortHelp for Scripts, Models and R
And enhance getParameterDescriptions
2016-05-28 09:32:49 +02:00
rldhont
53089188d5 [BUGFIX][Processing] Add getParameterDescriptions to R, Model and Script algo 2016-05-26 16:53:10 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +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
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
rldhont
4a11a1a319 [Processing][Modeler] Use default value instead of None
In Modeler algorithm, when a algorithm's parameter was not defined it's value was set to None.
Before the possibility to defined optional parameters, None value is equal to set value to default one.
Now, it's important to use default value instead of None.
2016-04-27 10:13:56 +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
volaya
b3b41015a1 Merge pull request from Gustry/processing-error
[Bugfix] [Processing] Catch some python errors in batch mode
2016-03-03 13:15:30 +01:00
Alexander Bruy
317639f1e0 [processing] allow to use ParameterPoint in Graphical Modeler 2016-02-29 12:41:27 +02:00
Alexander Bruy
30a738f981 [processing] improve handling of the obsolete models (fix ) 2016-02-18 15:55:01 +02:00
Etienne Trimaille
3039f13ea9 improve error message in the modeler 2016-02-17 19:44:05 +01:00
volaya
f762380835 [processing] more checks before running model 2016-01-19 12:34:59 +01:00
Matthias Kuhn
4f2da483ac Indentation update 2015-12-15 16:24:12 +01:00
volaya
95b92c7960 [processing] correctly export multiline strings as python parameters from modeler
fixes 
2015-12-15 14:57:29 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
09f87c952a [processing] remember params/outputs collapsed stated when editing alg in modeler
fixes 
2015-10-06 16:06:37 +02:00
volaya
1d67ce7ca7 [processing] fixed ordering of outputs in models
fixes 
2015-09-30 09:44:28 +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
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
volaya
6fbb2d6c26 Merge pull request from radosuav/processing_models
[Processing]  Improve the robustness of models...
2015-05-06 14:34:42 +02:00
rldhont
f7e46ee59a Removing print from help method
I found a print in ModelerAlgorithm help method that causes some trouble
 for PyWPS-QGIS-Processing. I removed it.
2015-04-28 18:30:48 +02:00
radosuav
d1985b3d34 [Processing] Improve the robustness of models when the parameters in the included algorithms change 2015-03-25 17:46:30 +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
volaya
484e16254d [processing] fixed help in models 2014-11-23 14:04:06 +01:00
volaya
530b15a0e1 [processing] provide non-random default ordering of parameters in models
Fixes 
2014-11-21 07:21:47 +01:00
volaya
f661f80bdb [processing] fixed wrong call to self.tr from static method 2014-10-07 12:02:30 +02:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
f935316882 [processing] add full i18n support (still needs some work to mark all
strings as translatable)
2014-10-04 11:36:38 +03:00
volaya
1cd0c43f4f [processing] fixed how models read help info 2014-09-24 10:44:13 +02:00
volaya
887469643f [processing] added support for old model file format 2014-08-22 12:29:04 +02:00
volaya
8a2f1505d5 [processing] renamed Input and Output classes in modeler, to avoid confusion 2014-08-14 10:58:53 +02:00