Ticket #1270 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

ST_Split returns invalid components

Reported by: strk Owned by: strk
Priority: high Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
Keywords: Cc:

Description

SELECT ST_AsText(ST_Split('MULTILINESTRING((-5 -2,0 0),(0 0,10 10))', 'POINT(0 0)'));

Returns:

 GEOMETRYCOLLECTION(LINESTRING(-5 -2,0 0),LINESTRING(0 0),LINESTRING(0 0,10 10))

Note the second element is a single-point line. It only happens on a 32bit for me.

Change History

Changed 19 months ago by strk

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

This is now fixed (by either r8115 or r8112, not sure which fixed it.

Note: See TracTickets for help on using tickets.