锚定纳普佩
采用一系列匹配输入规范的功能,并执行与符合输入规范匹配的其他功能的指定公差内的功能。您可以使用此变换器在翻译期间对数据执行清洁操作。
锚定的纳皮珀与and的差异Snapper是锚固功能被认为是准确的,因此不会移动。
Input Ports
可能有的功能候选人功能扣为他们。弧作为线性特征扣为线性特征,省略号被捕获为多边形功能。
可能会捕获的功能Anchorfeatures. Arcs are snapped as linear features, and ellipses are snapped as polygonal features.
输出端口
变压器改变的几何图形的候选者。
候选人s that leave the transformer without being changed.
The anchors that were used during snapping. If a candidate was snapped to a point along the segment of an anchor, a new node is inserted into the anchor’s geometry.
参数
变压器
如果you selectGroup Byattributes, only those features with the sameGroup Byattribute values will be snapped together.
笔记:平行处理如何与FME一起使用:见关于并行处理有关详细信息。
此参数确定变压器是否应跨行进程执行工作。如果启用了,将为每个组的组启动一个过程Group Byparameter.
并行处理水平
范围 | 过程数量 |
---|---|
不票面价值allelism | 1 |
Minimal | 核心处理器或CPU是执行数学计算的计算机的物理部分。它是计算机系统中最重要的部分。传统的处理器在处理器上只有一个核心,这意味着在任何给定时间,只执行一组计算。如果处理器是双核,这意味着单个芯片包含两个处理器的硬件,现在称为核心,以将它们与单个芯片相同,并排沿同时运行。(来源:http://www.ehow.com/facts_5730257_computer-core-processors_.html)/ 2. |
Moderate | 确切数量的核心 |
Aggressive | 核心x 1.5 |
极端 | 核心x 2 |
例如,在四核机器上,最小的并行性将导致两个同时的FME进程。8核机上的极端并行性将导致16个同时流程。
您可以尝试此功能,并在Windows任务管理器和Workbench日志窗口中查看信息。
不:This is the default behavior. Processing will only occur in this transformer once all input is present.
By Group:This transformer will process input groups in order. Changes on the value of theGroup By输入流上的参数将触发当前累计组上的批处理。如果组很大/复杂,则会提高整体速度,但如果输入组未真正订购,则可能导致不期望的行为。
参数
WhenSnapping Type是End Point Snapping:
- 变压器捕捉通过该功能的功能的端点候选人通过通过该功能进入的功能的端口Anchor港口。Anchor不输出特性。
- Point features can be used asAnchor或者候选人功能和候选人点也将被捕获(或线性基础特征)。
- 变压器不会改变区域特征。
WhenSnapping Type是顶点捕捉:
- 变压器会卡扣通过通过的功能的顶点候选人通过通过该功能进入的功能的端口Anchor港口。Anchor不输出特性。
- Point features can be used asAnchor或者候选人功能和候选人点将被捕获在一起(或线性Anchor功能)也是如此。
- 变压器将改变区域特征。
当此参数设置为时Segment Snapping:
- 变压器捕捉通过该曲线或点输入的顶点候选人通过此输入的功能Anchorport, if their distances are within the specified tolerance.Anchor不输出特性。
- 变压器卡扣顶点候选人段Anchor分段如果它们的距离在沿着该段的任何点处的指定公差范围内。
- 候选人segments which crossAnchorsegments will have new vertices introduced at the point of intersection, but the候选人segments will not be split.
- 段捕捉可能导致重复点,其中段已退化为一个点。
- 由于其顶点和段捕获,该操作改变了区域特征。
- 如果a segment and a point are both within tolerance, the transformer will snap to a vertex in preference to a segment, even when the segment is closer.
捕捉宽容指定在特征之间发生捕捉的距离。
此参数仅在要捕获功能的结束点时才适用。
- 绝不:当捕获时,线的端点将移动,并且不添加其他顶点。
- 总是:线的原始终点(起始点)成为从末尾的第二个(开始),并添加新顶点以完成捕捉。
- forward_only:仅在执行此操作时添加一个新的顶点,该角度与原始线路段创建大于90度的角度。在这种情况下,如果添加顶点会导致少于90度角,则旧端点仍然移动。
高级清洁参数
WhenSnapping Type是Segment Snapping, this transformer performs data cleaning that is meant to improve the robustness of the results when they are used in other algorithms by ensuring that no two vertices in the snapped output are within cleaning tolerance of each other.
如果清洁公差模式是set to汽车,基于输入的大小,将自动计算清洁公差以用于清洁操作。如果设置为Custom,用户可以指定一个Cleaning Tolerance。
如果清洁公差模式是Custom, 这Cleaning Tolerancespecifies the distance, in ground units, that cleaning occurs between features.
Usage Notes
- Any feature that undergoes dimensional collapse as a result of being snapped will be logged as "degenerate" and dropped. "Dimensional collapse" refers to a line or area that becomes a point, or an area that becomes a line.
- A short cleanup step is performed after snapping. This step will remove duplicate points, and may create aggregates to preserve overlapping, directed segments.
例子
FME许可级别
FME Professional Edition and above
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变压器范围Menu Options。
变压器类别
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。
标签关键词:FixedSnapper BasesNapper