Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder
Model Builder - 1 Introduction to ArcGIS Objectives Background Create a model with existing tools and data Document a model and its components Parameterize the tools Other tips
Model Builder - 2 Introduction to ArcGIS Basics Models are a series of geoprocessing tools that facilitate the automation of complex or repetitive tasks Model Builder is a graphical interface that allows users to easily create models using existing tools and data Requires no programming experience
Model Builder - 3 Introduction to ArcGIS Any tool, script or data can be included in the model by dragging and dropping
Model Builder - 4 Introduction to ArcGIS Output from one tool may be used as input to one or more other tools Process 1 Process 2 Process 3
Model Builder - 5 Introduction to ArcGIS Model Benefits Models provide an easy way to interpret visual representation of the data and workflow Models can be reused and shared, and are easy to modify if necessary Models are much more convenient than running many tools individually Models can be useful in project documentation
Model Builder - 6 Introduction to ArcGIS Run States Not ready to run – input is set, tool parameters are not Ready to run Already Run (tool and output are shadowed)
Model Builder - 7 Introduction to ArcGIS Documentation Documentation for a model can be viewed in the model dialog box, ArcCatalog, or Desktop Help On the model context menu in ArcCatalog, choose Item Description…, then click the Edit icon to add information Basic documentation (name, label and description) can also be added on the model properties dialog
Model Builder - 8 Introduction to ArcGIS Parameters Any information used by a tool is a parameter Parameters can be hardcoded or set so a user can enter values For example, it is often a good idea to set tool inputs as parameters to make models more flexible It is also useful to make variables for some tool inputs and expose them as parameters for user input (example coming up)
Model Builder - 9 Introduction to ArcGIS Parameters All tool parameters can be set using the Open… option on the tool’s context menu
Model Builder - 10 Introduction to ArcGIS Example Variables Shaded variables have hardcoded values
Model Builder - 11 Introduction to ArcGIS Model Dialog with no Parameters or Documentation Some models have no parameters
Model Builder - 12 Introduction to ArcGIS Example with Parameters Variables with a “P” are now parameters Variable names are more meaningful
Model Builder - 13 Introduction to ArcGIS Model Dialog with Parameters and Documentation Parameters are listed in the order they were added to the model Order can be changed in the model properties
Model Builder - 14 Introduction to ArcGIS Tips Working in the model builder application vs. using the model as a tool – Keep vs. delete intermediate data – Run vs. Run Entire Model Iteration – added from Insert menu or set in the model properties Add to Display Export to script
Model Builder - 15 Introduction to ArcGIS DEMO