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 :-)
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.




