Opened 13 years ago

Closed 13 years ago

#1489 closed defect (fixed)

st_multi(empty) returns multi(empty)

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

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

Change History (2)

comment:1 by strk, 13 years ago

Not sure if the bug is in st_multi or st_astext. I suspect the latter.

comment:2 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Fixed by r8892

Note: See TracTickets for help on using tickets.