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

Fabian Riethmayer fabian at leo.org
Wed Dec 1 05:15:40 PST 2010


I think this is the correct behaviour. 

For me GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(EMPTY)) is the (power) set of the 
empty set. 

-  P(∅) = {∅}
-  |{∅}| = 1 
  => not empty

and  ST_isempty( GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(EMPTY)) ) should return 
false.




More information about the postgis-devel mailing list