拓扑基础
计算输入点,线路和/或区域特征上的拓扑。
该变形器不认为所有输入数据都清洁并正确编码,除非假设清洁数据被设定为是的。It takes any data and constructs the resulting topology after computing any intersections that are present in the input data.
输入端口
变压器接受节点,行和区域功能。一种ggregate和多功能无效,否则将被拒绝,除非Deaggregate Input.被设定为是的。
输出端口
每个拓扑原语都以描述其拓扑关系的属性输出。
笔记:Unlike most transformers, you cannot name these attributes.
拓扑上有效的节点(点几何)通过该端口输出。
属性 | 描述 |
---|---|
_node_number |
每个节点的唯一标识符。 |
_node_angle {} |
列表属性描述连接到节点的每个边缘的拓扑关系。此列表中的边缘是逆时针排序的。 |
_node_angle {}。fme_arc_id |
The ID of the edge connected to this node. The magnitude of the ID corresponds to the _edge_id of the connected edge. If the ID is positive, the start of the edge is connected to the node. If the ID is negative, the end of the edge is connected to the node. |
_node_angle {}。fme_arc_angle |
The angle of the tangent line of the edge at the node. |
Topologically significant edges (curve geometries) are output via this port.
属性 | 描述 |
---|---|
_dege_id. |
每个边缘的唯一标识符。 |
_right_face. |
此边缘右侧的框架_face_id。 |
_left_face. |
该边缘左侧的框架_face_id。 |
_right_edge. |
在沿着此边沿行驶并在_to_node右转时发现的边缘的_dege_id。如果ID为正,则右边缘将远离_to_node。如果ID为负,则右边缘朝向_to_node。 |
_left_edge. | 在沿此边沿向后行驶并在_from_node右转时,找到的边缘的_EDGE_ID。如果ID为正,则左边缘将远离_from_node。如果ID为否定,则左边缘朝向_from_node。 |
_from_node | The _node_number of the node at the start of this edge. |
_to_node. | 该边缘结束时节点的_node_number。 |
_Faces. | Comma-separated list of the IDs of the faces this edge borders. The magnitude of the ID corresponds to the _face_id of the bordered face. If the ID is positive, the face boundary contains this edge. If the ID is negative, the face boundary contains the reverse of this edge. |
通过该端口输出拓扑上的面孔(区域几何)。
属性 | 描述 |
---|---|
_face_id. |
每个脸部的唯一标识符。 |
_Faces. |
逗号分隔的_face_ids列表对于每个脸部的_face_ids此脸部共享边缘。 |
_周长 |
The length of the outline of the face in 2D. |
_area |
2D面积的面积。 |
_对策 | 逗号分隔的编写该面的边的ID列表。一个0条目分隔不同边界的边缘。id的幅度对应于包含边缘的_dege_id。如果ID为正,则面边界包含此边缘。如果ID为否定,则面边界包含此边缘的反向。边缘ID与边缘使用的顺序相同,用于制作面部的边界。 笔记:The在输出多边形上提供边界弧parameter changes the behaviour of the _edges attribute. For more information, see the section below that describes this parameter. |
The output area, by subtraction, represents everything not covered by the faces.
属性 | 描述 |
---|---|
_face_id. |
The unique face identifier of the universe is always 0. |
_周长 |
2D中宇宙轮廓的长度。 |
_area |
2D中的宇宙区域。 |
_对策 | 逗号分隔的编写宇宙边的ID的名单。一个0条目分隔不同边界的边缘。id的幅度对应于包含边缘的_dege_id。如果ID为正,Universe包含此边缘。如果ID为否定,Universe包含此边缘的反向。边缘ID与边缘用于制作宇宙边界的顺序相同。 笔记:The在输出多边形上提供边界弧parameter changes the behaviour of the _edges attribute. For more information, see the section below that describes this parameter. |
没有点,文本,曲线或区域几何形状的特征是通过此端口输出的,以及附加属性fme_reimpe_code,以指示拒绝原因。
Parameters
Transformer
输入特征可以基于属性值分组成单独的拓扑集。所有属性都将从输入功能携带到输出功能。
笔记:平行处理如何与FME一起使用:见关于并行处理for detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by theGroup By范围。
并行处理水平s
Parameter | Number of Processes |
---|---|
没有平行 | 1 |
最小 | 核心处理器或CPU是执行数学计算的计算机的物理部分。它是计算机系统中最重要的部分。传统的处理器在处理器上只有一个核心,这意味着在任何给定时间,只执行一组计算。如果处理器是双核,这意味着单个芯片包含两个处理器的硬件,现在称为核心,以将它们与单个芯片相同,并排沿同时运行。(来源:http://www.ehow.com/facts_5730257_computer-core-processors_.html)/ 2 |
中等 | exact number of cores |
挑衅的 | 核心x 1.5 |
极端 | 核心x 2 |
例如,在四核机器上,最小的并行性将导致两个同时的FME进程。8核机上的极端并行性将导致16个同时流程。
您可以尝试此功能,并在Windows任务管理器和Workbench日志窗口中查看信息。
是的:此变压器将按顺序处理输入组。改变价值Group By输入流上的参数将触发当前累计组上的批处理。如果组很大/复杂,则会提高整体速度,但如果输入组未真正订购,则可能导致不期望的行为。
不:这是默认行为。只有在存在所有输入时,处理将在此变换器中发生。
Parameters
The number indicates the maximum length to output any edge. If any line contains more than this number of coordinates, it will be broken into pieces which are output separately, each with their own edge IDs, and correctly noded. A value of 0 indicates an unlimited number of coordinates per edge.
如果设置为是的,变换器完全进入没有共线圈或重叠节点的模式,无论它们来自源线性特征,还是从源区特征或输入点的边界,或计算为交叉点。在此模式下,与至少一个直接输入重叠的所有输出边缘或节点都包含列表属性(_overlapping_Input_data.)有关其重叠的每个输入的信息。此关键字将列表属性的字段名设置为包含所有属性(以后的几何属性除外FME_) from all of the input lines or points that were overlapping with the final output edge or node.
该选项的副作用是仅在计算中仅考虑形成面部边界部分的边缘_left_edge.和_right_edge.。(All edges originating only from line input will have their own ID supplied as their left edge ID, and the negation of this as their right edge ID.)
当此参数设置为时全部,变压器执行以下操作:
- 输出面上的所有边缘将在逗号分隔中列出_对策属性。一种0进入分隔不同边界的边缘。一个例子_对策属性是“1,2,3,0,5,7”。
- 如果Universe由多个脱节区域组成,则它将作为具有多体区域几何的单个功能返回。
当此参数设置为时First Per Boundary,变压器执行以下操作:
- 每个边界的第一边缘将在_对策列表属性。示例列表是_对策{0} = 1,_对策{1} = 5,_edges {2} = 7。
- 无论边缘的方向如何,该值将始终为正。
- 如果Universe由多个脱节区域组成,则每个区域将返回不同的功能。
当此参数设置为时First Per Outer and Disjoint Inner Boundary,变压器执行以下操作:
- 每个外部边界的每个外边界的第一边缘将在_对策列表属性。如果an inner boundary is topologically connected to the outer boundary, it is not considered disjoint. If two inner boundaries are topologically connected to each other, only one is considered disjoint. An example list is_对策{0} = 1,_对策{1} = 5。
- 无论边缘的方向如何,该值将始终为正。
- 如果Universe由多个脱节区域组成,则每个区域将返回不同的功能。
如果从输入传播所有属性被设定为是的, attribute lists are added to each output feature, composed of attributes from the relevant input features. For each node, this will be a list of edges and a list of faces touching the node; for edges, there will be a list of nodes and a list of faces; and for faces, a list of nodes and a list of edges.
对于节点:
- 边缘属性将存储在_node_angle {}列表中。此列表逆时针排序。
- 面部属性将存储在_faces {}列表中。此列表未订购。
对于边缘:
- 节点属性将存储在_nodes {}列表中。启动节点的属性将是列表中的第一个条目。如果终端节点与启动节点不同,则结束节点的属性将是列表中的第二个条目。
- 面部属性将存储在_faces {}列表中。此列表未订购。
For faces:
- 节点属性将存储在_nodes {}列表中。此列表未订购。
- 边缘属性将存储在_edges {}列表中。该列表中的边缘与边缘用于制作面部边界的顺序相同。
如果设置为是的,输入特征将通过扁平所有级别和多几何形状进行分析。复合几何形状不会被分割,几何实例不会被爆炸。如果设置为不,输入功能不会被脱模,并将根据其根级几何进行接受或拒绝。
保留内部边缘(高级)指定侧面内的坐标“循环”允许,并将保留。“循环”是在同一面部边界中发生两次的边缘(在每个方向上一次);边缘的ID将在该面的边缘列表中显示两次,在一个实例中为正,另一个实例和否定。
假设清洁数据(高级)specifies that the input is topologically clean and noded properly and therefore no intersection will be performed. To be topologically clean, the data must contain no un-noded self intersections; this may be confirmed using the appropriate Self Intersection rule insideGeometryValidator.。类似地,应该确认的几何形状之间的所有交叉点必须在交叉点处具有坐标。如果假设清洁数据是假的,在构建拓扑之前计算数据的交叉点。
例子
编辑变压器参数
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变换器参数菜单选项。
变压器类别
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center。
Tags关键词:连接集线器拓扑化器