MeasureExtractor
Extracts the measures of geometries that match the given type, and places them in attributes or list attributes.
Input Ports
Feature types that contain point, line arc, area geometry, or a vertex of linear or area geometry.
Parameters
The Type parameter that you choose determines which of the remaining transformer parameters become enabled.
Individual Vertex by Index sets the value of the attribute specified in the Destination Attribute of Point or Vertex to the measure extracted from a point, curve or area at the vertex specified by the Index.
A negative index can be used to indicate the position of the vertex in which the measure is to be extracted relative to the end of the geometry (-1 is the last coordinate, -2 the second last, and so on). If the geometry of a feature is a point, then only index 0 or index -1 can be used to retrieve the measure value. Any geometry other than a point, curve or area is ignored.
Point sets the value of the attribute specified in the Destination Attribute of Point or Vertex to the measure extracted from the point.
End Points of Arc sets the values of attributes specified in the Destination Start/End Point Attribute of Arc to the measures extracted from the start and end points of the arc respectively.
Whole Line or Whole Area adds the list attribute specified in the Destination List Attribute of Line or Area and sets the list elements to the measures extracted from the line or area. A Path geometry or path boundary of an area is not supported. A PathSplitter transformer can be used to split a path to its respective segments in order to retrieve the measure(s) on each individual segment. A PathBuilder can then join the segments back into a path.
Retrieves the measures of geometries matching the given type. If the geometry is of a different type, the feature will not be modified. If a Source Measure Name is not supplied, the default measures will be used.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Related Transformers
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.