Ticket #1489 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

st_multi(empty) returns multi(empty)

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
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

Changed 4 months ago by strk

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

Changed 4 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Fixed by r8892

Note: See TracTickets for help on using tickets.