[postgis-devel] [PostGIS] #1023: pglwgeom_getbox2d_p fails to compute a bounding box if a cache is missing (GSERIALIZED)

PostGIS trac at osgeo.org
Mon Jul 4 08:36:35 PDT 2011


#1023: pglwgeom_getbox2d_p fails to compute a bounding box if a cache is missing
(GSERIALIZED)
-----------------------+----------------------------------------------------
  Reporter:  robe      |       Owner:  pramsey      
      Type:  defect    |      Status:  closed       
  Priority:  critical  |   Milestone:  PostGIS 2.0.0
 Component:  postgis   |     Version:  trunk        
Resolution:  fixed     |    Keywords:               
-----------------------+----------------------------------------------------
Changes (by strk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Alright, I've fixed this by adding the *compute_if_missing* logic into the
 pglwgeom_getbox2d_p function, so that the underlying function retain their
 documented behavior. r7582 documents pglwgeom_getbox2d_p in header, r7583
 implements it correcly for G_SERIALIZED on.

 Robe: can you confirm it fixes the topology tests your side ? (it does fix
 mine againts 8.4.8)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1023#comment:15>
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