35
Streamlining Geoprocessing with ModelBuilder Jennifer Kuntz ESRI St. Louis May 2008

Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Streamlining Geoprocessing with ModelBuilder

Jennifer Kuntz

ESRI – St. Louis

May 2008

Page 2: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Topics

• Geoprocessing

• Navigating ArcToolbox

• Using ModelBuilder

• Learning More

Page 3: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing

Page 4: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Well type Drilled

Building owner Smith

Soil type Sandy

Data + Function = Data

An Operation Used to Manipulate GIS Data

Geoprocessing

Input

Output

Page 5: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Analysis capabilities in ArcGIS Desktop

Single-layer

operations

Multiple-layer

operations

Point pattern

analysis

Raster

analysis

Surface

analysis

Temporal

analysis

Geostatistical

analysis

Core Functionality

Extensions

Spatial

Analyst

3D

Analyst

Tracking

Analyst

Geostatistical

Analyst

Business

analysis

Business

Analyst

Page 6: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

1st

main

Input features with

attribute values

Fewer output features

with attribute values

9 15

66 15

915

66m

ain

1st1st 1st

Dissolving Features

• Simplify data based on common attribute values

Page 7: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Clipping Features

+

• Use one feature class to define the boundary of another

Page 8: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Scalable Geoprocessing Functions

ArcEditor 208 Tools at 9.2

Can also write to all other GDB types

Additional Extension Tools

3D Analyst Tools

Spatial Analyst Tools

Geostatistical Analyst

Tools…

ArcView 183 Tools at 9.2

Write to file geodatabase, pGDB or .shp

ArcInfo 269 Tools at 9.2

Plus more coverage tools

Page 9: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

How Do I Know Which Tools Are Available to Me?

• ArcInfo licenses have access to all geoprocessing tools

• ArcView or ArcEditor users can choose to see only the tools available or to see “locked” tools

• ArcGIS Desktop Help

– “Licensing for Geoprocessing Tools” topic

– ArcGIS 9 Geoprocessing Commands Quick Reference Guide (.pdf)

Page 10: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Navigating ArcToolbox

Page 11: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

ArcToolbox Window

• Available in ArcCatalog and ArcMap

• Geographic processing functions– Data management, analysis, and conversion

– Your Custom Tools

Page 12: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing Interfaces

Dialogs

Commands

… Shared Tools, Scripts, and Models

ModelBuilder

ArcObjects.NET,VB, Visual C++

Scripting

Python, JScript, VBScript

Page 13: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing Tip:

Sometimes it is faster to use a tool than it is to do a task through the User Interface!

• Examples– Deleting Multiple Fields

– Tagging Point Features with Attributes from a Polygon

Page 14: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Creating Models with Model Builder

Page 15: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

What is ModelBuilder?

• Application for creating geoprocessing models

• Allows for creation of flowcharts you can process

• Streamlines and automates analysis workflows

• Models stored in custom toolboxes

D

Page 16: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Why use ModelBuilder for analysis?

• Automate and manage geoprocessing tasks

• Run complex succession of processes as one tool

• Plug in additional tools and parameters as needed

• Manage intermediate data

• See visual representation of analysis operations

Page 17: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Model Elements

• Input Data: data that exists before model is run– Blue Oval

• Tool: operation performed on input data– Yellow-orange Rectangle

• Derived Data: output data created by a function– Green Oval

• Process: Set of elements– Run one process at a time

or all at once

Page 18: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Constructing a Model

• Drag and drop tools from toolbox and data from ArcCatalog

• Connect the data to the tool

• Modify the settings of the tool

Ready to Run

Page 19: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

How to Execute Models

• Run from Model Builder

• Run a single process from Model Builder

• As a tool from toolbox

ExecuteEdit

Page 20: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing Tip:

You can control whether ArcGISDesktop allows overwriting of geoprocessingoutputs.

(Tools > Options)

Page 21: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Demonstration:Building a Model – the Basics

Page 22: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Enhancing a Model

Page 23: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Model Parameters

• Allow for User Input

• Are Used when Running Model as Dialog

• Can Create a Data Independent Tool

Page 24: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Variables in Models

• Can be Parameters or Environment Settings

• Share Value between Processes

• Allow for User Input

Page 25: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Intermediate Data

• Outputs are set to Intermediate by Default

• Use context menu to change setting

• Intermediate data is not deleted when models are run from ModelBuilder window

• Intermediate data is deleted when models are run from a dialog box or the command line

Page 26: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Edit Text on Model Elements to Control Text on

Dialog

Page 27: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Documenting a Model

Page 28: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Sharing a Model

• Toolboxes are stored in .tbx filesC:\Documents and Settings\<User_Name>\Application Data

\ESRI\ArcToolbox\My Toolboxes

• List appears in ArcCatalog

• Be sure recipients have access to all data

• Can set data paths as relative to toolbox (Model Properties)

Page 29: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Demonstration: Enhancing a Model

Page 30: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Learning More

Page 31: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing

C:\Program Files\ArcGIS\Documentation

Book in the Box

Page 32: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Geoprocessing Using ModelBuilder

Page 33: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Getting Started with Scripting in ArcGIS 9

Page 34: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Instructor-Led Training

Page 35: Streamlining Geoprocessing with ModelBuilder - Show-Mebluebird.showme.net/GIS/Analysis_ModelBuilder.pdf · How Do I Know Which Tools Are Available to Me? •ArcInfo licenses have

Questions?