#11827: GeoQuerySet extent() method fails if contains only one object with point
geometry
---------------------------------+------------------------------------------
          Reporter:  mal         |         Owner:  nobody
            Status:  new         |     Milestone:        
         Component:  GIS         |       Version:  1.1   
        Resolution:              |      Keywords:  oracle
             Stage:  Unreviewed  |     Has_patch:  0     
        Needs_docs:  0           |   Needs_tests:  0     
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by jtiai):

  * keywords:  => oracle

Comment:

 Well this is "feature" of Oracle Spatial SDO_AGGR_MBR function. It's
 describes few "exceptions" as follows (excerpt from Oracle Spatial
 documentation):

  * This function does not return an MBR geometry if a proper MBR cannot be
 constructed. Specifically:
   * If the input geometries are all null, the function returns a null
 geometry.
   * If all data in the input geometries is on a single point, the function
 returns the point.
   * If all data in the input geometries consists of points on a straight
 line, the function returns a two-point line.

 AFAIK at least PostGIS uses st_extent for extent() method which always
 returns real bounding box.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11827#comment:3>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to