NCSU home GIST home
GIS Programming Fundamentals
NR595
Dr. Laura Tateosian

Schedule

Day

Python Topics with exercises Related Reading  
1
(Aug 20)

  1. Intro to scripting for geoprocessing
  2. PythonWin
  3. Exporting Python scripts

WGS Ch 1 Introduction to scripting in ArcGIS
WGS Ch 2 Getting Started pages 11-21
Suggested Review: GP with ArcGISDesktop
Suggested Review: Geoprocessing with Modelbuilder

Slides 1
Hwk 1_2_3
In class 1

2

(Aug 25) 3

  1. Pseudocode
  2. Basic Python components
same as above
Napquest
Slides 2
Hwk 4_5
In class 2
3
(Aug 27)
  1. Strings
  2. Lists

GKA pages 1-4 Programming with objects
PT Numbers, Strings, & Lists
PL String Methods, PT More on Lists

Slides 3
Hwk 6_7
In class 3
4
(Sep 1)
  1. Geoprocessor object & tools
WGS Ch 3 Using tools Slides 4
Hwk 8
In class 4
5
(Sep 3)

  1. Passing arguments
  2. Decision-making & describing data

PT if statements
WGS Ch 6 Describing Data p 66-70

Slides 5a
Hwk 9_10
In class 5
6
(Sep 8)
  1. Looping
PT for statements and range function.
PL Common pathname manipulations
Slides 5b
Slides 6
Hwk 11
In class 6
7
(Sep 10)
  1. Debugging

WGS Ch 2 Executing and debugging p 22-25

Slides 7
Hwk 12
In class 7
8
(Sep 15)
  1. Batch Processing
WGS Ch 4 Batch Processing Slides 8
Hwk 13
In class 8
9
(Sep 17)
  1. Batch Processing (Part 2)
WGS Ch 4 Batch Processing Slides 8
Hwk 13b
In class 9
10
(Sep 22)
  1. Messaging   

WGS Ch 5 Messaging

Slides 9
Hwk 14
In class 10

11
(Sep 24)
  1. Error Handling

PT Errors and Exceptions

Slides 10
Hwk 15
In class 11

12
(Sep 29)
  1. Procedures

PT Functions

Slides 11
Hwk 16
In class 12
13
(Oct 1)
  1. Cursors

WGS Ch 6

Slides 12
Hwk 17
In class 13
14
(Oct 6)
  1. Dictionaries

PT Dictionaries

Slides 13
Hwk 18
In class 14
(Oct 8) ~~Fall Break~~    
15
(Oct 13)
  1. Reading and writing text files

Python Tutorial on Reading & Writing files
Sturlow: File I/O (input/output)

Slides 14
Hwk 19
In class 15
16
(Oct 15)
  1. File GUIs
  2. Code reuse: modules
TkFileDialog
PT Modules, Sthurlow Modules
Slides 15
Hwk 20_21
In class 16
17
(Oct 20)
  1. Code reuse: classes

Classes-Wiki, Sthurlow Classes, PT Classes

Slides 16
Hwk 22
In class 17

 

VBA Topics with exercises Related Reading  
18
(Oct 22)
  1. VBA Code Organization
  2. VBA variables
Programming ArcObjects with VBA p16-21
Getting to Known ArcObjects p1-4
ESRI course: Exploring the VBA Environment
Slides 17
Hwk23_24
In class 18
19
(Oct 27)
  1. Forms
  2. VBA vs. Python syntax

GKA Ch 2 Building a custom application
GKA Ch 3 Creating a dialog box

Slides 18
Hwk25
In class 19
cheat sheet
20
(Oct 29)
  1. VBA Procedures
  2. VBA classes and objects
GKA Ch 6 Using subroutines and functions
GKA Ch 4 Programming with objects
GKA Ch 9 Making your own objects
Slides 19
Hwk2627
In class 20
21
(Nov 3)
  1. Calling a script from VBA


Slides 20
Hwk29
In class 21
22
(Nov 5)
  1. Debugging VBA
GKA Ch 8 Fixing bugs
Slides 21
Hwk30
23
(Nov 10)
  1. Introduction to ArcObjects

GKA Ch 10 Programming with interfaces

Slides 22
Hwk31
In class 22

24
(Nov 12)

    Revisit:controls(e.g.,combo & list boxes)
   32.  Managing Existing Map Layers

GKA Ch 11 Navigating object model diagrams

Slides 23
Hwk32
In class 20
25
(Nov 17)
  1. Adding layers to maps
GKA Ch 14 Adding layers to a map Slides 24
Hwk33
In class 23
26
(Nov 19)
  1. File Dialog Interface
GKA Ch 16 Using ArcCatalog objects in ArcMap Slides 25 Hwk34
In class 24
27
(Nov 24)
Project guidelines and consultation  
28
(Dec 1)
Project consultation    
29
(Dec 3)
Project consultation    
Final
(Dec 10)

Final Project Presentations Due