抹布
通过去除共同的边界来溶解区域特征以创建更大的区域。可以累积输入属性。
Input Ports
- 该变压器接受二维多边形特征,包括甜甜圈。这些多边形特征广泛称为多边形。
- 聚合输入将由变压器进行分析。聚合功能上的属性将传播到其部件。
Tip: If part-specific attributes, such as areas, need to be computed and preserved, pleasedeaggregate在溶解之前。
Because aggregates are deaggregated inside the Dissolver, it is possible that the number of output features will exceed the number of input features.
- Dissolved polygons are formed when shared edges and interior edges between adjacent polygons are removed.
输出
溶解多边形功能具有指定属性。
几何形状and attributes that are left over after dissolving.
如果是fme_remnant_type是INTERIOR_LINE,该残余是线性特征,其表示不是输出溶解多边形的一部分的输入多边形的部分,因为线性特征是与另一个特征的共线,或者在重叠区域内。
如果是fme_remnant_type是unused_data., this remnant is a feature that contains the remaining input data that was not part of the dissolved output. If the remnant feature has a geometry, this geometry was not used in the output. If the remnant feature does not have a geometry, this feature contains the attributes that were not used in the output.
参数
Transformer
输入多边形特征可以被划分为用于通过参数使用该组的用于溶解的组。如果未指定此参数,则将所有输入功能一起处理。该组按参数使单个工厂能够溶解几组潜在的重叠多边形。
结束过程(阻塞):这是默认行为。只有在存在所有输入时,处理将在此变换器中发生。
组更改时的过程(高级):此变压器将按顺序处理输入组。通过输入流上参数的Group的值的更改将触发当前累积组的处理。这可以提高整体速度(特别是具有多个等大小的组),但如果输入组未真正有序,则可能导致不期望的行为。
There are two typical reasons for using组更改时的过程(高级)。第一个是旨在以组(并且已如此有序处理)的传入数据。在这种情况下,该结构通过使用来指示组 - 不是性能考虑因素。
第二个可能的原因是潜在的性能收益。
Performance gains are most likely when the data is already sorted (or read using aSQL订单statement) since less work is required of FME. If the data needs ordering, it can be sorted in the workspace (though the added processing overhead may negate any gains).
根据数据流的数量,排序变得更加困难。由于所有匹配的功能,多个数据流可能几乎不可能排序到正确的顺序中Group By需要在属于下一个组的任何功能(任何特征类型或数据集)之前到达。在这种情况下,使用Group Bywith结束过程(阻塞)may be the equivalent and simpler approach.
笔记:来自多个数据集的多种特征类型和特征通常不会以正确的顺序自然地发生。
与许多情况一样,使用您的数据测试工作区中的不同方法是识别性能增益的唯一明确方式。
参数
在接地单元中,在2D之前的几何形状之间的最小距离。如果容忍是没有几何图形,必须完全相同onsidered equal. If the tolerance is自动的, a tolerance will be automatically computed based on the location of the input geometries. Additionally, a custom tolerance may be used.
When viewed in 2D (ignoring Z), a path (which may define the border of a polygon) may appear to be closed as shown in the left figure below. This same path, when viewed in 3D, may appear to be open as shown in the right figure below.
要指定如何(和if)路径应在3D中关闭,选择其中一个列出的模式。
Mode | 描述 | 例子 |
---|---|---|
Extend | 曲线延伸,使所有顶点留在原始位置。 | |
平均 | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值是原始两个的平均值。 | |
第一次获胜 | Subsequent vertices that are not connected, but share an x and a y value are combined into one vertex, whose Z value is taken from the first encountered vertex. | |
Last Wins | Subsequent vertices that are not connected, but share an x and a y value are combined into one vertex, whose Z value is taken from the last encountered vertex. | |
忽视 | z值忽略。没有更改节点连接的方式。 |
Choose how aggregate geometries are to be handled.
Deaggregate:Decompose aggregates into their individual components. With this setting, the transformer might output more features than were given as inputs.
拒绝:Do not process aggregates and output them via the
The attribute identified by this parameter will store the number of input polygons dissolved into an output polygon.
For example, if 3 input polygons dissolved into 1 polygon, then that 1 polygon would have this attribute set to 3.
属性累积
Specifies how attributes should be accumulated. If删除属性选中,所有传入属性都从功能中删除。使用一个功能的属性takes all attributes from the largest source feature.Merge Attributes合并重叠段的所有属性。如果存在冲突,则在两步过程中将保留输入多边形的属性:
- 首先,将从其中一个具有最大区域的多边形的属性复制到输出多边形上。
- 其次,所有其他输入多边形的属性将被复制,而不会覆盖到输出多边形。
Any attributes specified in this field will undergo statistical accumulation.
例如,如果两个输入多边形具有设置为30000和50000的属性“薪水”,则将它们求和将导致80000的“薪水”在总输出上。
Any attributes specified in this field will undergo statistical accumulation.
For example, if two input polygons have an attribute “salary” set to 30000 and 50000, then averaging them would result in a “salary” of 40000 on the aggregate output.
Any attributes specified in this field will undergo statistical accumulation.
例如,如果两个输入多边形具有设置为30000和50000的属性“工资”,则第二多边形比第一多边形大3倍,则加权平均值为45000。
Attributes to Average, Weighted by Area如果某些输入特征具有零或没有区域,则可能会产生非数字结果。
生成列表
This parameter specifies the name of a list into which the attributes of the input features are stored. Attributes from a feature with the largest area are stored at the head of the list, and no order is defined for the remaining elements.
例如,如果将3个输入多边形溶解到1多边形,则1个多边形将具有3个条目的列表,每个列表每个包含来自3个输入多边形之一的一组属性。
笔记:List attributes从工作台中的输出架构无法访问,除非首先使用在它们上操作的变压器处理它们,例如ListExploderorListConcateator。或者,attributeexposer.可以使用。
所有属性: Every attribute from all input features that created an output feature will be added to the list specified in列表名称。
Selected Attributes: Only the attributes specified in theSelected Attributesparameter will be added to the list specified in列表名称。
要添加到列表的属性Add To List是Selected Attributes。
例子
The example below shows areas before and after a Dissolver transformer was used.
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, see变压器参数菜单选项。
变压器类别
FME Community
FME社区是演示亚搏国际在线官网,TOS,文章,常见问题和更多的地方。获取您的问题的答案,从其他用户学习,并建议,投票和评论新功能。
Search for samples and information about this transformer on theFME Community。
关键词:聚合“技术预览”