Date post: | 20-Jun-2015 |
Category: |
Technology |
Upload: | imgs |
View: | 293 times |
Download: | 0 times |
Lightning Talk: Introducing the GeometryValidator
FME World Tour, April 2013
Tony Kent Applications Engineer IMGS
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
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
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
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
Issue Reporting
General Description stored in attribute
Issue location stored as a geometry trait
Stores information on multiple issues
Example 3_GVLogger.fmw
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
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
Questions