Nyall Dawson 0ca9777755 [api] Raises ValueError and TypeError exceptions when QgsGeometry.asPoint()
is called on non-single-point geometries

Previously we would just return QgsPointXY(0,0) when geometries of invalid
type were used, but this is dangerous and we are safer to explicitly
raise errors preventing use of asPoint() with incompatible geometry types.
2018-12-15 07:40:33 +10:00
..
2018-11-30 09:03:28 +01:00
2018-10-24 11:13:54 +02:00
2018-10-16 12:52:48 +02:00
2018-11-04 19:22:09 +10:00