FME Transformers: 2024.1

Categories
Calculated Values

LengthToPointCalculator

Calculates the length of a feature from its start until the closest spot to a point, and adds it as a new attribute. The point coordinates are taken from attributes in the original feature.

The length is calculated along the feature up until the spot on the feature that is closest to the given point.

To calculate the length of the entire feature, use the LengthCalculator.

To calculate the distance from the start of the line to each vertex, use the MeasureGenerator.

Configuration

Input Ports

Output Ports

Note  Feature order may change in relation to other output ports. Feature order per port is maintained.

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 LengthToPointCalculator on the FME Community.