[postgis-devel] [PostGIS] #2015: ST_IsEmpty('POLYGON(EMPTY)') returns False

PostGIS trac at osgeo.org
Tue Sep 25 19:38:44 PDT 2012


#2015: ST_IsEmpty('POLYGON(EMPTY)') returns False
------------------------+---------------------------------------------------
 Reporter:  cdestigter  |       Owner:  pramsey     
     Type:  defect      |      Status:  new         
 Priority:  medium      |   Milestone:  PostGIS GEOS
Component:  postgis     |     Version:  trunk       
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by robe):

  * milestone:  PostGIS 2.1.0 => PostGIS GEOS


Comment:

 I also checked this on 2.1+


 {{{
 SELECT ST_AsEWKT('POLYGON EMPTY'::geometry);
 }}}

 Comes back as POLYGON EMPTY.  We stopped throwing out this info at 2.0.
 So you should be fine to use that.  So your issue might be a pure GEOS and
 possibly GEOS with django.

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