Introducing the Geometry Validator

Post on 21-Jun-2015

2,610 views 0 download

Tags:

transcript

Lightning Talk: Introducing the GeometryValidator

April – June 2013

GeometryValidator

New in FME 2013 Combines the functionality of SelfIntersector,

OGCGeometryValidator and more… 2D & 3D Validation Tests

Enables you to Check for and repair invalid geometries Select the issues you wish to detect Repair common issues

Reports information about issues on attributes and geometry traits

Geometry Validation

PASSED detectionFAILED detection

Detection

PASSED detectionFAILED to repairREPAIRED fully

Repair

Issue Reporting .issue_found .location_sample.x .location_sample.y .location_sample.z .repair_state

Validation Tests

12 tests so far and more will be added NaNs or infinities Null geometry parts Duplicate consecutive points Degenerate or corrupt geometries Self-intersections Missing vertex normals OGC simple and valid

OGC Examples

Things to Keep in Mind

Ordering of issues is important

Certain repairs may change geometry type

General strategy Reduce input down to 1 feature. This should always

be possible. Separate GeometryValidators into a minimum set of

single-operation validations.

Example

Issue Reporting

General Description stored in attribute

Issue location stored as a geometry trait

Stores information on multiple issues

Example

Example

3D Geometry Validation

Checks for solids with inverted faces, dangling surfaces, unsealed solids, etc.

Flag errors with meaningful attributes and geometric locations of the errors.

Repair option for 3D surfaces and solids.  

3D Validation - Detection

3D Validation - Repair

Thank You!

Questions?