Chopper
将输入特征分解为点,lines,or areas.切碎特征包含与输入特征相同的顶点集。
当输出到对每个特征中的坐标数有限制的格式时,这很有用。它还可以用于粗略地简化复杂对象。
所有新功能具有与原始功能相同的属性,并通过产量端口。The optional chopping indicator attribute can be used to distinguish output features which were chopped from output features which were not.
输入端口
将处理线条和区域。
Output Ports
Chopped and untouched features are output to this port.
参数
By Vertex: Breaks input features according to vertex count.产量几何图形可以是点,lines,or areas.
By Length: Breaks input features according to length.产量geometries will consist of lines or areas.
各产量feature will have up to the specified number of vertices.例如,如果输入行由4个顶点组成,并指定最大顶点3,二产量线条将被输出:一个有3个顶点,一个有2个顶点。
如果此参数小于4,输入区域特征转换为线性特征。如果设为1,all input features are broken up into point features.
If the feature is a line and the final piece of the产量线条特征的顶点数与其他部分的顶点数不同,this attribute (if specified) will be added with a value of "yes",否则,该属性将具有值“no”。
各产量line feature will be a line feature whose length is close to the value specified in this parameter.每当两个输入顶点可以表示产量线特征,FME选择长度接近近似长度值的长度。
例如,if a horizontal line consists of two segments of length 0.8,指定1作为近似长度,then the output is expected to be two line features each containing two vertices,每个长度为0.8。
对于区域特征,近似长度决定了切割区域的近似高度和宽度。If vertex spacing along the line is greater than the Approximate Length,larger areas will result.默认情况下,添加内部点(仅区域)设置为是,这意味着新的顶点可以引入到区域的内部。
对:New vertices will be introduced while chopping up an input area feature whenever needed.These vertices are guaranteed to fall inside the input area.
不:No new vertices will be introduced.This means if an input area cannot be chopped up without new vertices within the confines of Approximate Length,then it will be output unmodified.切碎产生的许多碎片也有可能比近似长度大,since no smaller pieces can be generated without introducing interior vertices.
此属性(如果指定)将以“是”值添加到任何被切碎的输出功能,and a value of "no" to any output features which were untouched by the transformer.
Usage Notes
输入弧在斩波前被划过。If the chopping operation does not modify a stroked arc,弧未被锁定,将不受影响地输出。
Area features are chopped in such a way as to preserve the original area of the feature.也就是说,原始区域特征被切割成更小的区域,which if dissolved together,would match the original area.新的顶点可能会在区域特征被切碎时被引入。
Example
编辑变压器参数
使用一组菜单选项,transformer parameters can be assigned by referencing other elements in the workspace.更高级的功能,例如高级编辑器和算术编辑器,在一些变压器中也有。要访问这些选项的菜单,点击在适用参数旁边。For more information,看见Transformer Parameter Menu Options.
变压器类别
搜索FME知识中心
在上搜索有关此变压器的示例和信息FME知识中心.