summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-02-14 16:18:17 +0100
committerClaude Paroz <claude@2xlibre.net>2015-02-14 16:21:54 +0100
commitc16f9c2d2880378e3e73365d740c7cea30ed2840 (patch)
tree8e93e676a2eb8f21193e34408a539f25fa0ed188
parent86e9744593c6688849da8adc26bf19e51404c113 (diff)
[1.7.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
Thanks Manel Clos for the report. Backport of 1379165b35 from master.
-rw-r--r--docs/ref/contrib/gis/geos.txt3
1 files changed, 2 insertions, 1 deletions
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