WITHOUT LANGUAGE [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] PROGRAMMING R. RYAN STEVENS / GIS RESEARCH ANALYST / THE POLIS CENTER.

Slides:



Advertisements
Similar presentations
Importing Google Earth Data into a GIS Jason Parent Center for Land use Education and Research.
Advertisements

Concepts of Maintaining Your Data Simple Ways to Edit Your Data By Lorne Woods.
NSF DUE ; Module 4.3. NSF DUE ; GeoTEd Partners Module name and number.
Geoprocessing; Useful Tools You Should Know in ArcToolbox Unlock the hidden secrets of ArcToolbox to discover tools that make your work easier and analysis.
Protocol: How to Derive Gradient from GIS Outline: 1)Add X,Y site points, using GPS-collected UTM coordinates. 2)Create “routed” streams, with linear distance.
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.
Using ESRI ArcGIS 9.3 Arc ToolBox 2 (3D Analyst)
19 th Advanced Summer School in Regional Science Combining Vectors and Rasters in ArcGIS.
GIS Topics and Applications
Python & ModelBuilder. Overview Python/ModelBuilder Concepts – The Geoprocessor – Checking some environment variables – Providing feedback from your model/script.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
ModelBuilder In ArcGIS 9.x By Tim Weigel GEOG 407/607 April 3 rd, 2006.
GNE: Global NEWS Modeling Environment What it is / what it’s not How it works Components, samples Installation NEWS 2 Implementation Emilio MayorgaMay.
Spatial Analysis, Geoprocessing,
Geography 465 Overview Geoprocessing in ArcGIS. MODELING Geoprocessing as modeling.
What Geoprocessing? Geoprocessing is the processing of geographic information. Commonly used to describe a process when geographic objects are manipulated.
@ 2007 Austin Troy. Geoprocessing Introduction to GIS Geoprocessing is the processing of geographic information. Perform spatial analysis and modeling.
Basic Spatial Analysis
Habitat Analysis in ArcGIS Use of Spatial Analysis to characterize used resources Thomas Bonnot
Advance Model Builder Features. Advance Features Using Lists (also Batching) Iteration Feedback Model Only Tools Inline Variable Substitution Preconditions.
Preparing a Climate Data Time Series from PRISM Rasters This is the cover art for the album The Dark Side of the Moon by the artist Pink Floyd. The cover.
Arc: Programming Options Dr Andy Evans. Programming ArcGIS ArcGIS: Most popular commercial GIS. Out of the box functionality good, but occasionally: You.
Enterprise ETL & the Home Again
Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Python & ModelBuilder. Continuing Education Python and ModelBuilder Overview Python/ModelBuilder Concepts –The Geoprocessor –Checking some environment.
Esri International User Conference | San Diego, CA Technical Workshops | Python – Getting Started Drew Flater, Ghislain Prince July 12 - July 14, 2011.
NR 422: Topology Jim Graham Fall 2010 See: odatabase-topology.pdf.
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Introduction to Spatial Analysis and Spatial Modeling
Network Analysis with Python
Introduction to ArcPy. Topics What is ArcPy? Accessing geoprocessing tools using ArcPy Writing scripts using ArcPy.
Python: An Introduction
Internet and Distributed Representation of Agent Based Model by- Manish Sharma.
ArcGIS Network Analyst: Automating Workflows with Geoprocessing
Advanced Topics in GIS. Natural Hazards Landslide Susceptibility.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Exploring ArcToolbox Presented by: Isaac Johnson.
Copyright © 2006 by Maribeth H. Price 8-1 Chapter 8 Geoprocessing.
Raster Concepts.
Using ArcGIS ModelBuilder for Conservation & Ag Drainage Projects Janell Weiss Nutrient Mgmt. Specialist/Ag Technician Darke Soil & Water Conservation.
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
Advanced GIS Using ESRI ArcGIS 9.3 Spatial Analyst 2.
Introduction of Geoprocessing Lecture 9. Geoprocessing  Geoprocessing is any GIS operation used to manipulate data. A typical geoprocessing operation.
Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin.
DEM TRAINING (DIGITAL ELEVATION MODEL). STEP 1 OPEN GIS.
Introduction of Geoprocessing Lecture 9 3/24/2008.
Python: Building Geoprocessing Tools David Wynne, Ghislain Prince.
Intro. To GIS Pre-Lab Spatial Analysis April 1 st, 2013.
William Perry U.S. Geological Survey Western Ecological Research Center Geography 375 Final Project May 22, 2013.
@2007 Austin Troy Lecture 2: Introduction to the Architecture of ArcGIS By Weiqi Zhou University of Vermont Thanks are due to Prof. Troy, upon whose lecture.
Technical Workshops | Esri International User Conference San Diego, California Branching and Iteration in ModelBuilder Shitij Mehta July 24, :15.
Lecture 18: Spatial Analysis Using Rasters Jeffery S. Horsburgh CEE 5190/6190 Geographic Information Systems for Civil Engineers Spring 2016.
Introduction Presenter: James Zollweg, Ph.D.
PYTHON: AN INTRODUCTION
Lecture 22: Using ArcToolbox Tools in Python
ArcMap: Geoprocessing
Attribute Extraction.
String several geoprocessing processes
Using Model Builder in ArcGIS
Spatial Data Processing
What's New in eCognition 9
GIS Lecture: Geoprocessing
Vector Geoprocessing.
Network Analysis using Python
PYTHON: BUILDING GEOPROCESSING TOOLS
Network Analyst – Automating Workflows with Geoprocessing
Extending ArcGIS using programming
What's New in eCognition 9
Clip & Convert to ASCII Program Kelly Knapp Spring 2010
Presentation transcript:

