Nyall Dawson d1e9ce1f69 [api] Raises ValueError and TypeError exceptions when QgsGeometry.asPolyline()
is called on non-single-line geometries

Previously we would just return an empty list when geometries of invalid
type were used, but this is dangerous and we are safer to explicitly
raise errors preventing use of asPolyline() with incompatible geometry types.
2018-12-18 04:38:42 +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