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

PostGIS trac at osgeo.org
Fri Dec 31 11:23:50 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:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 But to add very disturbingly.

 For the gserialized while the ST_GeomFromText is false,

 The answer to this:
 SELECT ST_OrderingEquals(foo1.the_geom, foo1.the_geom) As result
         FROM (
                  (SELECT ST_GeomFromEWKT('SRID=4326;GEOMETRYCOLLECTION
 EMPTY') As the_geom )
                 ) As foo1 ;


 Is True.  It's as if the GeomFromEWKT and FromText are creating two
 different things indistiguishable from each other in text but binary
 different.

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