Solved
Split a single line at multiple locations
Hi, I am trying to split a single line at multiple locations based on values in a separate table. I also want to be able to start splitting from either end of the line. Any help will be greatly appreciated.
Best answer by takashi
See the transformer help to learn about the Snipper.
This is one possible way to create points. Assume that every record read from the table has ID of associated Line and the location of each condition is described by "distance" attribute of the record.
-----
Add a FeatureMerger to the workspace.
Send the record features to the Requestor port; send the Line features to the Supplier port.
Join On: Line ID to Line ID
Feature Merge Type: Geometry
The FeatureMerger with this setting merges a line geometry to records that have same line ID. If two or more records share same line ID, the Line will be copied for the records.
Then, connect a Snipper to the Merged port, and set the parameters like this:
Snipping Mode: Distance (Value).
Starting Location: distance
Ending Location: distance
The Snipper will output the required points.
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.


