35739 Commits

Author SHA1 Message Date
drnextgis
b59fc04b0b Fix mapping for 2to3 fix_pyqt 2016-12-01 14:42:31 +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
Larry Shaffer
3f50e8356e [processing] Ensure reading of shortHelp yaml files as UTF-8
On macOS 10.11 with Py 3.5.2, .yaml files defaulted to ASCII and failed.
2016-11-24 09:44:33 -07:00
Larry Shaffer
33120528d0 Add GRASS plugin CMake macro to find extra includes of GRASS compilation
Such includes may need found again when including some GRASS headers.
2016-11-24 09:42:32 -07:00
Larry Shaffer
c8eca29d1d Add default sip directory to search for Qsci sip files
Handles instance where Qsci directory is outside of PyQt5 sip directory.
The default sip directory is logical additional place to search.
2016-11-24 09:42:32 -07:00
Larry Shaffer
d187dd35cf Flip CMake finds for Qt-based frameworks, to ensure Headers are searched
Search for libraries first, before includes, so any frameworks found can
have their Headers subdirectory added to search paths for includes.

- Reintroduce qwt and qscintilla2 base library names for searching.
2016-11-24 09:42:32 -07:00
Alexander Bruy
95072e9bfd Merge pull request #3802 from alexbruy/processing-scripts
[processing] script editor UI improvements
2016-11-24 14:36:57 +02:00
Alexander Bruy
f83351be25 [processing] remove statusbar from script editor 2016-11-24 12:41:04 +02:00
Alexander Bruy
c3ed39061d [processing] improve script editor dialog
Use QMainWindow instead of QDialog, add normal toolbar instead of
QToolButtons. Also fix some issues caused by Qt5 switch.
2016-11-24 12:34:59 +02:00
Alexander Bruy
fdc0a3f874 Merge pull request #3800 from nirvn/processing_modeler_panels
[processing] upgrade modeler to make use of qgsdockwidgets
2016-11-24 10:49:36 +02:00
nirvn
ac721d3344 [processing] python3/pyqt5 fixes for get scripts and models dialog 2016-11-24 09:45:47 +01:00
nirvn
a6ebe830b0 [processing] upgrade modeler to make use of qgsdockwidgets 2016-11-24 11:59:19 +07:00
Nyall Dawson
772b769403 [processing] Hide redundant grid creation algorithms
Condenses the duplicate grid algorithms into single algorithms
(one for line, one for polygon), taking the best bits from both
and adding tests
2016-11-24 13:18:47 +10:00