[postgis-tickets] [PostGIS] #2410: ST_CurveToLine drops first vertex of a straight curve

PostGIS trac at osgeo.org
Wed Aug 7 11:00:49 PDT 2013


#2410: ST_CurveToLine drops first vertex of a straight curve
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 Passing a straight line to ST_CurveToLine:
 {{{
 CIRCULARSTRING(0 0,1 0,2 0)
 }}}

 Results in a linestring missing first vertex and having a duplicated
 second vertex:
 {{{
 LINESTRING(1 0,2 0,2 0)
 }}}

 1.5(.9) is _not_ affected, 2.0 and 2.1 are affected.

 I guess 2.1.0 could wait for a fix to this.
 I have a fix locally, which doesn't change any of the existing regression
 tests results.

 See also #2407 which is the context in which I've found this one

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2410>
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-tickets mailing list