span8
span4
span8
span4
Hi,
I'm using this to cut a line at two specific points per row of data - line a too and from.
The length changes and i get bits on both sides of this line.Is there a simple way to keep the section between the cut points and ignore the rest.The section changes in size for each iteration.Sometimes the largest, sometimes smallest.
thanks
Another way of doing this is using the "Generate list" on the the line features in the PointonLineOverlayer.
Each line segment that is cut by two points should have 2 list elements.
You can use the ListElementCounter to extract that information and a Tester to filter those line segments with 2 points.
Using theCoordinateExtractortransformer, you can extract the coordinates of the line segments (index 0 = start, index -1 = end) and the points into attributes.
The start and end coordinates of the lines you want should have a matching point object.
You can use the FeatureJoiner transformer to test this.
Hope this helps.
Cut/chop a line at specific points taken from another feature class3 Answers
Measuring points along a line1 Answer
Which Measure is Returned with PointOnLineOverlayer when Multiple Routes Returned?1 Answer
Create nodes where lines intersect polygons9 Answers
How to compare attribute to attributes within a list?1 Answer
© 2020 Safe Software Inc |Legal