Top Banner
Exploring KML Transformers and Attributes Kirsten Lawrence, GISP Senior GIS Analyst @ Caltrans
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Exploring KML Transformers

Exploring KML Transformers and Attributes Kirsten Lawrence, GISP Senior GIS Analyst @ Caltrans

Page 2: Exploring KML Transformers

Feature Class to KML the Old Way, Before FME…

!  Several different applications were used to get from A (feature class) to B (KML)

!  KML files were manually edited in a text editor to achieve desired styling

!  A time consuming process, every time !  So many steps made it inevitable to miss one

Page 3: Exploring KML Transformers

Feature Class to KML the New Way, Using FME…

!  Just one application to get from A to B !  No manual editing of files post creation !  Time spent on developing a workspace, then just

press a button when the data needs updating !  Workflow automation minimizes errors

Page 4: Exploring KML Transformers

Project Example: Create a spatial database of Surveyed overhead signs for Caltrans District 4 and publish the information in KML/KMZ format to the web

Page 5: Exploring KML Transformers

Project Workflow

!  A python script organizes the workflow, calling arcpy and other custom functions to format and geoprocess the tabular surveyed data !  The python script runs the FME workspace that

builds out the KMZ using fmeobjects and the FMEWorkspaceRunner class

!  The script uploads the final KMZ to the web via pysftp

Hi

Page 6: Exploring KML Transformers

Workspace Snapshot

Page 7: Exploring KML Transformers

Structuring the Data: KML Folders

Create a Folder

Feature Type

Page 8: Exploring KML Transformers

Styling the Data

Create a Style Feature

Type

Page 9: Exploring KML Transformers

Applying Styles and Assigning Data to the Folders

Page 10: Exploring KML Transformers

Creating the Navigation tree and Setting Description Balloon Content

Page 11: Exploring KML Transformers

Region Setting

Page 12: Exploring KML Transformers

Adding a Screen Overlay

Create a Screen Overlay Feature Type

Page 13: Exploring KML Transformers

The Final Product http://earth.dot.ca.gov/d4row/d04_ohs.html

Page 14: Exploring KML Transformers

Thank You!

!  Questions?

!  For more information: !  Kirsten Lawrence, [email protected] !  Caltrans

!  http://fmepedia.safe.com/