[postgis-tickets] [PostGIS] #2627: st_linetocurve() pta_desegmentize needs implementation for npoints < 4

PostGIS trac at osgeo.org
Tue Feb 4 23:29:05 PST 2014


#2627: st_linetocurve() pta_desegmentize needs implementation for npoints < 4
---------------------+------------------------------------------------------
 Reporter:  mjurce   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.5
Component:  postgis  |     Version:  2.0.x        
 Keywords:  curves   |  
---------------------+------------------------------------------------------

Comment(by mjurce):

 Replying to [comment:3 pramsey]:
 > The only N < 4 that exists for this case is 3. And for 3-point lines the
 only interpretation is that the points are control points on the curve, so
 there's no "desegmentization" to be done. Basically this is just a cast,
 from linestring to circularstring. Or am I mis-interpreting?


 Could be a linestring with 3 points.
 Depends how the points are on the plane.

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