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

PostGIS trac at osgeo.org
Mon Jun 22 01:39:09 PDT 2026


#2627: st_linetocurve() pta_desegmentize needs implementation for npoints < 4
--------------------------+-----------------------------
  Reporter:  mjurce       |      Owner:  pramsey
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS Fund Me
 Component:  postgis      |    Version:  2.0.x
Resolution:  wontfix      |   Keywords:  curves
--------------------------+-----------------------------
Changes (by komzpa):

 * resolution:   => wontfix
 * status:  new => closed

Comment:

 The option I see is to perform either
 https://postgis.net/docs/ST_ChaikinSmoothing.html or
 https://postgis.net/docs/manual-dev/ST_CatmullRomSmoothing.html to give
 the line more points so that interpretation of curvature is less
 surprising. Additionally look at hot new https://postgis.net/docs/manual-
 dev/ST_MakeNurbsCurve.html. Otherwise it is not clear how to implement
 this, if you wish to contribute a patch you're welcome to do it.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2627#comment:13>
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