FME Transformers: 2024.2

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 has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

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