35750 Commits

Author SHA1 Message Date
volaya
5c6c18caad [processing] fixed expected test hashes 2016-12-05 14:59:26 +01:00
volaya
420b7ec902 [processing] removed incompatible basestring check 2016-12-01 14:37:36 +01:00
Alexander Bruy
b85b5e75e7 [processing] values() is a dict view object, not list 2016-12-01 12:53:57 +01: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
Alexander Bruy
f002321be1 [processing] iteritems() removed, should use items() instead 2016-12-01 12:53:57 +01:00
volaya
40053f81f2 renamed ParameterExpression in raster calculator to avoid name clash 2016-12-01 12:53:57 +01:00
volaya
44f963f60d [processing] removed debug line 2016-12-01 12:53:57 +01:00
volaya
8bd0dd5aea [processing] added tests for raster calculator
Conflicts:
	python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
2016-12-01 12:53:56 +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
fcc343724e [processing] some fixes and changes in parameters and parameters panel 2016-12-01 12:50:27 +01:00
Nyall Dawson
a17facf6cb Merge pull request #3816 from nyalldawson/processing_datetime
[processing][FEATURE] New unified basic stats algorithm
2016-12-01 20:37:15 +10:00
volaya
2c4eb3cb8c [processing] allow selecting multiple file in ‘add script from file’ 2016-12-01 11:29:49 +01:00
Harrissou Sant-anna
91d0f1ebff Add new tips on startup, fix some outdated (#3806)
* Add new tips on startup, fix some outdated

and emphasize some items with bold.
Sur la branche patch-1

* Improve tips

* fix quotation
2016-12-01 11:07:28 +01:00
Matthias Kuhn
149ea48e66 Merge pull request #3818 from drnextgis/2to3
Add QEventLoop to fix_pyqt
2016-12-01 09:57:48 +01:00
drnextgis
e9b835a376 Add QEventLoop to fix_pyqt 2016-12-01 15:07:14 +07: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
1ff165a32f [processing] Fix updating results panel to match selected item 2016-12-01 16:27:07 +10:00
Larry Shaffer
c42dad3b1d Fix unset variable error for CHECK_GRASS_EXTRA_INCLUDE_DIRS macro 2016-11-30 11:44:49 -07:00
Mathieu Pellerin
ae75e45d80 [symbology] migrate graduated renderer color ramp widget (#3815) 2016-11-30 16:47:23 +07:00
Nyall Dawson
ecd876a561 Implement time stats for QgsDateTimeStatisticalSummary 2016-11-30 15:51:05 +10:00
Nyall Dawson
6a457c21cc Fix QgsDateTimeStatisticalSummary handling of non-datetime values 2016-11-30 15:12:03 +10:00
Nyall Dawson
08505b388a [processing] Allow restricting fields to date/time types 2016-11-30 15:04:21 +10:00
Nyall Dawson
b0662f908a [processing] Basic stats algs should allow non-spatial tables 2016-11-30 15:03:20 +10:00
Mathieu Pellerin
9bb9b58e12 Merge pull request #3810 from nirvn/colorrampbutton
[FEATURE] color ramp button widget
2016-11-30 11:27:33 +07:00
nirvn
a755f08ba6 add test coverage for qgscolorramp's invert() function 2016-11-30 11:02:05 +07:00
nirvn
deb18c40db color ramp button widget for gradiant fill and categorized renderer 2016-11-30 11:02:05 +07:00
nirvn
fa16e3e403 [FEATURE] color ramp button widget 2016-11-30 11:02:05 +07:00
nirvn
7181cf25e8 [color ramp] implement invert() function 2016-11-30 09:57:24 +07:00
Nyall Dawson
ab29f2de28 [processing] Use QgsStringStatisticalSummary in basic stats for strings
And also further optimise the algorithm
2016-11-30 12:47:39 +10:00
Nyall Dawson
e272bb3e9c [processing] Optimise basic stats numbers algorithm 2016-11-30 12:35:20 +10:00
Nyall Dawson
a927d9743f Allow QgsStringStatisticalSummary to calculate mean string length 2016-11-30 12:03:32 +10:00
Nyall Dawson
57f17e31e2 Merge pull request #3808 from nyalldawson/processing_dupe_remove_rings
[processing] Remove duplicate fill holes algorithm
2016-11-30 09:50:57 +10:00
Nyall Dawson
6bb4934907 [FEATURE][processing] Remove duplicate create points along lines script
This functionality is duplicated by the PointsAlongGeometry algorithm

Keep the algorithm version, since it has unit tests and supports things
like progress reports.

(marked as feature for inclusion in release notes)
2016-11-30 09:35:06 +10:00
Nyall Dawson
d4c38f9277 [FEATURE][processing] Remove duplicate fill holes algorithm
The Fill_holes script is duplicated by the DeleteHoles algorithm,
and the DeleteHoles algorithm has many advantages:
- it's a full algorithm rather than a script
- uses qgis geometry classes and maintains curves/z/m
- has unit tests
- doesn't rely on non-standard external library (shapely)

(marked as feature for inclusion in release notes)
2016-11-30 09:32:57 +10:00
Nyall Dawson
5b97b4ab0b Merge pull request #3813 from rldhont/bugfix_pointdisplacement_filter_legend
[BUGFIX] Filter Legend By Map Content doesn't maintain point displacement legend
2016-11-30 05:06:51 +10:00
rldhont
4d71cf968c [BUGFIX] Filter Legend By Map Content doesn't maintain point displacement legend
Fixed #11572
Needs to be backported and adapted to version 2.14
2016-11-29 19:27:07 +01:00
Alessandro Pasotti
61b599ed0e Added histogram values to the bindings 2016-11-29 15:44:34 +01:00
borys
0ee93eece2 [bugfix] Fix broken docks customization. Fixes #8055 2016-11-29 12:38:58 +01:00
Larry Shaffer
fe8dfe1c1c Merge pull request #3803 from dakcarto/qt5py3-more-mac-fixes 2016-11-28 17:59:02 -07:00
Nyall Dawson
45a52dfacd Rename minimum area paremeter, fix docs for QgsCurvePolygon::removeInteriorRing 2016-11-29 08:43:23 +10:00
Médéric RIBREUX
c147ee2bf3 Add with .. to all subprocesses 2016-11-28 09:54:27 +01:00
Médéric RIBREUX
c3ad30da34 Fix subprocess unclosed file 2016-11-28 09:54:27 +01:00
Nyall Dawson
fef15e0165 [processing] Consolidate 'delete holes' algorithms
Copy min area parameter from 'Fill holes' algorithm to 'delete
holes' algorithm.

Also:

- make algorithm maintain z/m values
- make algorithm work with curved geometries
- add unit tests
2016-11-28 13:12:50 +10:00
Nyall Dawson
57f482e2d9 Add method to QgsGeometry to remove interior rings from a polygon
With an optional area threshold
2016-11-28 12:08:21 +10:00
Even Rouault
5ef16bf659 Fix previous commit 2016-11-25 15:45:58 +01:00
Even Rouault
3024fe701d Replace calls to the now-deprecated-in-GDAL-trunk OGRFree() by CPLFree() 2016-11-25 15:40:20 +01:00
Alexander Bruy
a1eeed4175 Merge pull request #3799 from nyalldawson/processing_grids
[processing] Unify duplicate grid creation algorithms
2016-11-25 08:24:16 +02:00
Larry Shaffer
8c8db0eb51 Ensure GRASS plugin CMake extra includes macro works for all versions 2016-11-24 23:02:24 -07:00