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
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
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
Nyall Dawson
7e0cd9af3d
Fix QgsFields::lookupField returns bad result for empty field name
...
QString::isNull vs ::isEmpty strikes again!
2016-11-24 11:17:03 +10:00
Germán Carrillo
dccd00dcb1
Adding test to Line Intersection algorithm
...
Since both input and intersect layers have only one field (fid), the result is the same for both (existing and new) tests. The result now comes with the intersect field, renamed to fid_1 (previously not kept).
2016-11-24 10:42:24 +10:00
Germán Carrillo
193d400d29
Make QGIS Line Intersections algorithm able to keep all attributes.
2016-11-24 10:41:11 +10:00
Nyall Dawson
d44bc112e0
[processing] Fix file format combo showing formats in random orders
2016-11-24 09:51:09 +10:00
Nyall Dawson
1e661e37b9
[FEATURE][processing] New 'drop geometries' algorithm
...
Simply removes any geometries from an input layer and returns
the features with attributes only
2016-11-24 09:41:11 +10:00
Nyall Dawson
38a0ea0844
Small tweaks to processing split algorithm, add tests
2016-11-24 08:48:37 +10:00
Bernhard Ströbl
0e2ef065d7
[processing] [FEATURE] SplitWithLines
...
Rename algorithm SplitLinesWithLines to SplitWithLines
Accept polygon as input, too
Use only selected lines to split with (if processing is set to use selection only)
Issue log message if trying to split multi geometries
Update help
2016-11-24 08:05:16 +10:00
Nyall Dawson
986acab9cc
[processing] Tweak test precision
2016-11-24 07:54:40 +10:00
Nyall Dawson
98392bda07
Add another .aux.xml to .gitignore
2016-11-24 07:53:32 +10:00
Nyall Dawson
d742478ac9
[processing] Add tests for create points from table alg
2016-11-24 07:52:53 +10:00
Nyall Dawson
69e8e4a3c2
[processing] Allow alg tests to use ParameterTable inputs
2016-11-24 07:52:17 +10:00
Matthias Kuhn
7726205dc3
Followup f3482d2: mapThemeStyleOverrides is plural
2016-11-23 15:51:10 +01:00
Matthias Kuhn
73d9c4a295
Some more adjustments for the attribute type dialog
2016-11-23 15:28:50 +01:00