[postgis-devel] [PostGIS] #1270: ST_Split returns invalid components

PostGIS trac at osgeo.org
Mon Nov 7 10:58:00 PST 2011


#1270: ST_Split returns invalid components
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 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.

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