Question
connect the dots
I need to connect a stream of consecutive input points into a series 2-point line segments. I need to retain the attributes of each point. This seems like an easy problem, yet I cannot find an efficient way to do it. PointConnector wants a "break" attribute, which causes a new segment to start at the "breaking" point, not at the previous point. 1 2 3 4 ... to infinity and beyond X X X X ... I need segments [(1,2),(2,3),(3,4)] I'm about to write a python script to do it, but it seems like it should be a simple enough pattern to be able to do with transformers. --Brad
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.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




