12
Lightning Talk: Introducing the GeometryValidator FME World Tour, April 2013 Tony Kent Applications Engineer IMGS

Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

  • Upload
    imgs

  • View
    293

  • Download
    0

Embed Size (px)

DESCRIPTION

New in FME 2013 - Combines the functionality of SelfIntersector, OGCGeometryValidator and more… into one transformer - 2D & 3D Validation Tests Enables you to - Check for and repair invalid geometries - Select the issues you wish to detect - Repair common issues

Citation preview

Page 1: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

Lightning Talk: Introducing the GeometryValidator

FME World Tour, April 2013

Tony Kent Applications Engineer IMGS

Page 2: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

GeometryValidator

New in FME 2013

Combines the functionality of SelfIntersector, OGCGeometryValidator and more… into one transformer

2D & 3D Validation Tests

Enables you to

Check for and repair invalid geometries

Select the issues you wish to detect

Repair common issues

Enhanced feedback - Reports information about issues with attributes and geometry

Page 3: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

Geometry Validation

PASSED detection

FAILED detection

Detection

PASSED detection

FAILED to repair

REPAIRED fully

Repair

Issue Reporting

.issue_found

.location_sample.x

.location_sample.y

etc

Only repair if applicable – some systems/organisation might not want to repair

Page 4: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013
Page 5: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

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 – not repairable

OGC Examples

Page 6: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

Things to Keep in Mind

Ordering of issues is important

Certain repairs may change geometry type

Some business rules need to be applied, only repair if applicable

General strategy

Reduce input down to 1 feature. This should always be possible.

Separate GeometryValidators into a minimum set of single-operation validations.

Example 1_self_then_OGC.fmw

Page 7: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

Issue Reporting

General Description stored in attribute

Issue location stored as a geometry trait

Stores information on multiple issues

Example 3_GVLogger.fmw

Page 8: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

MyPlan.ie

Upload LA Development Plans

Prior to submitting data, checks need to be made

Don’t pass, not accepted for upload

Geometry checks

Self-intersections

Overlaps

Slivers

Empty parts

Unclosed rings

Null Geometries

Example MyPlanGV.fmw

Page 9: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

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 10: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

3D Validation - Detection

Page 11: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

3D Validation - Repair

Page 12: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013

Questions