[postgis-users] Bezier or Spline smoothing implementation
Michael.Scholz at dlr.de
Michael.Scholz at dlr.de
Mon Sep 23 04:56:22 PDT 2013
Heyho.
So, there is no native support in PostGIS to interpolate a Spline/Bezier (e.g. for smoothing purposes). In my previous post to this thread (http://postgis.17.x6.nabble.com/Bezier-or-Spline-smoothing-implementation-tp4717217p5004219.html) I gave an example on how to create a PostgreSQL PL/R function which calculates such a desired spline with R and exposes the result as a regular PostGIS geometry. It can be directly used in your SQL-queries like any other function. You put in a coarse LineString and get a smoothed curve back.
Michi
Von: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-bounces at lists.osgeo.org] Im Auftrag von Stefan Keller
Gesendet: Donnerstag, 19. September 2013 11:59
An: PostGIS Users Discussion
Betreff: Re: [postgis-users] Bezier or Spline smoothing implementation
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130923/edc83911/attachment.html>
More information about the postgis-users
mailing list