42869 Commits

Author SHA1 Message Date
Alexander Bruy
04a8418a32 add tests for distance matrix algorithm 2017-10-24 15:27:23 +03:00
Alexander Bruy
c64f03d0a4 [processing] keep column names in standard distance matrix (fix #17150) 2017-10-24 15:27:22 +03:00
Sandro Mani
bb21395e3d Make QgsVScrollArea inherit QgsScrollArea 2017-10-24 09:35:28 +02:00
Harrissou Sant-anna
cff3569ca1 Typo fixes 2017-10-24 16:43:08 +11:00
lbartoletti
9388717843 [needs-docs][feature] New button for empty the composer table (#5407)
Adds a button to empty a composer table. Useful when you have a table
with a lot of columns and you want only a few.

Also change table  from SingleSelection to MultiSelection and allow to
delete selected rows and move selections up and down.
2017-10-24 16:41:04 +11:00
Nyall Dawson
8514fa3675 Fix build warning
In related news, Travis is no longer failing builds which
throw new warnings
2017-10-24 11:41:18 +10:00
Sandro Mani
ea0e09b322 Merge pull request #5410 from manisandro/geomchecker
[FEATURE][Geometry checker] Support checking multiple layers at once, add new checks
2017-10-23 23:32:45 +02:00
Nyall Dawson
46a6f25d6f Merge pull request #5418 from nyalldawson/from_polyline
Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
2017-10-24 08:21:30 +11:00
Etienne Trimaille
2f44de0e4f [FEATURE] Download a file in Processing 2017-10-24 08:12:49 +11:00
Sandro Mani
8421a7e0d8 [Geometry checker] Add some debug code 2017-10-23 22:40:03 +02:00
Sandro Mani
2dccc3c152 [Geometry checker] Remove unused includes 2017-10-23 22:31:21 +02:00
lbartoletti
977ce426db [FEATURE][processing]Transect processing
Adds a C++ version of the "ststion lines" plugin as a
new processing algorithm for creating transect lines.
2017-10-24 05:42:03 +11:00
Gary Sherman
65c6974d1d Remove invalid decode statements from plugin installer 2017-10-23 09:04:37 -08:00
Sandro Mani
9a2393ea92 [Geometry checker] Qt < 5.9 compatibility fix 2017-10-23 17:25:08 +02:00
Sandro Mani
972d14f6c7 [Geometry checker] Exclude from sip bindings 2017-10-23 17:25:08 +02:00
Sandro Mani
1f300cfa2e Add QgsVScrollArea sip bindings 2017-10-23 17:25:08 +02:00
Sandro Mani
2c36a51fa6 Add missing QgsVScrollArea documentation 2017-10-23 17:25:08 +02:00
Sandro Mani
ecd951dc5c [Geometry checker] Try harder to match old errors to those found after a recheck 2017-10-23 17:25:08 +02:00
Sandro Mani
8cefc6561a [Geometry checker] Don't recheck any features if fixed error resulted in no changes 2017-10-23 17:25:08 +02:00
Sandro Mani
e089b3ba6a [Geometry checker] Only add to feature pool spatial indices features which are to be processed 2017-10-23 17:25:08 +02:00
Sandro Mani
e00f767576 [Geometry checker] Fix possible crash in QgsGeometryCheckerFixSummaryDialog::addError 2017-10-23 17:25:08 +02:00
Sandro Mani
50e1c7a70a [Geometry checker] Disable sorting in QgsGeometryCheckerFixSummaryDialog::addError for better performance 2017-10-23 17:25:08 +02:00
Sandro Mani
5de0c8037a [Geometry checker] Fix incomplete QgsGeometryOverlapCheckError::handleChanges 2017-10-23 17:25:08 +02:00
Sandro Mani
9218afd3af [Geometry checker] Don't make the layer-feature iterator return features without valid geometry 2017-10-23 17:25:08 +02:00
Sandro Mani
f507246d3b [Geometry checker] Don't recollect errors with empty recheck list 2017-10-23 17:25:08 +02:00
Sandro Mani
15b5da8fea [Geometry checker] Fix incorrect change parametrization in QgsGeometryCheck::replaceFeatureGeometryPart 2017-10-23 17:25:08 +02:00
Sandro Mani
f0116b493e [Geometry checker] Use reduced tolerance when attempting to combine two geometries, and ensure that the output is a single-part geometry 2017-10-23 17:25:08 +02:00
Sandro Mani
fde740a3ba Re-add QgsGeometryEngine::combine taking a list of QgsAbstractGeometries 2017-10-23 17:25:08 +02:00
Sandro Mani
efc00c38a1 [Geometry checker] Fix features not correctly removed from QgsFeaturePool spatial index 2017-10-23 17:25:08 +02:00
Sandro Mani
084660a47f [Geometry checker] More change tracking tests 2017-10-23 17:25:08 +02:00
Sandro Mani
8a56166819 [Geometry checker] Remove debug print 2017-10-23 17:25:08 +02:00
Sandro Mani
cc9a2b336f [Geometry checker] Fix incorrect logic in QgsGeometryCheckError::handleChanges 2017-10-23 17:25:08 +02:00
Sandro Mani
876418c44e [Geometry checker] Add more fixError tests 2017-10-23 17:25:08 +02:00
Sandro Mani
3b6a0e2a17 [Geometry checker] Fix crash in QgsGeometryCheckerResultTab::addError if layerId is empty 2017-10-23 17:25:08 +02:00
Sandro Mani
5b2297f73c [Geometry checker] Fix incorrect ring index in QgsGeometrySelfIntersectionCheck::fixError 2017-10-23 17:25:08 +02:00
Sandro Mani
737d5135cc [Geometry checker] Use centroid of actual hole to report error in QgsGeometryHoleCheck 2017-10-23 17:25:08 +02:00
Sandro Mani
edf563b414 [Geometry checker] Fix crashes in QgsGeometryGapCheck::mergeWithNeighbor due to using wrong layerId 2017-10-23 17:25:08 +02:00
Sandro Mani
4a6cdbe36b [Geometry checker] Add a first series of fixError tests 2017-10-23 17:25:08 +02:00
Sandro Mani
8f343a9114 [Geometry checker] Fix wrong obsoletes test in QgsGeometryContainedCheck::fixError 2017-10-23 17:25:08 +02:00
Sandro Mani
0ffd00da98 [Geometry checker] Add TestQgsGeometryChecks::createTestContext variant which copies the testdata to a temporary dir 2017-10-23 17:25:08 +02:00
Sandro Mani
d71f62c711 [Geometry checker] Make TestQgsGeometryChecks::searchCheckErrors return the list of matching errors instead of just the number of matches 2017-10-23 17:25:08 +02:00
Sandro Mani
1372536297 [Geometry checker] Add follow boundaries check 2017-10-23 17:25:08 +02:00
Sandro Mani
1e499558a3 [Geometry checker] Fix broken LayerFeature geometry transform 2017-10-23 17:25:08 +02:00
Sandro Mani
bd44483f83 [Geometry checker] Fix type check factory 2017-10-23 17:25:08 +02:00
Sandro Mani
c44fa1da5c [Geometry checker] Finish gap check test 2017-10-23 17:25:08 +02:00
Sandro Mani
6b3309cd45 [Geometry checker] Add more tests 2017-10-23 17:25:08 +02:00
Sandro Mani
f48cf24956 [Geometry checker] Fix incorrect free in gap check 2017-10-23 17:25:08 +02:00
Sandro Mani
85f8c25fcf [Geometry checker] Specify part in error parametrization in line and line-layer intersection checks 2017-10-23 17:25:08 +02:00
Sandro Mani
3cc7272770 [Geometry checker] Don't report segment lengths smaller than checker precision, they are either duplicate nodes or degenerate geometries 2017-10-23 17:25:08 +02:00
Sandro Mani
0f68737976 [Geometry checker] Simplify point in polygon check 2017-10-23 17:25:08 +02:00