Skip to main content
Question

extract first and last measure from a polyline

  • September 18, 2019
  • 1 reply
  • 36 views

nicholas
Contributor
Forum|alt.badge.img+10

Hello,

I have six polyline features, where each node of the polyline has a measure

(I used MeasureSetter earlier in the workbench)

I want to create two new attributes "MIN" and "MAX" where;

MIN = the measure value of the first node in the polyline

MAX = the measure value of the last node in the polyline

I think I need to use the MeasureExtractor to do this? But I cannot get it to work

I tried Type: Individual Vertex by Index, with Index: 0 but the result was <missing>

 

1 reply

takashi
Supporter
  • September 18, 2019

Hi @nicholas, the MeasureExtractor (Type: Individual Vertex by Index) should work to do that.

Make sure that the geometry definitely has measure, and set measure name to the Source Measure Name parameter in the MeasureExtractor if the measure has a specific name.

You can see measure name(s) and values with Feature Information window of FME Data Inspector. For example, the geometry shown in this screenshot has two measures, one has no name (<default_measure> indicates no name), another has name "my_measure".


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings