Please sign in to comment.
[api] Raises ValueError and TypeError exceptions when QgsGeometry.asP…
…olyline() 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.
- Loading branch information
Showing with 84 additions and 5 deletions.