mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
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.