From a1fc97c1a7949b4e8a16d22ee33ca06c887af038 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 14 Feb 2015 16:18:17 +0100 Subject: [PATCH] [1.8.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point Thanks Manel Clos for the report. Backport of 1379165b35 from master. --- docs/ref/contrib/gis/geos.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index 3be3af7bba..9d5e9f50e5 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -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