[postgis-devel] [PostGIS] #1324: Provide a function to read an LWGEOM bounding box and stop reading it directly

PostGIS trac at osgeo.org
Fri Dec 9 05:54:54 PST 2011


#1324: Provide a function to read an LWGEOM bounding box and stop reading it
directly
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  task     |      Status:  assigned     
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 lwgeom_add_bbox() does the lazy addition already.
 I've stubbed a lwgeom_get_bbox() function calling the lazy computer and
 returning what it gets as part of r8333 but found out that in case of an
 _empty_ geometry the lazy computer computes a bounding box composed by all
 zeroes. I don't think I like that.

 What's the bounding box of an EMPTY geometry ?
 /me hopes we wont go to BOX EMPTY ...

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1324#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list