Spatial Modeling and Analysis in ArcGIS Kevin Armstrong
Agenda
•
•
Modelbuilder -
Brief Intro
-
Working with variables
Network Analysis •
•
Drive Time
Spatial Analyst •
Zonal Tools
•
Weighted Overlay
Required knowledge for building models?
•
•
Know how to use geoprocessing tools -
Complex operations are accomplished by combining simple operations
-
Learn how to combine tools in the correct order
Know how to use ModelBuilder techniques
Making a Model a Tool
•
Creating model elements for parameters
•
Setting data type on model elements
•
Setting filters on model parameters
•
Setting symbology on model parameters
•
Using variables for environment setting
•
Using the feature set data type to make models interactive
Modelbuilder
Buffer and Clip Example
•
Make the model interactive
Parcel Report Example
•
Given a parcel id, report all the parcels within 500 feet
•
Create a model where only the parcel id is entered
•
Export the list of parcels to an html file
Model Variables
Parcel Report: Create a variable for the parcel id
•
Create a variable for the parcel id in the model -
Use the “String” data type
•
Rename the variable to “ParcelID”
•
Make the variable a model parameter
Parcel Report: in-line variable substitution
•
Note the single quotes around the variable name -
You have to supply proper quoting in the expression
In-line variable substitution = flexibility
•
Any string or path parameter can include in-line variables
•
Use %% to indicate in-line variable
•
Keywords: Variable Names - Environment setting names - Built in keywords - %n% is the current iteration number - %i% is the current list index - %v% is the current series value -