26 Commits

Author SHA1 Message Date
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
b30a1ff65d [FEATURE][processing] New universal 'basic stats for field' algorithm
Replaces the existing 'Basic Stats for Numeric Fields' and
'Basic Stats for String Fields' algorithms and adds support
for date/time/datetime fields.

Having a single unified algorithm allows more flexible models
where a field type may not be known in advance.

Deprecate existing basic stats algorithms
2016-12-01 16:27:20 +10:00
Nyall Dawson
b0662f908a [processing] Basic stats algs should allow non-spatial tables 2016-11-30 15:03:20 +10:00
Nyall Dawson
e272bb3e9c [processing] Optimise basic stats numbers algorithm 2016-11-30 12:35:20 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03: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
Matthias Kuhn
eb8167d920 [processing] Remove various unused imports and variables 2016-03-15 11:55:05 +01:00
Alexander Bruy
11a9a66104 [processing] add icons for fTools and GDALTools algorithms 2016-03-01 15:57:31 +02:00
Matthias Kuhn
3e5e108b1a [processing] Make basic statistics translatable 2016-02-26 08:58:30 +01:00
Matthias Kuhn
f6995646f2 [processing] Add some newlines to the output of basic stats 2016-02-21 13:15:09 +01:00
Alexander Bruy
d8a5e0fc45 [processing] correctly handle zero in Basic statistics alg (fix #14331) 2016-02-18 18:52:09 +02:00
Alexander Bruy
e7fe61e6b9 [processing] load algorithms only when requred 3rd party modules are
available or compatible QGIS version is used

Some housekeeping in QGIS algorithms provider
2016-02-17 14:46:02 +02:00
Alexander Bruy
4451f29846 [processing] add layer and field names to the statistics output (fix #10089) 2016-01-15 19:29:39 +02:00
Alexander Bruy
8d2f7bb2ee [processing] correctly write html output in utf-8 2016-01-08 16:50:07 +02:00
Nyall Dawson
e15962eea9 [processing] Use QgsStatisticalSummary for statistic calculations
For BasicStatisticssNumbers and StatisticsByCategories algorithms.
Adds extra stats (minority, majority, 1st/3rd quartile and IQR) while
avoiding custom statistics calculation code.
2015-11-16 15:04:34 +11: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
pcav
2004f22ac5 Uniform and informative output names for Processing (QGIS, final) 2015-05-22 16:39:20 +02: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
Alexander Bruy
ad758aa8db [processing] i18n for qgis provider 2015-01-17 11:24:54 +02:00
Anita Graser
4a639ad984 fixed value used before assignment error 2014-10-09 11:16:47 +02:00
Alexander Bruy
1b8597306b [processing] put all qgis algs in single directory 2014-10-03 15:47:44 +03:00