MGCP4LCSS Workflow

20
MGCP4LCSS Workflow Engineering Section Mapping & Charting Establishment 1 Martin de Zuviria Amanda Chiprout

description

Presented by Martin de Zuviria & Amanda Chiprout, National Defense, Government of Canada See more FME World Tour 2014 presentations at www.safe.com/recap2014

Transcript of MGCP4LCSS Workflow

Page 1: MGCP4LCSS Workflow

MGCP4LCSS Workflow

Engineering Section

Mapping & Charting Establishment

1

Martin de ZuviriaAmanda Chiprout

Page 2: MGCP4LCSS Workflow
Page 3: MGCP4LCSS Workflow
Page 4: MGCP4LCSS Workflow

BattleView Overview

Page 5: MGCP4LCSS Workflow

5

MGCP4LCSS OVERVIEW

The main GOAL of the workflow (MGCP4LCSS) is to provide the LCSS user with the ability to view and interact with Symbolized MGCP vector data through multiple Web Services.

The Geospatial Data Manager will need three items to execute this process:

- MGCP vector data in Shapefile format - FME Desktop - ArcGIS software applications

Page 6: MGCP4LCSS Workflow

MGCP4LCSS WORKFLOW The MGCP4LCSS workflow performs:

– an extraction of selected features contained in the MGCP vector data

– transform them to meet the schema and – visualization requirements for LCSS Battleview. – The final output was a FGDB using representations as

symbology to be consumed in a WMS/WFS. The workflow created by Martin provides a step-by-

step description on how a user may proceed from beginning to end.

The workflow has been proven to work in ArcGIS Data Interoperability.

Page 7: MGCP4LCSS Workflow

Web Optimization

MGCP data is rich with content MGCP not optimized for Web

Services Schema Optimized for Web:

– Cut feature count in half – ‘Human Readable’ – Scaled to GRLS

(Global/Regional/Local/Specialized)– Symbolized using Topographic Line

Maps

Page 8: MGCP4LCSS Workflow

8

Blue is data conditioning teamGreen is the Geo Field Teams

MCE MGCP4LCSS Production Process

Input: MGCP Shapefiles

IGW

Filter Shapefiles & categorization

Pre-Conversion Check – QC/QA

Aggregate Features

Segregate Features Feature Description Symbology Coding Load & Calculate

FGDBBattleview

schema withrepresentations

FME 2013 FME 2013 FME 2013

FME 2013 FME 2013 FME 2013 Arc GIS 10.1

IMO/Chief Geo

Receives FGDB

DMAN Team Ingest/load on Geo Server

WFS Services built and tested

Live on LCSS in operational theatre

Page 9: MGCP4LCSS Workflow

FME Workspace

An FME workspace contains source and destination types of data and attributes, as well as transformers that manipulate data.

Bookmarks have been added to easily find and re-focus the main display on any destination feature class (e.g. Helipad_P)

Custom transformers, represented in green color, have also been added to allow an easy update of the settings of specific transformers that are of common use within the same workspace (e.g. ‘Source Name’)

10

Page 10: MGCP4LCSS Workflow

Step 1 : Feature Filter

11

There are different ways to filter data with FME: 1) Readers2) Transformers such as ‘TestFilters’ and ‘GeometryFilters’; 3) Enabling/disabling components of the FME workspace (e.g. by

enabling only all objects within the Road_L bookmark)

Page 11: MGCP4LCSS Workflow

Step 2: QA/QC Workspace

12

QA/QC results are: - re-directed results to an Inspector- using other reference layer(s), - analyzing log files.

Note: ‘Data Quality’ is regarded here as the degree of excellence of data to satisfy a given objective. Any tile of MGCP released has to pass extensive QA. MGCP data has to meet new requirements in its transformation to a FGDB format/schema and Web Mapping Services (OGC Standards) and therefore has to be re-tested for these new requirements, regardless of previous QA performed.

Page 12: MGCP4LCSS Workflow

