LengthCalculator

From Fmepedia

LengthCalculator is a Workbench Transformer.

Calculates the length of a feature and adds it as a new attribute. The multiplier parameter can be used to scale the length from being measured in ground units (the units of the feature's coordinates) to something else.

By default, the two-dimensional length of the line is calculated, and any Z values, if present, are ignored. To have a 3D length calculated, the length dimension parameter should be set to 3, and then the elevations will be included in the length computation.

To calculate the partial length of a feature, use the LengthToPointCalculator.

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

User Comments Add a new comment