鲷鱼
带来线条,部分,特征的端点或顶点,如果它们彼此在一定距离内,并且(可选)如果它们有一个或多个共同属性。
两者之间的区别AnchoredSnapper捕捉器是指锚点特征被认为是准确的,因此不会移动。
Output Ports
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
其几何图形由变压器更改的功能。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
使变压器保持不变的特性。
Parameters
变压器
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
如果分组依据选择属性,特征仅捕捉到“按属性分组”中具有相同值的其他特征。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
注:并行处理如何与FME一起工作:请参见关于并行处理有关详细信息。
此参数确定Transformer是否应跨并行进程执行工作。如果启用了,将为指定的每个组启动一个进程分组参数。
并行处理级别
例如,on a quad-core machine,minimal parallelism will result in two simultaneous FME processes.Extreme parallelism on an 8-core machine would result in 16 simultaneous processes.
您可以尝试使用此功能,并在Windows任务管理器和工作台日志窗口中查看信息。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
No:这是默认行为。Processing will only occur in this transformer once all input is present.
按组:此变压器将按顺序处理输入组。更改的值分组依据parameter on the input stream will trigger batch processing on the currently accumulating group.如果群体较大/复杂,这将提高整体速度,但是,如果输入组没有真正排序,则可能会导致不需要的行为。
Parameters
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
当此参数设置为End Point Snapping,变压器:
- Snaps lines together if the distance between their end points are within the specified tolerance.
- 如果点或线的距离在指定的公差范围内,则将点特征捕捉到点或线。
- Area features will not be altered by the transformer when run in this mode.
- 当两个特征被捕捉在一起时,最近进入工厂的功能是修改的功能
当此参数设置为顶点捕捉,the transformer does the following:
- Snaps vertices of lines together if their distances are within the specified tolerance.
- 如果点或线的距离在指定的公差范围内,则将点特征捕捉到点或线。
- Area features are altered by this operation as its vertices are snapped.
- 当两个特征被捕捉在一起时,the feature that entered the factory most recently is the one that is modified.
当此参数设置为Segment Snapping,the transformer does the following:
- Snaps vertices of lines together if their distances are within the specified tolerance.
- 如果段的距离在沿段的任何点的指定公差内,则将段的顶点捕捉到其他段。新顶点将被引入到新捕捉顶点已移动到的线段。
- 分段捕捉可能导致重复点,where segments have degenerated to a point.
- Segments which cross other segments will have new vertices introduced at the point of intersection,但这些部分将保持完整。
- Area features are altered by this operation as its vertices and segments are snapped.
- 如果一段和一点都在公差范围内,变换器将捕捉到一个顶点,而不是片段,即使在这段距离更近的时候。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
贴紧容差指定距离,地面部队,捕捉发生在特征之间。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
此参数仅在捕捉特征的端点时适用。它控制捕捉线时如何修改线。
- 从未:线的端点在捕捉时移动,不添加其他顶点。
- 总是: the original end point (start point) of the line becomes the second from the end (start) and a new vertex is added to complete the snap.
- 仅前进\: a new vertex is added only when doing so creates an angle greater than 90 degrees with the original line segment.在这种情况下,if adding the vertex would cause a less than 90-degree angle,旧的终点仍在移动。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
任何进入变压器的长度小于或等于公差的特征都将被特殊处理:它们将被输出为Untouched,and other features (but not other short features) will not be able to snap to them.如果未选择该选项,这样的功能将折叠到一个点,并将被删除。
高级清洗参数
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
什么时候?Snapping Type是Segment Snapping,此转换器执行数据清理,这是为了在其他算法中使用结果时提高结果的稳健性,方法是确保捕捉输出中没有两个顶点在彼此的清理公差范围内。
如果清洁公差模式is set to自动,将自动计算清洁操作的清洁公差,基于输入的大小。如果设置为Custom,用户可以指定Cleaning Tolerance.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
如果清洁公差模式是Custom,theCleaning Tolerance指定距离,地面部队,在功能之间进行清洁。
Usage Notes
捕捉后执行短清理步骤。此步骤将删除重复点,and may create aggregates to preserve overlapping,directed segments.
任何由于被捕捉而经历维度崩溃的特性都将被记录为“退化”并丢弃。Dimensional collapse refers to a line or area that becomes a point,or an area that becomes a line.
Related Transformers
- 捕捉器似乎捕捉到找到的第一个合适的候选对象,然后忽略其他可能的候选对象。如果这不是你要找的,theCoordinateRounder可能有用。
- 在尝试更复杂的操作之前,可以使用Snapper清理数据集,例如构建多边形。在这种情况下经常使用的其他变压器是LineExtender和交叉线.
- TheAnchoredSnappertransformer provides slightly different functionality by identifying a set of features which will not be moved and will be snapped to by another set of features.
Example
下面的示例说明了两个线特征捕捉在一起的端点。
下面的示例说明了一个端点和一条线的顶点对齐。
下面的示例说明了捕捉到另一段的段的顶点。
编辑变压器参数
使用一组菜单选项,transformer parameters can be assigned by referencing other elements in the workspace.More advanced functions,例如高级编辑器和算术编辑器,在一些变压器中也有。要访问这些选项的菜单,点击beside the applicable parameter.For more information,看见变压器参数菜单选项.
变压器类别
FME许可级别
FME Base edition and above
Search FME Knowledge Center
在上搜索有关此变压器的示例和信息FME知识中心.