Steps 3,5,6: Feature Merge/Aggregate Output

13

Feature Merging and aggregation to meet the target schema architecture:- merging (ie ‘Extraction Mine Areas’ and ‘Quarry Areas’)- managing schema- coding symbology

Example Below: In the legend of the output map document, the ‘Extraction Mine Areas’ and ‘Quarry Areas’ have been merged into a single feature class. The bottom table shows the descriptive attributes replaced several coded values

Page 13: MGCP4LCSS Workflow

14

Steps 3,5,6: Feature Merge/Aggregate Output Example in FME

Example: - Merge ‘Extraction Mine Areas’ and ‘Quarry Areas’, - manage schema and - Descriptive names and coding symbology using the ‘RepID’ field

Page 14: MGCP4LCSS Workflow

Usefulness of Custom Transformers

15

Custom transformers were used to replace a sequence of transformers used in the workflow. Some of these transformers contained long LUTs used to convert numeric values to descriptive names. Since these LUTs may be regularly updated by having new source values like in the example shown on the slide, the ability to update them only once in the workflow saves time and reduces the risk of errors.

Page 15: MGCP4LCSS Workflow

16

Steps 4,5,6: Feature Segregation and Descriptive Names:Building points are segregated into a new feature class and given ‘Human Readable Names’

i.e. ‘Transportation_Station’ and ‘Vertical_Obstruction’

Page 16: MGCP4LCSS Workflow

17

Steps 4,5,6: Feature Segregation and Descriptive Names:Building points are segregated into a new feature class and given ‘Human Readable Names’

i.e. ‘Transportation_Station’ and ‘Vertical_Obstruction’

Page 17: MGCP4LCSS Workflow

Step 7: Feature Loading to the Destination Empty FGDB and Calculation of Symbology Representation Values

18

FME Output data is loaded into an empty FGDB with identical schema plus the desired Representations, and symbology IDs are linked to Representation Rules (values from ‘RepID’ are copied to the ‘RuleID’ field, tied to representation rules)Example: ArcGIS ETL Detail (partial – created using ArcGIS Model Builder)

Page 18: MGCP4LCSS Workflow

MGCP4LCSS V3 Workflow: Information Structure

Step 1:Create Parent Folder

Structure

Step 2:Create Sub Folder where

MGCP input SHPs must be copied

Step 3:Subfolder Output FGDBs:

- The contents of subfolders with empty FGDBs must be

copied here

Step 4:Run Workbenches and

BatchRunner ETL for a ‘single click’ processing of steps 1 to 6

Step 6:Subfolder ‘ArcGIS

Output Map’ with an ArcGIS Map for

visualization of output

Step 5:‘ArcGIS Toolboxes’

containing ArcGIS ETL Tools for processing of

step 7

Page 19: MGCP4LCSS Workflow

20

MGCP4LCSS Workflow

Pre-conditions

The designated Geospatial Data Manager has copied the ‘MGCP4LCSS Package’ to his/her local C:/ drive and has FME Desktop (2013 release or later) and ArcGIS (10.1 release or later) installed on his/her computer

Trigger

The user wants to covert MGCP tiles provided as shapefiles to the FGDB schema and representations defined by DND MCE Engineering, for subsequent use in any LCSS application

Main Flow

1. Copy the subfolder /MGCP of the ‘MGCP4LCSS’ package on the local C:/ drive2. Copy the MGCP tiles to the C:/MGCP/INPUT MGCP TILES folder3. Open FME Desktop and run each of the individual eight workspaces contained in the

subfolder ‘FME Workbenches’ 4. Open ArcGIS – ArcCatalog and runs the six tools contained in the Toolbox

C:/MGCP/ArcGIS Toolboxes/Battleview.tbx, starting with the three ‘Append’ tools5. Open ArcMAP MXD BVoutputFGDB.mxd to visualize the results from the output FGDB

Page 20: MGCP4LCSS Workflow

MGCP4LCSS SOP

21