Commit 1379165b authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point

Thanks Manel Clos for the report.
parent 0af3822d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -480,7 +480,8 @@ the geometry.
.. attribute:: GEOSGeometry.envelope

Returns a :class:`Polygon` that represents the bounding envelope of
this geometry.
this geometry. Note that it can also return a :class:`Point` if the input
geometry is a point.

.. attribute:: GEOSGeometry.point_on_surface