你在这里: 数据质量 > GeometryValidator.

GeometryValidator.

Detects selected issues in input features, and optionally repairs detected issues.每个输入功能都是单独处理的。

GeometryValidator是一个非常强大的变压器,适用于高级用户。帮助主题包括许多参考部分:

Input Dependencies for Issues

出现问题的输出依赖项,假设输入依赖项受到尊重

Input Ports

输出端口

Parameters

笔记:To fully understand the choices and information in these parameters, please refer to other sections of this help topic.

Issue Detection and Repair

有关检测到和/或修复的问题的更多信息,请参阅GeometryValidator问题表

Issue detection only occurs within geometries, including geometric properties such as text rotation and arc sweep angle. That means attributes,traits未处理几何名称和其他非几何属性。

具有几何形状的功能,无舒适的测试(如区域方向测试中的线特征)计数为PASS,没有尝试修复。

In general, input geometry types are preserved unless they cannot be.

例如,退化为点的弧不能仍然是弧形,同时是非退化的。所以,当问题Degenerate and Corrupt Geometriesis selected, and尝试修复is set toYes那the arc should be repaired into a point.

另外一个例子,一个甜甜圈,其中包含non-degenerate outer shell, a degenerate hole, and a non-degenerate hole can remain a donut after degeneracy repair. The donut simply drops the degenerate hole, and remains a donut.

如果输入几何包含多个问题,但仅检测到它们的子集并修复,期望未定义的行为。例如,如果仅用于退化和腐败的含有NaN(不是多数)的弧,则该弧中的NAN的数量可能会增加。作为另一个例子,如果您尝试修复退化几何形状中的自交叉,它可能会出现不同的几何类型并失去其坐标。

通常,某些问题的检测和修复取决于没有其他问题。此外,在修复特定问题期间,可以创建其他问题。在某些情况下,可能需要使用多个GeometryValidator变压器来消除所有感兴趣的问题。如果遵守输入问题依赖项,则应期望问题修复操作的输出不再包含该问题。

Input Dependencies for Issues

以下问题的检测和修复取决于没有其他问题:

Degenerate or Corrupt Geometries no NaNs or infinities in input

2D中的自交叉点

提示:为避免未定义的行为,选择退化或损坏的几何形状,并在选择2D中选择自交叉之前,包含NaN(不是数字)或无限位。

没有NAN,INFINICE,DEGERARACIE或输入中的损坏
不n-Planar Surfaces no NaNs or infinities in input
无效的扎实边界或者Invalid Solid Voids no NaNs or infinities, duplicate consecutive coordinates, degeneracies or corruptions, or self-intersections within individual faces in input
Invalid Solid Voids no invalid solid boundaries

出现问题的输出依赖项,假设输入依赖项受到尊重

修复以下问题可以产生其他问题:

包含NaN(不是数字)或无穷大 可以产生退化的产出
Degenerate or Corrupt Geometries 可以产生自相交的输出
包含null几何部件 可以产生退化的产出
Duplicate Consecutive Points 可以产生退化的产出
2D中的自交叉点 可以产生退化的产出
无效的扎实边界 can produce degenerate faces in the boundary

问题的推荐顺序检测部ilt into theIssue柱子。如果a different ordering is desired, highlight an issue, then click the up and down arrows on the right side of the issues table.

Tip:检测和修复的不同问题可能会导致输出几何形状更改。

编辑变压器参数

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

变压器类别

数据质量

FME Licensing Level

FME Desktop edition and above

Search FME Knowledge Center

搜索这个tran样品和信息sformer on theFME知识中心

标签关键词:几何形式换网机几何特定方法Mender Fixer Nanremover InfinityRemover NULLREMOVER IFMENULLREMOVER PEREFERYRYPAREPARER DEGENERYGEORTRERERERER MESHNORMARREPAIRER FeatureValidator GeometRypairer FeatureCleaner GeometRyogCValidator SelfInterscorto ogc-simple-valid重复损坏的自我相交的自交叉损坏的错误数据修复修复错误数据