测量发电机
创建一个组 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 givenMultiplier.
This transformer is often used to load useful measure values into an attribute for writing to measure-supporting formats such as Shape, Geodatabase, and SDE.
Parameters
TheLength Dimensionparameter controls how the distance will be calculated.The distance can be calculated as either a two-dimensional distance (in which case any z coordinates on the features will be ignored), or as a three-dimensional distance.
The first value will always be 0, since the length up to the very first point is 0.The last value will be the length of the entire line multiplied by the value set in theMultiplierparameter.
AMultiplieris applied to each distance before it is added to the list, to potentially scale each measurement by a fixed amount.By default, the multiplier is 1.
AStart Valueis added to each distance before it is added to the list, to potentially add an offset to each measurement by a fixed amount.By default, the start value is 0.
You can enter an optional name for the resulting measures.
Related Transformers
- 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 aMeasureExtractorand aListConcatenator.
- To calculate the entire length of a feature, use theLengthCalculator.
- To calculate the partial length of a feature, use theLengthToPointCalculator.
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, clickbeside the applicable parameter.For more information, seeTransformer Parameter Menu Options.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.
TagsKeywords: chainage