On 19 September 2013 21:58, Stefan Keller <[email protected]> wrote: > Good you pointed to ST_Line_Interpolate. The use case I have in mind is that > I have e.g. roads and want to smooth ithem before they are being rendered. > The input is a linestring and the output is another linestring with about > same amount of coordinates (or less) - but smoothed. > Something like this > http://www.codeproject.com/Articles/31859/Draw-a-Smooth-Curve-through-a-Set-of-2D-Points-wit
A good illustration to contrast the different linear referencing interpolation techniques is shown here: http://www.xmswiki.com/xms/File:Redverts.gif where (a) is the original LineString with 5 vertices, (b) by linear interpolation (i.e., ST_Line_Interpolate), and (c) by spline interpolation. Yes, I though about a spline method too, but I have no solution. The software for the illustration is closed-source, so there is no further help there. -Mike _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
