邻居aggregator.
Createsaggregatesof features based on their proximity to each other. Each aggregate that is created covers approximately the neighborhood width and height (measured in feature ground units).
该变形器用于减少没有个别属性的“壁纸”功能的数据量。可以使用比每个特征自身输出的记录输出到系统的系统输出到系统。对于支持聚合或多零件特征的系统,这可能导致实质性的性能改进和大大降低存储要求。
Parameters
变压器
如果你没有选择通过...分组属性,然后所有功能都属于同一组。
当你选择通过...分组attributes, this transformer will aggregate the geometries of the input features, based on the selection in the通过...分组参数。每个具有相同值的特征组通过...分组属性将独立于其他组进行处理。
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: ">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
这些参数在接地单元中测量,将输入空间划分为单元格。结果是细胞网格,其围绕起点(0,0)的所有方向扩展。每个输入功能的边界框的中心用于确定要素的单元格。一旦读取所有输入功能,从每个单元格中的所有功能都会创建聚合功能。如果输入线性特征,则它们将在其单元格中删除伪节点,以进一步减少单独的实体的数量。没有这样的减少对进入的任何多边形或甜瓜进行。
Note: ">Note:To view the grid of cells that is created from these parameters, use the2DGridCreator。指定0,5对于Starting X Coordinate和Starting Y Coordinate, respectively, and the same values forColumn Width和Row HeightasNeighborhood Width和邻里高度, respectively.
When you set this parameter, neighborhoods with fewer than the specified number of features are merged with a vertical neighbor area in order to increase the number of members. You can prevent this from happening by setting the parameter to 0 (zero).
Attribute Accumulation
如果删除传入的属性选择,输出功能将不会保留任何输入属性。如果Merge Incoming Attributesis chosen, the output feature will merge all input attributes. IfUse Attributes From One Featureis chosen, the output feature will get attributes from only one input feature.
Generate List
如果aList Name指定了,然后输入功能的所有属性将作为输出特征中列表属性条目的一部分存储。
Note: ">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
编辑变压器参数
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变压器参数菜单选项。
定义值
有几种方法可以在变压器中定义使用的值。最简单的是简单地输入值或字符串,其可以包括各种类型的函数,例如属性引用,数学和字符串函数和工作区参数。有许多工具和快捷方式可以帮助构造值的值,通常可以从与值字段相邻的下拉上下文菜单中提供。
使用文本编辑器
The Text Editor provides a convenient way to construct text strings (including regular expressions) from various data sources, such as attributes, parameters, and constants, where the result is used directly inside a parameter.
Using the Arithmetic Editor
The Arithmetic Editor provides a convenient way to construct math expressions from various data sources, such as attributes, parameters, and feature functions, where the result is used directly inside a parameter.
Conditional Values
根据通过或失败的一个或多个测试条件设置值。
内容
Expressions and strings can include a number of functions, characters, parameters, and more.
设置值 - 无论是否直接在参数中输入或使用其中一个编辑器和包含字符串的表达式都是构造的,都会评估这些函数的字符串和表达式。因此,这些函数的名称(以@ <function_name.>) should not be used as literal string values.
These functions manipulate and format strings. | |
Special Characters |
A set of control characters is available in the Text Editor. |
两个编辑器都有数学函数。 | |
日期/时间函数 | Date and time functions are available in the Text Editor. |
These operators are available in the Arithmetic Editor. | |
这些主要是特定于特征的值。 | |
可以使用FME和工作区的参数。 | |
创建和修改用户参数 | 创建自己的可编辑参数。 |
对话框选项 - 表格
具有桌面参数的变压器具有填充和操作值的其他工具。
Row Reordering |
Enabled once you have clicked on a row item. Choices include:
|
Cut, Copy, and Paste |
Enabled once you have clicked on a row item. Choices include:
Cut, copy, and paste may be used within a transformer, or between transformers. |
过滤 |
开始键入字符串,矩阵仅显示匹配这些字符的行。搜索所有列。这仅影响变换器内的属性的显示 - 它不会更改输出哪个属性。 |
进口 |
进口populates the table with a set of new attributes read from a dataset. Specific application varies between transformers. |
重置/刷新 |
Generally resets the table to its initial state, and may provide additional options to remove invalid entries. Behavior varies between transformers. |
Note:Not all tools are available in all transformers.
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社亚搏国际在线官网区。
关键词:MBR“最小边界矩形”笨蛋邻居曲线