ModelBuilder at ArcGIS 9.2 Lyna Wiggins Rutgers University May 2008.

Slides:



Advertisements
Similar presentations
5-1 5 Tour of ArcMap and ArcCatalog ArcGIS for Assessors 1.
Advertisements

Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
Environmental GIS Nicholas A. Procopio, Ph.D, GISP Some slides from Lyna Wiggins (Rutgers University)
Why python? Automate processes Batch programming Faster Open source Easy recognition of errors Good for data management What is python? Scripting programming.
Intro to ArcGIS for New Users. ArcGIS Desktop Advanced GeoprocessingArcInfo ArcReader Data Access Map Viewing Query Advanced EditingArcEditor ArcView.
Lecture 8 Model Builder.
Providing Info & Maps to Non-GIS Users & Tips, Tricks in ArcGIS with Gary Moody.
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Unit One: GIS Concepts In this unit… ► What is GIS? ► Types of GIS data ► What can you do with GIS? ► ArcGIS 9 license levels ► Basics of the ArcGIS 9.
GIS Topics and Applications
Technical Support: (989) GIS and Mapping Procedures in ArcMap 9.x Creating an ArcMap Project Editing an ArcMap Project Printing an ArcMap Project.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
ModelBuilder In ArcGIS 9.x By Tim Weigel GEOG 407/607 April 3 rd, 2006.
Spatial Analysis, Geoprocessing,
Geography 465 Overview Geoprocessing in ArcGIS. MODELING Geoprocessing as modeling.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
What Geoprocessing? Geoprocessing is the processing of geographic information. Commonly used to describe a process when geographic objects are manipulated.
ArcEditor ArcInfo ArcView Display map, query & analyze spatial relationships, features & attributes Same functions as ArcView, plus abilty to create, &
Layouts: Creating maps and figures using ArcMap 1 GIS for Planetary Mappers June 2012, Planetary Mappers Meeting.
Printing and Page Formatting ITSW 1401, Intro to Word Processing Instructor: Glenda H. Easter.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
Advance Model Builder Features. Advance Features Using Lists (also Batching) Iteration Feedback Model Only Tools Inline Variable Substitution Preconditions.
Arc: Programming Options Dr Andy Evans. Programming ArcGIS ArcGIS: Most popular commercial GIS. Out of the box functionality good, but occasionally: You.
Microsoft Word 2010 Chapter 1 Creating, Formatting, and Editing a Word Document with Pictures.
Introduction to InVEST ArcGIS Tool Nasser Olwero GMP, Bangkok April
Introduction to Spatial Analysis and Spatial Modeling
A New Generation GIS for the Classroom ArcGIS 9.0 A New Generation GIS for the Classroom.
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Introduction to ArcGIS. Goals Become familiar with ArcGIS ▫Locating and running the program ▫Introduction to the 3 ArcGIS interfaces ▫Experience with.
ArcGIS: ArcMap Layout View. Agenda Layout interface Using templates Page properties Data frame properties Toolbars Layout elements Fine-tuning Finishing.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Chapter 7 – Queries.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ModelBuilder – Getting.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Introduction to Model Builder Mike Sweeney ESRI-Charlotte.
WyGEO Conference September 17 & 18, About Me Shawn Lanning – GIS Research WyGISC – ModelBuilder Experience About You?
ATN GIS Support ArcGIS: ArcMap Layout View.
ATN GIS Support ArcGIS: ArcMap Data View.
LTER Information Management Training Materials LTER Information Managers Committee Documenting Spatial Data Theresa Valentine Andrews LTER.
Chapter Two Creating a First Project in Visual Basic.
Arch: 383 Introduction to GIS Week 2 Introduction to GEOGRAPHIC INFORMATION SYSTEMS Can Kara Faculty of Architecture 2011 ARC 383.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
ATN GIS Support ArcGIS: ArcCatalog.
ATN GIS Support Introduction to ArcGIS.
ArcGIS: ArcCatalog. Agenda The ArcCatalog Interface General ArcCatalog ▫Navigating directories ▫Preview data ▫View metadata Advanced ArcCatalog ▫Modifying.
Introduction of Geoprocessing Lecture 9. Geoprocessing  Geoprocessing is any GIS operation used to manipulate data. A typical geoprocessing operation.
Unit 1: Plotting DT2510: Advanced CAD Methods. Identifying the user interface: Application menu Quick Access toolbar InfoCenter Ribbon Drawing window.
ESRI Education User Conference – July 6-8, 2001 ESRI Education User Conference – July 6-8, 2001 Introducing ArcCatalog: Tools for Metadata and Data Management.
Introduction of Geoprocessing Lecture 9 3/24/2008.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Chapter 2- managing GIS Data. Different how? Sometimes very large Often shared by multiple users Many sources, many file types Sometimes local, sometimes.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Introduction to InVEST ArcGIS Tool
Lecture 3 Interacting with Data.
Lab 1 Introduction to ArcGIS Feb 17, 2016
Geography 385 Introduction to ArcGIS Web Application Design
Chapter 2 – Introduction to the Visual Studio .NET IDE
How to automatise the grid production - using model builder in ArcGIS
Environmental GIS Nicholas A. Procopio, Ph.D, GISP
Hazards Planning and Risk Management INTRODUCTION TO ARCGIS
Hazards Planning and Risk Management INTRODUCTION TO ARCGIS
String several geoprocessing processes
Introduction to ArcGIS
Using Model Builder in ArcGIS
Automating Analyses with ModelBuilder
Programming Arc.
Presentation transcript:

ModelBuilder at ArcGIS 9.2 Lyna Wiggins Rutgers University May 2008

