geometry validator, lightning talk_tony kent - safe software fme world tour 2013
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 issuesTRANSCRIPT
![Page 1: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/4.jpg)
![Page 5: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/10.jpg)
3D Validation - Detection
![Page 11: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/11.jpg)
3D Validation - Repair
![Page 12: Geometry Validator, Lightning Talk_Tony Kent - Safe Software FME World Tour 2013](https://reader034.vdocuments.mx/reader034/viewer/2022042700/55855a23d8b42a78328b4bbe/html5/thumbnails/12.jpg)
Questions