53 Commits

Author SHA1 Message Date
Alexander Bruy
0d1c9a31bb [processing] implement missed functionality from Raster terrain analysis
plugin
2016-12-19 09:49:49 +02:00
Juergen E. Fischer
8d8bbabf81 indentation update 2016-12-14 14:13:31 +01:00
volaya
e41c2a7b05 [processing] allow saving custom predefined expressions 2016-12-08 10:12:23 +01:00
Alexander Bruy
897d27fa5c fix import 2016-12-07 15:39:16 +02:00
volaya
a8dd95addd Fixed wrong import 2016-12-07 13:56:37 +01:00
volaya
bb7b6d41bc [processing] added predefined expressions to raster calculator 2016-12-07 13:12:42 +01:00
Nyall Dawson
75f51bc16e [processing][heatmap] Fix alg in batch mode, mark some params as advanced 2016-12-07 13:50:12 +10:00
Nyall Dawson
bef5b5ed68 [processing][heatmap] custom parameter/widget for output resolution
Matches current behaviour of c++ heatmap plugin
2016-12-07 12:23:58 +10:00
Alexander Bruy
781ebd9a69 [processing] xrange() removed, should use range() instead 2016-12-01 12:53:57 +01:00
Alexander Bruy
3e7b26233e [processing] replace deprecated % operator with format() 2016-12-01 12:53:57 +01:00
Alexander Bruy
50a785bdd6 [processing] indentation update 2016-12-01 12:53:57 +01: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
volaya
72fddb8b5e Merge pull request #3470 from arnaud-morvan/refactor_fields_context_generator
[Processing] Fix processing refactor fields algorithm using expression context generators
2016-11-08 10:45:32 +01:00
arnaud.morvan@camptocamp.com
78236c0be1 Use contextGenerator in refactor fields algorithm 2016-11-06 18:11:15 +01:00
arnaud.morvan@camptocamp.com
93be141af5 [processing] Fix import error in FieldsMappingPanel 2016-11-06 13:03:06 +01:00
volaya
b58229009b indentation fix 2016-10-27 14:36:31 +02:00
volaya
472a550168 [processing] fixed field loading in field calculator
fixes #15767

Conflicts:
	python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py
2016-10-27 14:36:30 +02:00
Nyall Dawson
3cc9b5d962 Indentation 2016-10-22 09:03:24 +10:00
volaya
128da3002a [processing] better update of expression widget when layer is changed in fields calculator 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
arnaud.morvan@camptocamp.com
a38c13d523 Create FieldMappingWrapper 2016-10-05 12:38:40 +02:00
volaya
c491c01266 [processing] changes to allow custom parameter dialog adapt to new parameter architecture 2016-10-05 12:38:21 +02:00
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Nyall Dawson
7da8110536 Remove deprecated methods from QgsExpression
Now all evaluate/prepare/etc methods must be called using QgsExpressionContexts

Also remove most remaining traces of special variables. This brings some
user facing changes, such that existing expressions may need to be
updated if they used these old special variables (eg $scale,
$feature). These changes are noted in doc/qgis3_user_changes.dox
so that we can include them in the release notes.
2016-08-10 17:55:06 +10:00
Nyall Dawson
c1649ebef4 [processing] pendingFields() -> fields()
Does the same thing, but pendingFields() is ugly
2016-08-05 06:31:07 +10:00
nirvn
14342ce65a [processing] fix missing quotes to field name in refactor fields 2016-06-05 09:32:51 +07:00
arnaud.morvan@camptocamp.com
7847f971d4 Processing - Adapt RefactorFields to work on tables as well as vector layers 2016-05-17 14:16:16 +02:00
Harrissou Sant-anna
cf45742fe8 use same icons as in other dialogs for this task 2016-05-09 07:02:30 +02:00
Harrissou Sant-anna
af73c3dd58 replace icon 2016-05-02 17:22:47 +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
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
Nyall Dawson
d32c41a60e [processing] Fixes for field calculator and field mapper
- respect project distance, area and ellipsoid settings
- ensure expression variables are correctly evaluated
2016-02-28 12:45:43 +11:00
arnaud.morvan@camptocamp.com
7e2ffd46d8 fixup! Include parameterselection dropdown contents in processing translations 2015-10-12 09:30:25 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
volaya
5013bb5600 [processing] fixed using temporary files in field calculator 2015-06-22 09:52:42 +02:00
Alexander Bruy
dbf026d3c6 [processing] add recent expressions to Fields Calculator algorithm (fix #12587) 2015-05-20 11:08:42 +03:00
Alexander Bruy
d8e1cf30af [processing] load UI files dynamically 2015-05-19 15:30:26 +03:00
Giovanni Manghi
8a9893428e fixes processing refactor fields for certain datatypes 2015-05-07 11:27:48 +01:00
volaya
55108ae709 [processing] enabled inut checks for field calculator algorithm
fixes #12586
2015-04-28 09:19:58 +02:00
arnaud.morvan@camptocamp.com
3c938275eb Fix #12182 - In FieldsMapper, emit commitData on expression editor change 2015-02-11 15:46:51 +01:00
arnaud.morvan@camptocamp.com
ed94aff17d Fix #12183 - avoid error message in fieldsmapper when no field type selected 2015-02-11 14:34:12 +01:00
Juergen E. Fischer
f76d7301a3 indentation update/fix (followup 9ab22bd) 2015-02-11 13:49:07 +01:00
arnaud.morvan@camptocamp.com
9e51488a88 Create FieldMapper GeoAlgorithm 2015-02-06 16:10:14 +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
df9372a85b [processing] better behaviour for fields calculator custom dialog 2014-11-21 09:10:08 +01:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00