LengthCalculator
计算要素的长度并将其添加为新属性。
Using this transformer on a polygon will produce the polygon's perimeter.
To calculate the partial length of a feature, use theLeaderTopOintCalculator..
要计算从行开始到每个顶点的距离,请使用MeSuctGenerator..
Parameters
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
By default, the two-dimensional length of the line is calculated, and any Z values, if present, are ignored.
为了计算3D长度,长度尺寸参数应设置为3,然后升高将包括在长度计算中。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
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.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Name of the attribute to hold the length value that is calculated.
编辑变换器参数
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, see变换器参数菜单选项.
变压器类别
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.