Hello, I have a .SHP with lines and I need to extract X, Y coordinates as points for start and end nodes of lines and give them an ID. I could have a polyline containing several lines connected, in that case end node of first line is the same point as start point of next line. I tried with CoordinateExtractor, CoordinateConcentenator, AttributeKeeper but had no luck. Is there any solution for my problem?
Solved
Extracting points from line (SHP)
Best answer by takashi
To extract points {p0, p1, p1, p2, p2, p3} from a polyline p0-p1-p2-p3, you can do that with two Choppers in series.
- Chopper (Mode: Vertex, Maximum Vertices: 2)
- Chopper (Mode: Vertex, Maximum Vertices: 1)
To extract points {p0, p1, p2, p3} from the same polyline, you can just use a single Chopper.
- Chopper (Mode: Vertex, Maximum Vertices: 1)
I don't think you need to use SpatialRelator.
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.

