[postgis-devel] [PostGIS] #671: ST_isempty( GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(EMPTY)) ) returns false

PostGIS trac at osgeo.org
Mon Dec 13 22:12:42 PST 2010


#671: ST_isempty( GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(EMPTY)) ) returns false
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.3
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 A collection of empty geometries has ngeoms > 0, but from a spatial
 coverage point of view is just as empty as a non empty thing. We mainly
 want to be careful not to short circuit functions that work against
 numelements when numelements is > 0, even when the contents are empty.

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