mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.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:
parent
86e9744593
commit
c16f9c2d28
@ -482,7 +482,8 @@ the geometry.
|
|||||||
.. attribute:: GEOSGeometry.envelope
|
.. attribute:: GEOSGeometry.envelope
|
||||||
|
|
||||||
Returns a :class:`Polygon` that represents the bounding envelope of
|
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
|
.. attribute:: GEOSGeometry.point_on_surface
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user