id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 2015,ST_IsEmpty('POLYGON(EMPTY)') returns False,cdestigter,pramsey,"Firstly, I used the wkb for POLYGON(EMPTY), since postgis' wkt parser appears to cast a lot of things to GEOMETRYCOLLECTION EMPTY, losing type information. But shouldn't this return True? # select st_isempty('01030000000100000000000000'::geometry); st_isempty ------------ f (1 row) Also see this geos bug which exacerbates the problem: http://trac.osgeo.org/geos/ticket/594 POSTGIS=""2.1.0SVN r10262"" GEOS=""3.3.3-CAPI-1.7.4"" PROJ=""Rel. 4.7.1, 23 September 2009"" LIBXML=""2.7.6"" ",defect,closed,medium,PostGIS 2.1.0,postgis,master,fixed,,