NRM638 GIS Programming Spring 2009

Mondays 3:30-630pm ONEILL Arctic Health Bldg Room183 (Distance delivery to Palmer)


Objectives:


Instructor:

Dave Verbyla, Professor,
Dept. of Forest Sciences, ONeill Bldg 366
Email: D.Verbyla@uaf.edu
Office Hours: Mondays 2-3:30, or by email appointment
 


Grading will be based as follows:

13 Weekly programming assignments @ 20 points each

235-260 points = A (>90%)

208-234 points = B ( 80 - 90 %)

182-207 points = C ( 70 - 80%)

156-182 points = D (60 - 70 %)

< 155 points = F (< 60 %)

 


Readings:

Most readings from ArcGIS desktop or web help

Intro to VBA and Arcobjects from Getting To Know Arc/Objects

available at the UAF bookstore, and the web (www.amazon.com) (www.esri.com)



 

Topic

Assignment

Readings

Jan 26 : 

Course Overview

ArcToolbox: Tools, Toolsets, Custom Toolboxes

Command Line Processing



Personal Toolbox, Wildcards and Variables in Command Line

 
ArcGIS9.3 Help:

 

Geoprocessing Book:

Using geoprocessing tools

 

Geoprocessing Quick Reference Guide

Feb 2 :  

Warmup GIS Puzzle

ArcGIS Model Builder

Model Documentation

 

ArcGIS models:

1) Buffer Roads

2) Determine spruce sawtimber 100 meters from wetlands


ArcGIS9.3 Help:

Automating Your Work With Models Book:

 

1) Model concepts and terms

 

2) Using Model Builder

Feb 9  :  

Warmup GIS Model Puzzle

Model Variables and Loops



Models to Buffer Weather Stations and Generate Statistics for Buffers

ArcGIS9.3 Help :

Automating Your Work With Models Book:

 

1) Model iteration

 

Feb 16  :  

Warmup GIS Puzzle

Introduction to Python Scripts





Python script to write corner coordinates of all Fairbanks 1:63360 quadrangles

 


ArcGIS9.3 Help :

Automatting Your Work With Scripts Book:

 

1) Getting started

Feb 23  :  

Warmup GIS Mysteries

Geoprocessing Diagram

Geoprocessing Descriptions and Listings



 

Python scripts to :

1) Add field to every feature class in a folder

2) Calculate field with every feature class in a folder

3) Build pyramids and calculate statistics for all rasters in all folders

 

 Geoprocessing Diagram

 

ArcGIS9.3 Help :

Automatting Your Work With Scripts Book:

 

1) Accessing tools within a geoprocessing scripts

 

2) Scripting properties and methods

 

 

March 2  :  

Warmup: Ten Script Errors

Geoprocessing Messages

Creating Feature Classes



Python scripts to :

1) Create points theme from text file.

2) Create polyline theme from text file.

ArcGIS9.3 Help :

Automatting Your Work With Scripts Book:

 

1) Data properties and access

 

2) Scripting properties and methods

 

SPRING BREAK

 

SPRING BREAK

March 23  :  

Reading from files

Searching for file types

ArcGIS licensed product and extensions



 



Short Python scripts to :

1) Add X,Y coords to point attribute tables

2) Determine number of features in every polygon theme

3) Find all polygon themes that do not have a field named Hectares

4) Find all shapefiles with undefined coordinate systems

5) Buffer every climate station by 100km

6) Create zonal statistics table for every raster theme in user specified workspace.

 

ArcGIS9.3 Help :

Automatting Your Work With Scripts Book:

 

1)Access to licensing and extensions

 

March 30  :  

Warmup: 2 short scripts


Insert,Search,UpdateCursors

Python Random Methods

 


Python scripts to :

1) Create uniform points along a transect..

2)Create random points along a transect.

3) Create random points within a polygon..

ArcGIS9.3 Help :

Automatting Your Work With Scripts Book:

 

1) Data access using cursors

 

Python Help random module

 

 

 


April 6  :  

Better Random Points In Polygon Scripts:
1) Select points within polygon, then randomly shuffle

2) User selects number of points to keep, then random deletion of points

3) Another script than randomly deletes points until number of points remaining is achieved


Projection information






Python scripts to :

1) Check coordinates are projected and in meters.

2) Calculate Hectares for every planar polygon in the user-selected feature class.

ArcGIS9.3 Help:

Data properties and access when scripting

--The spatial reference object

 

 

 

 

 

April 13  :

 

Scheduling Scripts

 

Script tools

 


Script tool to :

1) Calculate Hectares for every projected polygon feature class in the user-selected folder

Automatting Your Work With Scripts Book:

 

1) Creating Script Tools

 

April 20  :  

Introduction to VBA

Custom Arcmap Toolbar/Buttons

VBA/ArcObjects Messages

Introduction to ArcObjects

ArcGIS button to :

Add X,Y coordinates to every point layer in an active data frame

 

Getting To Know ArcObjects: Chapters 9-11

April 27  :  

Button's ToolTip/Message

iLayer object: selecting, naming, clearing

Spatial Reference Interface:



ArcGIS button to :

Retrieve spatial reference information of selected layer and display on status bar

ArcGIS93 VBA Developer Help

May 4  :  

Feature Geometry

Adding and Calculating Fields


ArcGIS button to :

Add and compute Hectares, Meters2, and Acres fields for selected polygon layer

 

 ArcGIS93 VBA Developer Help


Page last update January 2009
 D.Verbyla@uaf.edu