11
Lightning Talk: Introducing the GeometryValidator April – June 2013

Introducing the Geometry Validator

Embed Size (px)

Citation preview

Page 1: Introducing the Geometry Validator

Lightning Talk: Introducing the GeometryValidator

April – June 2013

Page 2: Introducing the Geometry Validator

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

Page 3: Introducing the Geometry Validator

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

Page 4: Introducing the Geometry Validator
Page 5: Introducing the Geometry Validator

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

Page 6: Introducing the Geometry Validator

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

Page 7: Introducing the Geometry Validator

Issue Reporting

General Description stored in attribute

Issue location stored as a geometry trait

Stores information on multiple issues

Example

Example

Page 8: Introducing the Geometry Validator

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.  

Page 9: Introducing the Geometry Validator

3D Validation - Detection

Page 10: Introducing the Geometry Validator

3D Validation - Repair

Page 11: Introducing the Geometry Validator

Thank You!

Questions?