<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="Calibri, sans-serif"><span style="font-size:14.6667px">As Paul mentioned, this has been an issue for a while.  I ran into this when I needed to precisely divide a circle into a specified number of points.</span></font></div><div><font face="Calibri, sans-serif"><span style="font-size:14.6667px">I finally had to generate the points directly.  To get a table of points precisely spaced around a circle:</span></font></div><div><br></div><div>with <br>parameters as (<br> select 101.0 as num_points, 100.0 as radius<br>),<br>points as (<br>  select generate_series(1,parameters.num_points) as angle from parameters<br>),<br>coordinates as (<br>        select row_number() over (order by angle), angle,<br>     cos(angle / parameters.num_points * pi() * 2) * parameters.radius as x,<br>       sin(angle / parameters.num_points * pi() * 2) * parameters.radius as y<br>        from points,parameters<br>)<br>select row_number,st_MakePoint(x,y) from coordinates<br></div><div><br></div><div>Specify the num_points and radius of the circle on the third line.</div><div><br></div><div>The points are in order so you can stitch them together for a perfectly segmented line.</div><div><br></div></div></div></div>