ArcToolbox at ArcGIS 9.2

Creating a New Toolbox Create a new Toolbox in ArcCatalog or ArcToolbox. Default location for a New Toolbox created inside ArcToolbox is: –C:\Documents and Settings\ \Application Data\ESRI\ArcToolbox\My Toolboxes. If you will be sharing your model and using relative addresses, you need to plan the folder location of your New Toolbox carefully. Create a new Model by a right click on the new Toolbox.

Geoprocessing Tools There are five ways of using geoprocessing tools in ArcGIS: –Run (some of) them in ArcMap –Run them from ArcToolbox –Type them at the command line –Use them in a script environment (like Python) –Use them in ModelBuilder

What do we want to do? We might want to use a series of geoprocessing tools in an exploratory analysis. As we explore, we want to visualize our results as we work. We might like to change parameter values and see their impact. ModelBuilder is helpful in this exploratory process. Run processes as you go – you may not even want to save the model.

What do we want to do? If you have a complex sequence of processes that you have to do frequently – or with a number of different datasets – you will want to create and save a model. You may want to: –run multiple scenarios – for example, for a build-out analysis, –create custom tools and use them inside your model or by themselves, –share your model with others.

ModelBuilder ModelBuilder is now integrated throughout the ArcGIS product lines – any tool in Toolbox can be used to define a process. These include tools from the Extensions. ModelBuilder helps us create, edit, document and distribute models. After you create a model it can be exported as a script (to Python, for example).

New Integrated Model Window ModelBuilder –Graphic interface –Elements Inputs (blue ellipses) Outputs (green ellipses) Processes (gold rectangles) –Drag and drop tools (processes) from ArcToolbox Fill in parameter values in dialog boxes

Input Input data can be any of the ArcGIS data types: –Coverages –Shapefiles –Geodatabase feature classes –Grids –Other ESRI formats

Not ready to run Input data

ModelBuilder Window Ready to run Model has run Notice shading

Tools in Graphics Interface Some of the tools on the ModelBuilder toolbar are there to help you zoom, pan, and organize your model flow chart Two tools are used frequently: –Arrow tool to select –Linkage tool to connect inputs, processes, outputs

Model in ModelBuilder A model in this context is a sequence of processes made up of data and tools. The model flow chart gives us a visual representation of our geoprocessing work flow. We can just drag-and-drop our input data sets from the Table of Contents in ArcMap, and drag- and-drop our tools from ArcToolbox. We can also drag-and-drop scripts (from Python, etc.)

Example: ModelBuilder

Arranging Your Model Elements Use the Auto Layout and Full Extent tools to help arrange your model diagram as you work.

Running a Model We can choose to: –Run a single process –Run all ready-to-run processes –Run the entire model Process boxes temporarily turn red as they execute. We receive status messages with each run.

Editing a Model Right-click on a Model in ArcToolbox and go to Edit. The ModelBuilder window opens and we can begin editing.

What is a Parameter? In ModelBuilder, our tools often need required or optional values in order to run. These are parameters. For example, the Buffer tool needs a buffer distance in order to run. We can “expose a parameter” to allow user input. To do this we will create a parameter as a variable.

Creating a Parameter Variable The first step is to right-click on a tool in your diagram and select “Make Variable,” then “From Parameter.”

Creating a Model Parameter We now see a new model element, named “Expression.”

Creating a Model Parameter The second step is to right-click on this new model element and select “Model Parameter.” Now we see a P label in our model diagram.

Derived Data Data that is output from a process is called “derived data.” If output data from a process is not a final result, it is “intermediate data.” When you right-click on an intermediate output, you will see if it has “Intermediate” checked. Intermediate data is temporary.

Intermediate Data Models run from a dialog box or the command line delete intermediate data automatically. Models run from within ModelBuilder write intermediate data to disk. Your end results will also be flagged as Intermediate by default – you may need to change this setting.

Iteration You can use the output from a process as an input to another process. You can include iteration by using Lists and Series. You can also instruct a model to iterate until a Boolean or long variable criterion is met.

Model Validation In the Model drop down menu in the ModelBuilder window, you have the option to “Validate the Entire Model.” This checks that all of your model parameters are correct and that your input data can be found. Models that need repair (for example, if an input data set was moved from its initial location) will show up in the toolbox with a red X through them.

Documentation ModelBuilder includes documentation functions. A good idea with a complex model. May become as important as geospatial metadata.

Element Labels You can document each process, data element or connector with a label. These labels stay with their element if the element is moved. They are deleted if the element is deleted. Right-click on an element and select “Create Label.”

Documentation Editor You should document your models for yourself and other users. Start editing your model in the ModelBuilder window. Then right-click on tool and select “Edit Documentation.” The information you write about a tool will be integrated into the Help file. Back in ArcToolbox, you add additional documentation. Right-click on your model and go to Edit Documentation. You can access the documentation through the Help Page, the metadata tab in ArcCatalog and the model’s side dialog panel.

Distributing Your Model To distribute your model, you will need to set model Properties. These include: –Model name, description, etc. (Note that the model name can not contain any spaces or special characters.) –Relative paths to the toolbox location (pathnames maintained relative to the toolbox) –Preview model parameters –Preview model environment settings

Distributing Your Model Save your model as a tool in the Toolbox. Save your model as a.tbx file (stand alone). Save your model in a geodatabase. Make sure your toolbox is read/write to your users, and that related data, scripts, documentation, etc. are shared. And that you set relative paths, so that moving the data doesn’t break the model.

Export Your Model You can export your model as a graphic – –.bmp,.jpg,.emf You can export your model to a script. Both are from right-click on the Model in ArcToolbox.