[postgis-devel] [PostGIS] #567: Geometry constructors fail from empty geometries

PostGIS trac at osgeo.org
Fri Aug 13 03:28:55 PDT 2010


#567: Geometry constructors fail from empty geometries
---------------------+------------------------------------------------------
 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.

 Geometry constructors from text for empty geometries return always an
 empty geometry collection. Example:

 {{{
 select st_astext(st_geometryfromtext('POLYGON EMPTY')),
 st_astext(st_geomfromEWKT('srid=4230;POLYGON EMPTY'))

 "GEOMETRYCOLLECTION EMPTY";"GEOMETRYCOLLECTION EMPTY"
 }}}

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