WITHOUT LANGUAGE [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] PROGRAMMING R. RYAN STEVENS / GIS RESEARCH ANALYST / THE POLIS IUPUI

How ModelBuilder Works [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] Model Builder is an ArcMap extension used to create, edit, and manage models. Models are workflows that string together sequences of geoprocessing tools, feeding the output of one tool into another tool as input. Model Builder can also be thought of as a visual programming language for building workflows. It also provides advanced methods for extending GIS functionality by allowing you to create and share your models as tools. INPUT TOOL OUTPUT TOOL FINAL OUTPUT Model builder takes an input (shapefile, raster, etc.) and applies a tool creating an output. That output can then be used as in input for another tool

Advantages [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] Allows for automation of repetitive and time consuming geoprocessing Reduces the risk of human error (often unavoidable) and can identify human error in previous geoprocessing No programming skills are required for basic models Advanced modeling only requires basic programming skills Models can be shared through the Arc Toolbox or as a Python Script A pain-free introduction into the world of development

Disadvantages [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] Models developed in ModelBuilder can be bulky, whereas a model/tool developed in Python or another language may be more efficient Models developed in earlier releases of model builder can cause unexpected conflicts in later releases of ArcMap (field calculator issues, for example) Model Builder is reliant upon ArcMap (no license, no ModelBuilder) Visual programming and ModelBuilders ease-of-use can result in complacency or deter a user from acquiring programming skills Potential for wasted time developing pointless models

Process Overview [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] As a GIS Analyst I use model builder heavily, and in a variety of ways. Primarily, my goal is to reduce the time it takes to complete geoprocessing, while at the same time simplifying the process for other users who may work on the same project. While not all projects are the same, in general, the process involves developing (writing) a workflow and then modeling as much of it as possible. Develop Workflow The general process used to develop a project workflow that involves the use of models to automate geoprocessing in selected sections or throughout the project What Can Be Modeled? Develop Models Modify Workflow

Building a Simple Model [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] Before looking at some example models, lets walk through building a simple model that uses the clip tool to extract a countys political areas from a state-wide shapefile. Clip Statewide Political Areas County Political Boundary County Boundary Although this may seem like a simple tool with no time-saving benefits, it is actually a small part of a much more complex tool that converts the county political boundary to a polyline and then applies a number of FEMA required attributes to those lines

BFE Snapper [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] BFE (Base Flood Elevation) lines span the floodway and contain an elevation attribute. According to FEMA guidelines they must be snapped to the edge of the 100 year floodplain. This model pulls the 100 year out of the overall floodplain and then snaps the BFE lines to its edge utilizing the Snap tool. Make Feature Layer The process of snapping BFE lines manually takes anywhere from 1-2 hours. Over 92 counties the average would total 138 hours. The model took an hour to build and test. FloodplainBFE 100-Year Flood Snap 100-Year Dissolved Dissolve BFE Snapped

Advanced Modeling [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] Basic modeling in ModelBuilder can result in complex models that can easily be applied to real-world projects. These models can reduce the need for repetitive manual geo-processing and require absolutely no programming knowledge to create. Advanced models allow the user to develop models with features that cant be replicated with manual geoprocessing. These features can have substantial impact on project labor requirements and, in many cases, only require basic programming knowledge. Tool Input Iterate Feature Classes Feature Dataset Output Tool Variable Outputs Variable

Iteration [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] An iterator repeats a process or a set of processes on a set of inputs. It is an extremely easy way to automate huge chunks of manual geo-processing. ModelBuilder can iterate over a variety of inputs including datasets, rasters, folders, tables, etc.. Tool Iterator Input Output ModelBuilder includes the following iterators: For, While, Feature Selection, Row Selection, Field Values, Multivalue, Datasets, Feature Classes, Files, Rasters, Tables and Workspaces

DEM Clipper [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] This model utilizes an iterator to clip a county-wide DEM (raster) to individual tiles. This is a part of a larger model designed to break-down a number of features into more manageable chunks based on a tile polygon. Split Tile Tiles Clip Raster Clipped Rasters Iterate Feature Classes Features Loaded DEM (Raster)

In-Line Variable Substitution [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] In ModelBuilder, contents of a variable can be used as a substitute for another variable by enclosing the substituting variable in percent (%) signs. This allows the user to simplify the building of models and extend functionality. Variable Tool Variable Input Output A basic understanding of in-line variable substitution allow the user to introduce variables into tools and outputs to increase the flexibility of their models

Variable Slope Map [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] This is a small part of a much larger model. This extracted section converts a DEM into a slope map, which is fed into the raster calculator to set cells that have a value less than a designated threshold to null using a short python expression. This is an example of how do you in-line variable substitution to extend the functionality of a model. Raster Calculator DEM Degree Slope Slope Slope Map Minimum Slope This model utilizes in-line variable substitution within a python expression to allow users of the tool to select from a list of degrees of slope without having to edit the model.

Information & Resources [ DEVELOPING GEO-PROCESSING MODELS USING ARCGIS MODELBUILDER 10 ] R. Ryan Stevens GIS Research Analyst The Polis IUPUI Working With Iterators in ModelBuilder – Tutorials ModelBuilder: Advanced Techniques – Branching and Iterating Geoprocessing With ModelBuilder