[postgis-devel] [PostGIS] #1489: st_multi(empty) returns multi(empty)

PostGIS trac at osgeo.org
Fri Jan 20 05:48:09 PST 2012


#1489: st_multi(empty) returns multi(empty)
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 strk=# select st_astext(st_multi('LINESTRING EMPTY'));
         st_astext
 -------------------------
  MULTILINESTRING( EMPTY)
 (1 row)

 strk=# select st_geomfromtext(st_astext(st_multi('LINESTRING EMPTY')));
 ERROR:  parse error - invalid geometry
 }}}

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