[postgis-devel] [PostGIS] #1453: ST_Equals(empty, empty) returns false

PostGIS trac at osgeo.org
Wed Jan 11 08:49:23 PST 2012


#1453: ST_Equals(empty, empty) returns false
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Actually, ST_Equals uses && and ST_OrderingEquals uses ~=.
 That is overlaps and contains samebox.

 Speaking of which... I'd use samebox for ST_Equals as well, and have
 samebox return TRUE for empty. They do have the same box !

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