[postgis-tickets] [PostGIS] #3772: ST_CurveToLine balanced output segments

PostGIS trac at osgeo.org
Mon Jun 26 14:23:34 PDT 2017


#3772: ST_CurveToLine balanced output segments
--------------------------+---------------------------
  Reporter:  strk         |      Owner:  strk
      Type:  enhancement  |     Status:  reopened
  Priority:  medium       |  Milestone:  PostGIS 2.4.0
 Component:  postgis      |    Version:  trunk
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by strk):

 Further reduction:
 {{{
 SELECT ST_AsText(ST_CurveToLine(
 'CIRCULARSTRING(2680928.869 1225270.923,2680927.625 1225272.101,2680927.57
 1225273.814)'::geometry
 ,0.1,1,1));

 LINESTRING(2680928.869 1225270.923,2680927.83651479
 1225271.7294398,2680927.42757841 1225272.97408509,2680927.57 1225273.814)
 }}}

 Visually:
 [[Image(curve2line.png)]]

 I guess it has to do with the fact that the origin is not shifted
 appropriately, but rather is always anchored at angle 0.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3772#comment:6>
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