[postgis-tickets] [PostGIS] #2423: [REGRESSION] ST_LineToCurve gets semicircle wrong

PostGIS trac at osgeo.org
Mon Aug 12 02:08:32 PDT 2013


#2423: [REGRESSION] ST_LineToCurve gets semicircle wrong
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:  curves   |  
---------------------+------------------------------------------------------

Comment(by strk):

 The current code takes the num_points/2 vertex as the control point, which
 is just a guess.
 A better guess would be the vertex which the least difference in distance
 from last and first points. The ideal control point is equidistant from
 endpoints.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2423#comment:5>
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