FME Transformers: 2024.1

Categories
Calculated Values

MeasureGenerator

Creates a set of measures attached to the geometry of the feature, where each value is the distance from the start of the line up to that vertex, multiplied by the given Multiplier.

This transformer is often used to load useful measure values into an attribute for writing to measure-supporting formats.

Usage Notes

  • To get measures as a list or a series of attributes (for example, if you need to manipulate the calculated measure values), place a MeasureGenerator followed by a MeasureExtractor and a ListConcatenator.
  • To calculate the entire length of a feature, use the LengthCalculator.
  • To calculate the partial length of a feature, use the LengthToPointCalculator.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the MeasureGenerator on the FME Community.

Keywords: chainage