41607 Commits

Author SHA1 Message Date
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
Nyall Dawson
b53e986781 Merge pull request #5170 from nyalldawson/drop_spatial_query
Drop spatial query plugin
2017-09-19 06:49:20 +10:00
Nyall Dawson
281236f4a1 Merge pull request #5211 from mhugent/atlas_compress_tiff
Use LZW compression for tifs exported from atlas / composer
2017-09-19 06:33:47 +10:00
Matthias Kuhn
b9a700075b Merge pull request #5215 from m-kuhn/metaCode
Doxymentation and de-noising
2017-09-18 20:43:14 +02:00
Matthias Kuhn
d8de869780
Remove useless debug messages 2017-09-18 18:32:08 +02:00
Matthias Kuhn
63def3d870
Doxygen improvements 2017-09-18 18:32:06 +02:00
Juergen E. Fischer
15bc5ed0c3 dxf export: fix layer assignment (fixes #17126; followup 92091c536b) 2017-09-18 17:20:49 +02:00
Mathieu Pellerin
c19fb1ca0c [expression] fix caching for aggregate() and @parent exp. (fixes #15797) 2017-09-18 21:06:08 +07:00
Juergen E. Fischer
d2d9de8e8f debian packaging: drop mimelnk files for KDE3 2017-09-18 15:27:07 +02:00
Alessandro Pasotti
2cf2ad25b4 QgsSettings -> Settings in options dialog tab 2017-09-18 14:46:37 +02:00
Marco Hugentobler
90378b79a8 Use LZW compression for tifs exported from atlas / composer 2017-09-18 13:57:53 +02:00
Even Rouault
7de9999248 Merge pull request #5206 from rouault/ogrprovider_use_gdaldriver_and_gdaldataset_api
[OGR provider] USE GDAL driver and dataset API, and pass FORCE_SRS_DETECTION=YES for GML
2017-09-18 11:22:58 +02:00
nirvn
938f261596 [processing] fix map layer combo box layer reference 2017-09-18 13:37:49 +07:00
Mathieu Pellerin
09195fb567 [processing] implement source flag for feature based algorithms (#5208) 2017-09-18 13:33:20 +07:00
Nyall Dawson
ffbb24481b Fix memory leak 2017-09-18 12:17:41 +10:00
Nyall Dawson
31f6a893ca Fix coverity unchecked return value warning 2017-09-18 12:14:38 +10:00
Nyall Dawson
57beefd474 Fix coverity uninitialized members warnings 2017-09-18 12:13:02 +10:00
Nyall Dawson
b44cf5d10f Fix memory leak 2017-09-18 12:10:46 +10:00
Mathieu Pellerin
01468d0879 Merge pull request #5204 from nirvn/saveselected_native 2017-09-16 12:17:11 +07:00
Nyall Dawson
f9bc9259c0 Merge pull request #5171 from nyalldawson/processing_selectioncheckboxes
[processing] Add useCheckBoxes option to EnumWidgetWrapper
2017-09-16 12:39:07 +10:00
Nyall Dawson
085687d8f0 Also update other spatial join alg 2017-09-16 10:21:54 +10:00