[postgis-devel] [PostGIS] #1273: ST_Equals( mypoint, postgis_addbbox(mypoint) ) = FALSE

PostGIS trac at osgeo.org
Wed Nov 9 06:00:15 PST 2011


#1273: ST_Equals( mypoint, postgis_addbbox(mypoint) )  = FALSE
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 This notice (I've added to the code) is interesting enough:

 =# select postgis_addbbox('POINT(832694.188 816254.625)'::geometry);
 NOTICE:  lwgeom already has a box
               postgis_addbbox
 --------------------------------------------
  0101000000378941606C69294100000040FDE82841


 It should _not_ have a bbox... The code checks by looking at the
 LWGEOM.bbox, not at the flag.

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