From c16f9c2d2880378e3e73365d740c7cea30ed2840 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 14 Feb 2015 16:18:17 +0100 Subject: [PATCH] [1.7.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 3103768b1b..b5abdd1d9f 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -482,7 +482,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