[1.8.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point

Thanks Manel Clos for the report.
Backport of 1379165b35 from master.
This commit is contained in:
Claude Paroz 2015-02-14 16:18:17 +01:00
parent 8657e7caaa
commit a1fc97c1a7
1 changed files with 2 additions and 1 deletions

View File

@ -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