span8
span4
span8
span4
Hello,
Let's assume that I have a series of 2D-points A1, A2, A3, A4, ...An.
Can anyone tell me how to create a measure between such points so that:
- the measure for A1 is 0
- the measure for A2 is d(A1,A2) i.e.the distance between A1 and A2
-the measure for A3 is d(A1,A2) + d(A2,A3)
- the measure for A4 is d(A1,A2) + d(A2,A3) + d(A3,A4)
and so one?
Thanks,
A possible way is to use the LineBuilder to create a single line from the points, the MeasureGenerator to add measure to every vertex of the line, then the Chopper to decompose the line into individual vertex points (i.e.the original points) having measure.
Thanks for your answer.I don't know why but I did tried what you suggest even before posting my question.One concern that I had was the fact that no measure was returned when using theMeasureGeneratorTransformer.What did I do wrong in my workspace?
I think every vertex of the resulting line should have measure named "Length".
Check if the vertices have measure with the Feature Information window in FME Data Inspector.
© 2019 Safe Software Inc |Legal