[postgis-devel] [PostGIS] #747: ST_OrderingEquals of GEOMETRYCOLLECTION EMPTY

PostGIS trac at osgeo.org
Fri Dec 31 11:15:18 PST 2010


#747: ST_OrderingEquals of GEOMETRYCOLLECTION EMPTY
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  low      |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Did we ever decide what the answer of this should be.

 SELECT ST_OrderingEquals(foo1.the_geom, foo1.the_geom) As result
         FROM (
                  (SELECT ST_GeomFromText('GEOMETRYCOLLECTION EMPTY',4326)
 As the_geom )
                 ) As foo1 ;


 In my 1.5 install and gserialized 2.0 install, the answer is:
 'f'

 But in non-gserialized the answer is

 't'

 I've always thought of ordering equals as almost like a binary equality so
 I would expect the answer to be true, but emptiness is such a strange
 thing.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/747>
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