Scarc 2014 g shields

23
A Professional’s Guide to Data Processing with ESRI ModelBuilder Garrett M. Shields, CFM AMEC Environment & Infrastructure

Transcript of Scarc 2014 g shields

Page 1: Scarc 2014   g shields

A Professional’s Guide to Data Processing with ESRI

ModelBuilderGarrett M. Shields, CFM

AMEC Environment & Infrastructure

Page 2: Scarc 2014   g shields

What is ModelBuilder?

Application developed by ESRI Incorporated into ArcGIS Desktop Allows user to manage multiple

geoprocessing tasks Extends ArcGIS Functionality

It makes your life easier!

Page 3: Scarc 2014   g shields

What does it do?

Creates custom geoprocessing tools by stringing together existing tools and scripts

Allows models to be shared Makes it possible to process large amounts of

data Perform complex analyses with relatively low

effort

Page 4: Scarc 2014   g shields

Developing a Model

• Identify Task• Determine

Processing Steps

Collect Tools

• Determine Process order

• Collect Input Data and Variables

Configure Model • Test Each Step

• Perform a Dry Run• Set Model

Parameters

Finalize and Run Model

Page 5: Scarc 2014   g shields

Before You Start…

Ask yourself…◦ What are you trying to accomplish?◦ Will this task be repeated?◦ Model development time vs. processing time

Let’s Get Started!

Page 6: Scarc 2014   g shields

Building a Model

Page 7: Scarc 2014   g shields

Building a Model

Page 8: Scarc 2014   g shields

Building a Model

Page 9: Scarc 2014   g shields

Building a Model

Page 10: Scarc 2014   g shields

Some Considerations

Run each tool the first time you configure the model

Consider saving the model in a Toolbox Name the model something useful Consistent File Names

Page 11: Scarc 2014   g shields

Make Your Model Repeatable

There are many ways to ensure that your model can be repeated in the future◦ Variables such as Dynamic Workspaces◦ In-Line Variables◦ Memory Functions◦ Preconditions

All are designed to make youFASTER

Page 12: Scarc 2014   g shields

Variables

Model objects defined by the user◦ Virtually anything can be a variable

Workspaces Datasets Cell Sizes Coordinate Systems Etc…

Page 13: Scarc 2014   g shields

Dynamic Workspaces

Input/Output locations for the model Reduces the number of parameters needed Helps to ensure consistency of results

Page 14: Scarc 2014   g shields

Dynamic Workspaces

Page 15: Scarc 2014   g shields

In-Line Substitutions◦ Wildcard Values◦ Uses the “%” Symbol

Memory Functions◦ Allows for output data to

be saved in computer RAM

◦ Vector Data only

Variables From Tool Parameters◦ Certain tool parameters

can be set as variables◦ Allows for more flexibility

Additional Variables

Page 16: Scarc 2014   g shields

Preconditions

Maximizes workflow Allows the user to control when each

process runs Makes for a more stable model

Precondition

Page 17: Scarc 2014   g shields

Iterators

Allows a model to run processes concurrently over multiple datasets

Eliminates the need to repeat a process manually Several Types of Iterators Able to be recursive

Page 18: Scarc 2014   g shields

ModelBuilder goes beyond ArcToolbox◦ Integrate Custom Scripts or call other programs

◦ Integrate other models

◦ Export models to custom scripts

◦ Share your models via ArcGIS Online

Advanced Functionality

Page 19: Scarc 2014   g shields

How can ModelBuilder help me?◦ Here are some examples…◦ Automated Data Mining for Site Maps

Can I Model It?

Property Address• Geocode a Point• Select Parcel File

Pull Relevant Site Data• Table with owner and

structure info• Clip contour data

Perform Site Analysis• Create DEM from

LiDAR • Calculate area,

HAG/LAG

Yes You Can!

Page 20: Scarc 2014   g shields

◦ Mosquito Vector Control Analysis

Can I Model It?

Treatment Sites• Calculate Statistics• Create a Density Raster

Gather Information• Calculate Proximity to

Public spaces• Schools• Parks

Yes You Can!

Page 21: Scarc 2014   g shields

◦ Building Footprint Data Conflation

Can I Model It?

Conflate Parcel Data

• Intersect Footprints with Parcels

• Calculate Parcel Info

• Export to Web Portal

Yes You Can!

Page 22: Scarc 2014   g shields

Develop your processing concept Determine whether it is time efficient to

develop a model Be consistent with file names BE ORGANIZED Make your model repeatable

◦ Use workspaces and variables Develop custom toolboxes Share your model

Summary

Page 23: Scarc 2014   g shields

Questions?

Garrett M. Shields, CFMAMEC Environment & Infrastructure

Office: (919)-381-9906Email: [email protected]

LinkedIn: http://www.linkedin.com/in/garrettshields