[postgis-devel] [PostGIS] #669: ST_Intersects(geometry, empty) not returning false

PostGIS trac at osgeo.org
Mon Nov 29 05:13:14 PST 2010


#669: ST_Intersects(geometry, empty) not returning false
---------------------------------+------------------------------------------
 Reporter:  wiki                 |       Owner:  pramsey      
     Type:  defect               |      Status:  new          
 Priority:  medium               |   Milestone:  PostGIS 1.5.3
Component:  postgis              |     Version:  1.5.X        
 Keywords:  ST_Intersects EMPTY  |  
---------------------------------+------------------------------------------
 The wiki
 http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry
 states that ST_Intersects(geometry, empty) should return false, but it
 results in an error:

 ERROR: Relate Operation called with a LWGEOMCOLLECTION type.  This is
 unsupported.
 HINT:  Change argument 2: 'GEOMETRYCOLLECTION EMPTY'


 select * from some_table where "intersects"("geometry"('POINT(40.0
 10.0)'), tablerow_area);

 will not work if any tablerow_area is "geometry"('POLYGON EMPTY').

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