41657 Commits

Author SHA1 Message Date
Nyall Dawson
dc72e140e9 Merge pull request #5193 from Gustry/layer_properties
move metadata panel to OGC server panel
2017-09-20 04:35:00 +10:00
Alessandro Pasotti
4587961607 Merge pull request #5214 from boundlessgeo/gpkg_import_master_task
Geopackage import multiple files master task
2017-09-19 15:45:25 +02:00
rldhont
f5c4fdff2e [BUFIX][Server] GetFeatureInfo on Raster Layer, fix valid identify
Manually merge to QGIS 3 from 2.18

Funded by Ifremer
2017-09-19 15:28:09 +02:00
Nyall Dawson
20e1d72007 Merge pull request #5209 from nyalldawson/geometry_coverage
[WIP] Extend geometry classes unit test coverage
2017-09-19 22:15:14 +10:00
Alessandro Pasotti
1f0e73a336 QgsGeoPackageImportTask -> QgsConcurrentFileWriterImportTask 2017-09-19 13:24:43 +02:00
Nyall Dawson
38cc5703d7 Improve test cases 2017-09-19 21:18:06 +10:00
Matthias Kuhn
8d34023d6e Merge pull request #5216 from m-kuhn/vectorFileWriter
Make error message accessible for python in vector file writer
2017-09-19 13:17:09 +02:00
Alessandro Pasotti
b0892488be Merge pull request #5212 from boundlessgeo/browser_homogenize
Geopackage: browser homogenize
2017-09-19 13:15:32 +02:00
rldhont
e05f2669f5 Merge pull request #4959 from rldhont/server-wms-configparser-getprint
[Server] WMS GetPrint refactoring
2017-09-19 13:05:34 +02:00
Nyall Dawson
6f5d9c94a6 Fix some leaks in geometry tests (valgrind noise) 2017-09-19 20:36:16 +10:00
Matthias Kuhn
d1d26e96b0
Fix test 2017-09-19 12:24:01 +02:00
Alessandro Pasotti
a5647c7016 Added documentation for QgsDataItemProviderFromPlugin constructor 2017-09-19 11:58:45 +02:00
Nyall Dawson
9526d487ad Astyle 2017-09-19 19:39:54 +10:00
Matthias Kuhn
44e32e18c0
Fix tests for new QgsVectorFileWriter python API 2017-09-19 11:00:49 +02:00
rldhont
388f8630f3 Null pointer check for the layer tree 2017-09-19 09:23:24 +02:00
Nyall Dawson
b744820bc3 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
6039e05b49 Fix some potential crashes in curve polygons 2017-09-19 17:22:33 +10:00
Nyall Dawson
e6a0af5a9b Fix crash in QgsCompoundCurve equality operator 2017-09-19 17:22:33 +10:00
Nyall Dawson
1540448334 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
9e61cd63df Move overriden methods from headers to cpp files
Since they can't be inlined anyway
2017-09-19 17:22:33 +10:00
Nyall Dawson
f387210e4a Move QgsPolygonV2 equality operators up to QgsCurvePolygon 2017-09-19 17:22:33 +10:00
Nyall Dawson
bb425e4540 Cleaner signature for QgsAbstractGeometry::closestSegment 2017-09-19 17:22:33 +10:00
Nyall Dawson
1f40f62011 Expand geometry test coverage 2017-09-19 17:22:33 +10:00
Nyall Dawson
54c988f918 Make QgsAbstractGeometry::toCurveType pure virtual, and implement
for all geometry types

Previously this method would return nullptrs for many geometry
types
2017-09-19 17:22:33 +10:00
Nyall Dawson
bb3170f557 Fix incorrect vertexAngle calculation for circular strings
Angle was always perpendicular to the tangent, instead of
tangential to the curve
2017-09-19 17:22:33 +10:00
Nyall Dawson
0fba03f816 Fix potential crash in QgsCircularString::vertexAngle 2017-09-19 17:22:33 +10:00
Nyall Dawson
773d660d24 Remove impossible to reach code 2017-09-19 17:22:33 +10:00
Nyall Dawson
7973c915f5 fixup 2017-09-19 17:22:33 +10:00
Nyall Dawson
4e3eff947c Fix crash when calculating area for invalid circular string 2017-09-19 17:22:33 +10:00
Nyall Dawson
6205ca5ef7 Fix invalid return from QgsCircularString::pointN with negative indices 2017-09-19 17:22:33 +10:00
Nyall Dawson
e5b1c67594 Fix incorrect 'left of' calculation when finding nearest point
to circular string
2017-09-19 17:22:33 +10:00
Nyall Dawson
fd3a38fcd8 More tests 2017-09-19 17:22:33 +10:00
Nyall Dawson
5bb359db90 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
1956a38199 When constructing a QgsPoint with explicit WKB type specified,
ignore any explicit z/m value if the WKB type does not have
that dimensionality

Brings consistent behavior to all QgsPoint constructors
2017-09-19 17:22:33 +10:00
Nyall Dawson
d861e6475a Set correct WKB type when clearing a QgsCircularString 2017-09-19 17:22:33 +10:00
Nyall Dawson
afcb82efe7 Fix potential crash when calling QgsCircularString::pointN with bad
index
2017-09-19 17:22:33 +10:00
Nyall Dawson
e937782757 Fix crash when calling equality operator on QgsCircularString 2017-09-19 17:22:32 +10:00
Nyall Dawson
3d0d7aabec Remove unused QgsGeometryFactory::fromRect method 2017-09-19 17:22:32 +10:00
Nyall Dawson
9b6e79cd18 Expand QgsTriangle test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
a15340fc2c Extend geometry test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
d3db082cd2 Extend unit tests for QgsPolygonV2, QgsPoint 2017-09-19 17:22:32 +10:00
Nyall Dawson
6b07b9bbfb Extend geometry unit test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
f6d7120511 Remove default statements for better compiler warnings 2017-09-19 17:22:32 +10:00
Nyall Dawson
328fc9cb8d Consistently use unsigned int for QgsRegularPolygon 2017-09-19 17:22:32 +10:00
Nyall Dawson
92d739619d Fix memory leak in QgsEllipse 2017-09-19 17:22:32 +10:00
rldhont
0598be4c47 Null pointer check for the layer tree model 2017-09-19 08:39:12 +02:00
Nyall Dawson
a6b6892454 Allow data item providers to override default directory handling 2017-09-19 08:06:09 +02:00
Nyall Dawson
ac6eaa865b Correctly handle opening gdb directories as a database in browser
Allows ESRI gdb directories to be accessed and the contained
layers to be visible and added to projects.
2017-09-19 08:05:59 +02:00
Nyall Dawson
ca0fea795d Add method to retrieve OGR supported directory driver extensions (e.g. 'gdb') 2017-09-19 08:05:40 +02:00
Alessandro Pasotti
3fc2a49a9b Always run import task when at least one layer is valid 2017-09-19 07:58:31 +02:00