Opened 11 years ago

Closed 11 years ago

#2427 closed defect (fixed)

ST_CurveToLine does not keep first point

Reported by: strk Owned by: strk
Priority: blocker Milestone: PostGIS 2.0.4
Component: postgis Version: 2.0.x
Keywords: curves, history Cc:


The first point of a CIRCULARSTRING is lost when linearizing:

=> select st_astext(st_pointn(ST_CurveToLine('CIRCULARSTRING(-1 0,0 1,0 -1)'),1));
 POINT(-1 1.22460635382238e-16)

1.5 works fine, 2.0.3 is affected

Change History (2)

comment:1 by strk, 11 years ago

Milestone: PostGIS 2.0.4PostGIS 2.1.0
Priority: mediumblocker

I think this should also block 2.1.0

comment:2 by strk, 11 years ago

Keywords: history added
Milestone: PostGIS 2.1.0PostGIS 2.0.4
Resolution: fixed
Status: newclosed

r11790 in trunk (2.2.0), r11791 in 2.1 (2.1.0), r11792 in 2.0 (2.0.4)

Note: See TracTickets for help on using tickets.