25
Level 3: Automating Quality Control Level 3: Automating Quality Control

Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Level 3:Automating

Quality Control

Level 3:Automating

Quality Control

Page 2: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

AGENDA

1

2

3

4

Why do we validate data?

Indoor Mapping standards compliance

Validating CAD data

Validating topology

5 Automating validation workflows

Page 3: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Data validation means checking ...

● Single objects (geometry and attributes)● Relationships between objects● Completeness● Correctness● Standards compliance

Page 4: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Data validation means checking ...

● Schema or data model● Attribute values and domains● Geometry● Topology and spatial relationships● Networks● And more

Page 5: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Venues worldwide are generatingindoor maps of their spaces for:

○ Space management / planning○ Geolocating assets○ Helping patrons navigate

IndoorMappingIndoor

Mapping

Page 6: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Indoor Mapping Challenges

● Must integrate multiple sources toproduce an indoor map.

○ GeoJSON, Revit, IFC, CAD (Autodesk,Bentley), Civil 3D, Esri Geodatabase,databases, CityGML …

● Must transform inconsistent data.

● Must comply with specifications ofthe indoor format, e.g. IMDF, HERE,ArcGIS Indoors, IndoorGML.

○ Strict data models and explicit spatialrelationships.

● Venues constantly change, so mapsneed to be updated automatically.

Page 7: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Tips for Validating Attributes

● Phone Numbers / UUID / Business Names:

○ AttributeValidator and regular expressions(^\+[0-9-]{10,15}$|^$)

● Hours of Opening – OSM Standard:

○ “24/7”, “Mo-Fr 08:30-20:00”

● Websites:

○ Regular expressions^http://|^https://

○ HTTPCaller & HTTP Status Code

Page 8: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Useful Transformers for Validating Geometries

● GeometryValidator – pass only valid geometries.

● GeometryFilter – filter by geometry type and passonly valid ones.

● SpatialFilter or SpatialRelator – ensure valid spatialrelationships.

○ Choosing the right spatial join transformer:see the article fme.ly/byu

Page 9: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Automated IMDF Validation

A. Upload your IMDF data and get yourvalidation report. safe.com/imdf

or

A. Add an IMDFValidator transformer toyour workspace - available from FMEHub - hub.safe.com

Page 10: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

CAD Standards ComplianceCAD Standards Compliance

Page 11: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

CAD DataKey source of data updatesfor many GIS departments.

CAD DataKey source of data updatesfor many GIS departments.

● Very loose schemas or data models.

● Hard to impose a drawing standardon contractors.

● Often more detail than is needed inGIS.

Page 12: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

● Digital Submission Compliance

● Contractor CAD data added to GIS

● CAD standard○ Standards Checker○ Attribute Checker○ Topology Checker

City of Kitchener

Page 13: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Validating TopologyValidating TopologyHydrographic Networks, Electric, Water, Gas NetworksHydrographic Networks, Electric, Water, Gas Networks

Page 14: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Tips for Validating Topology

● Relationships include:○ Connectivity○ Adjacency○ Enclosure

● Rules:○ ISO 19110 Feature Catalog○ Database connectivity rules

Page 15: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Natural Resources CanadaMaintaining the feature catalog for Canada’s national map

Spatial Relationships

Attribute Values

Page 16: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

FME Workspace for NRCan’s Catalog Validation

Page 17: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Utility Network Topology:ConnectivityUtility Network Topology:Connectivity

Page 18: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Utility Network Migration Workspaces

● Schema mapping● Topology

○ Geometric Network (lines & junctions)○ Explicit network (associations between junctions & devices)

● Creating Assemblies

ArcGIS Device UN Assembly

Page 19: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Transformers for Validating Connectivity

● NetworkTopologyCalculator for buildinggeometric networks (lines & junctions).

● SpatialFilter for identifying objects that aresupposed to connect, e.g. devices on lines.

● TopologyBuilder andPointOnLineOverlayer for buildingconnected features and identifying missingjunctions/devices.

Page 20: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

ValidatingAutomatically

ValidatingAutomatically

Tip: set up your data validation workflowsto run automatically.

● On a schedule, e.g. daily qualitycontrol.

● In response to an event.

○ “Watch” a directory, FTP, Amazon S3bucket …

○ Email.○ Database triggers.

● As a web service.

● Self-serve drag-and-drop webpage(or mobile app) that anyone on theteam can use.

Page 21: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon
Page 22: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

To ensure complete,correct, and compliantdata, we must check:

● Attributes● Geometries● Topology

Page 23: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon
Page 24: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Data Validation Resources

Improving Data Compliancy Using FMECity of Kitchener

CAD Data Validation using FMEColonial Pipeline

Data Validation Victories: Tips for Better DataQuality

Safe Webinar

FME Extensive Usage Inside the MappingProduction System

Natural Resources Canada

Creating & Validating IMDFKnowledge Center

Ultimate Geospatial Data Validation ChecklistSafe Blog

IMDF Validator

Page 25: Level 3: Automating Quality Control › assets › pdf › wt19 › 09_FMEWT19...On a schedule, e.g. daily quality control. In response to an event. “Watch” a directory, FTP, Amazon

Questions?Questions?