#24144: envelope attribute for GEOSGeometry returns Point
----------------------------+--------------------
     Reporter:  manelclos   |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  GIS         |    Version:  1.7
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+--------------------
 It should return Envelope as stated in the documentation:

 "Returns a Polygon that represents the bounding envelope of this
 geometry."

 
https://docs.djangoproject.com/en/1.7/ref/contrib/gis/geos/#django.contrib.gis.geos.GEOSGeometry.envelope

 {{{
 >>> from django.contrib.gis.geos import GEOSGeometry
 >>> p = GEOSGeometry('POINT (1 1)')
 >>> p
 <Point object at 0xb2f23dd0L>
 >>> p.envelope
 <Point object at 0xb2f23d40L>
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24144>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.d567cb8d3d0a1142caef169e11ce6fe5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to