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?
Page 1 / 1
If a polyline has four vertices p0, p1, p2 and p3, which one is your desired result - {p0, p1, p1, p2, p2, p3} or {p0, p1, p2, p3}?
If a polyline has four vertices p0, p1, p2 and p3, which one is your desired result - {p0, p1, p1, p2, p2, p3} or {p0, p1, p2, p3}?
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.
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.