[postgis-tickets] [PostGIS] #2412: st_linetocurve('LINESTRING(0 0, 10 0)') -- ERROR: pta_desegmentize needs implementation for npoints < 4

PostGIS trac at osgeo.org
Sun Aug 11 01:10:35 PDT 2013


#2412: st_linetocurve('LINESTRING(0 0, 10 0)') -- ERROR:  pta_desegmentize needs
implementation for npoints < 4
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  assigned     
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by strk):

  * owner:  pramsey => strk
  * status:  new => assigned
  * type:  enhancement => defect


Comment:

 On a second thought, this isn't really an enhancement, because
 ST_LineToCurve already returns non-curved elements as straight lines, and
 this case is not different. So the correct answer here would be to return
 a LINESTRING (same as the input).

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