Dissolver
Dissolves area features by removing common boundaries to create larger areas. Input attributes may be accumulated.
输入端口
- 该变压器接受二维多边形features, including donuts. These polygonal features are broadly referred to as polygons.
- Aggregate input will be deaggregated by the transformer. Attributes on the aggregate feature will be propagated to its parts.
提示:如果需要计算和保留部分特定的属性,例如区域,请保留和保留deaggregatebefore dissolving.
因为聚集体在灾难局内进行了分析,所以输出功能的数量可能超过输入功能的数量。
- 当移除相邻多边形之间的共用边缘和内边缘时,形成溶解的多边形。
Output
Dissolved polygon features with specified attributes.
溶解后留下的几何和属性。
如果thefme_remnant_type.isinterile_line., this remnant is a linear feature that represents the portions of the input polygons which were not part of the output dissolved polygon because the linear feature was either collinear with another feature, or was inside an overlapping region.
如果thefme_remnant_type.isUNUSED_DATA,此遗留物是包含不属于溶解输出的剩余输入数据的功能。如果残余功能具有几何形状,则输出中不使用该几何形状。如果剩余功能没有几何形状,则此功能包含输出中未使用的属性。
Non-polygonal features are output via this port.
Parameters
变压器
The input polygonal features may be partitioned into groups for dissolving by using the Group By parameter. If this parameter is not specified, then all input features are processed together. The Group By parameter enables a single factory to dissolve several sets of potentially overlapping polygons.
Process At End (Blocking): This is the default behavior. Processing will only occur in this transformer once all input is present.
Process When Group Changes (Advanced): This transformer will process input groups in order. Changes of the value of the Group By parameter on the input stream will trigger processing on the currently accumulating group. This may improve overall speed (particularly with multiple, equally-sized groups), but could cause undesired behavior if input groups are not truly ordered.
使用两种典型的原因Process When Group Changes (Advanced). The first is incoming data that is intended to be processed in groups (and is already so ordered). In this case, the structure dictates Group By usage - not performance considerations.
The second possible reason is potential performance gains.
最有可能在已经对数据进行排序的(或使用A读取SQL ORDER BY声明)由于FME需要更少的工作。如果数据需求排序,则可以在工作区中排序(尽管添加的处理开销可能会否定任何增益)。
Sorting becomes more difficult according to the number of data streams. Multiple streams of data could be almost impossible to sort into the correct order, since all features matching a通过...分组value need to arrive before any features (of any feature type or dataset) belonging to the next group. In this case, using通过...分组借Process At End (Blocking)可能是等同和更简单的方法。
Note:Multiple feature types and features from multiple datasets will not generally naturally occur in the correct order.
As with many scenarios, testing different approaches in your workspace with your data is the only definitive way to identify performance gains.
Parameters
The minimum distance between geometries in 2D before they are considered equal, in ground units. If the tolerance isNone,几何形状必须完全相同被认为是相等的。如果容忍是Automatic,将基于输入几何形状的位置自动计算公差。另外,可以使用自定义公差。
当在2D中查看(忽略z)时,路径(可以定义多边形的边框)可能看起来是关闭的,如下图所示。在3D中查看时,该路径可能看起来可以打开,如下图所示。
To specify how (and if) paths should be closed in 3D, select one of the listed modes.
模式 | Description | Example |
---|---|---|
延伸 | The Curve is extended so that all vertices are left at their original location. | |
Average | Subsequent vertices that are not connected, but share an x and a y value are combined into one vertex, whose Z value is the average of the original two. | |
First Wins | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值从第一个遇到的顶点取出。 | |
最后的胜利 | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值从最后遇到的顶点取出。 | |
Ignore | Z values are ignored. No change is made to the way the nodes are connected. |
选择如何处理聚合几何形状。
deaggregate:将聚合分解为各个组件。使用此设置,变压器可能会输出比作为输入所提供的更多功能。
Reject:不要处理聚合并通过<被拒绝>港口。
由此参数标识的属性将存储溶解到输出多边形的输入多边形的数量。
例如,如果将3个输入多边形溶解为1多边形,则1个多边形将具有该属性设置为3。
Attribute Accumulation
指定如何累积属性。如果Drop Attributesis selected, all incoming attributes are removed from the features.Use Attributes From One Feature从最大的源功能中获取所有属性。合并属性merges all attributes from overlapping segments. If there are conflicts, attributes from input polygons will be preserved in a two-step process:
- First, attributes from one of the polygons with the largest area will be copied onto the output polygon.
- Second, attributes from all other input polygons will be copied, without overwrite, onto the output polygon.
此字段中指定的任何属性将接受统计累积。
For example, if two input polygons have an attribute “salary” set to 30000 and 50000, then summing them would result in a “salary” of 80000 on the aggregate output.
此字段中指定的任何属性将接受统计累积。
例如,如果两个输入多边形具有设置为30000和50000的属性“薪水”,则平均将导致聚合输出的“工资”为40000。
此字段中指定的任何属性将接受统计累积。
For example, if two input polygons have an attribute “salary” set to 30000 and 50000, and the second polygon was 3 times larger than the first polygon, then the weighted average would be 45000.
属于平均值,由区域加权may produce non-numeric results if some input features have zero, or no area.
Generate List
此参数指定存储输入功能的属性的列表的名称。来自具有最大区域的特征的属性存储在列表的头部,而不为剩余元素定义订单。
For example, if 3 input polygons are dissolved into 1 polygon, then that 1 polygon would have a list with 3 entries, each containing a set of attributes from one of the 3 input polygons.
Note:列表属性are not accessible from the output schema in Workbench unless they are first processed using a transformer that operates on them, such aslist exploder.要么ListConcatenator. Alternatively,AttributeExposercan be used.
All Attributes:从创建输出功能的所有输入功能中的每个属性都将添加到指定的列表中List Name.
选定的属性:只有所指定的属性选定的属性参数将添加到指定的列表中List Name.
The attributes to be added to the list when添加到列表is选定的属性.
Example
下面的示例显示了使用灾难变压器之前和之后的区域。
编辑变压器参数
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变压器Parameter Menu Options.
变压器Categories
FME社亚搏国际在线官网区
The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.
搜索有关此变压器的样本和信息FME社亚搏国际在线官网区.
Keywords: aggregate aggregation "technology preview"