Opened 6 years ago

Closed 6 years ago

#4283 closed defect (fixed)

ST_CurveToLine duplicates last point when linearizing circle

Reported by: dbaston Owned by: pramsey
Priority: medium Milestone: PostGIS 2.5.2
Component: postgis Version: 2.5.x -- EOL
Keywords: Cc:

Description

Depends on the tolerance settings used. As seen in the output of.

select st_astext(st_curvetoline('CIRCULARSTRING(0 0, 1 0, 0 0)', 14, 0));

Checked in 2.5.x, may occur earlier.

Change History (5)

comment:1 by pramsey, 6 years ago

And the output of that in turn leads to fun results when going back to curve:

select st_astext(st_linetocurve(st_curvetoline('CIRCULARSTRING(0 0, 1 0, 0 0)', 14, 0)));

comment:2 by pramsey, 6 years ago

In 17185:

Avoid final point duplicates for circle stroking
References #4283

comment:3 by pramsey, 6 years ago

In 17186:

Avoid final point duplicates for circle stroking
References #4283

comment:4 by pramsey, 6 years ago

In 17187:

Avoid final point duplicates for circle stroking
References #4283

comment:5 by pramsey, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.