[postgis-devel] [PostGIS] #566: ST_IsValid fails with empty polygons

PostGIS trac at osgeo.org
Thu Aug 12 04:32:43 PDT 2010


#566: ST_IsValid fails with empty polygons
---------------------+------------------------------------------------------
 Reporter:  fcaa     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.2
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 Using PostGIS 1.5.1 on PostgreSQL 8.4.

 ST_IsValid returns false for empty polygons stored from EWKB.
 Example:

 {{{
 select the_geom, st_asewkt(the_geom), st_isempty(the_geom) from table
 limit 1

 "01030000208610000000000000";"SRID=4230;POLYGON EMPTY";f
 }}}

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