Is there a way to smooth a line so the resulting line passes through all the original vertices?
Solved
Smooth line keeping vertex positions
Best answer by david_r
Based on your feedback, I'm starting to think that there's no current transformer in FME that can smooth a polyline while preserving the vertices.
However, it should be fairly simple to implement in Python, see this example:
https://stackoverflow.com/a/14348309
Maybe the scipy.interpolate.spline() drawn in red is approaching what you want? (Hint: scipy.interpolate is already installed in the Python interpreter that comes with ArcGIS)
If you do end up implementing this, it would me much appreciated if you would share it through the FME Hub :-)
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.