You are here: 数据质量 > Matcher

Matcher

检测彼此匹配的功能。在具有匹配的几何形状,匹配属性值或两者匹配时,将声明要匹配。也可以指定必须在要素之间不同的属性列表。

Jump to Configuration

典型的用途

  • 改变检测
  • 基于几何形状的特征合并(数据加工)

它是如何工作的?

匹配器可以接收任何数量的输入要素流。将所有功能与所有其他功能进行比较,并根据定义的参数识别匹配。

匹配选项包括几何和/或属性,您还可以定义必须不同的属性。

All features that find a match are output via theMatched端口(即,如果两个特征互相匹配,则它们都在此处输出)。每组匹配都是给出一个新的数字匹配ID属性,可用于将它们标识为匹配组。

每组匹配功能的单个副本被发送到单疫园港口。这些功能的属性被合并到一个输出功能。使用此端口,匹配器能够使用几何作为键进行多重功能合并。这补充了这一点featuremerger.,只接受属性,而不是几何形状,作为键。

找不到匹配的功能通过毫透明港口。

Usage Notes

  • The换档板提供一种替代(但较少的一般)方法,对某些应用可能更方便。
  • 在仅基于属性的匹配项时,请考虑FeatureJoiner或者featuremerger.为了更好的性能。

Choosing a Feature Joining Method

许多变形金刚基于匹配属性,表达式和/或几何来执行数据加入。选择一个特定的加入任务时,考虑因素包括连接,数据格式,索引,冲突处理和期望结果的复杂性。一些变形金刚使用SQL语法,并直接访问外部数据库。他们可能会或可能不支持列表属性reading and creation.

通常,选择最专用于您需要完成的任务的那个将提供最佳性能结果。如果有多种方式来做(通常是这种情况),则在性能测试备用方法上花费的时间可能是值得的。性能可能会因读取外部表而存在的密钥索引(而不是在工作区中的功能)时变化。

配置

输入端口

输出端口

Parameters

Editing Transformer Parameters

使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options

定义值

There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Reference

Processing Behavior

基于小组

Feature Holding

Yes

Dependencies 不ne
FME Licensing Level FME基本版及以上
别名
历史

类别

数据质量

FME Knowledge Center

The FME Knowledge Center 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.

搜索all results about the Matcher在FME知识中心。

Examples may contain information licensed under the Open Government Licence – Vancouver