Using Python and ArcGIS    Jim Mower's Home Page

Tentative Course Outline for Using Python and ArcGIS

Fall 2016

Date

Lecture

Readings

Assignments

Aug 29

ArcGIS and Python

Code Academy for Python

Code Academy (CA): Python Syntax, lessons 1-4

31

Intro to Python

Python 2.7 Tutorial (Python Software Foundation)

Python tutorials by Bucky Roberts (but for consistency, please use my installation instructions)

CA: Python Syntax, lessons 5-9

Sept 5

NO CLASS

 

 

7

Math operations

 

Lab: Basic Python Syntax (due 9/19)

12

Strings

Class Exercise: Parsing Files and Strings

 

CA: Python Syntax, lessons 10-14, Tip Calculator—all lessons

14

NO CLASS

 

 

19

Intro to ArcPy

ESRI scripting resources

ArcPy Tutorials

ArcGIS Code Sharing site

CA: Strings, lessons 1-9

21

Creating ArcPy Scripts

 

 

26

Flow control

 

Lab: Code Challenge--Lists and Loops (due 10/5)

28

Reverse engineering an ArcPy script

 

CA: Conditionals & Control Flow, all lessons

Oct 3

NO CLASS

 

 

5

Lists

 

CA: Python Lists and Dictionaries, all lessons

10

Functions

 

CA: PygLatin

12

NO CLASS

 

 

17

Some ArcPy scripting tools

 

 

19

Classes

 

 

24

Inheritance and Composition

 

 

26

ArcPy Command Line Scripts

 

 

31

Dictionaries

 

Inheritance sample

Nov 2

Open source GIS alternatives

 

AutoCarto 2016 Open Source Workshop Presentations

7

Project: dump vertex coordinates to XYZ

 

 

9

Another ArcPy case study: converting vector formats

 

Convert GPS Files to Shapefiles

14

Ideas for Final Projects

 

 

16

Python Error Handling

 

 

21

GDAL

 

 

23

NO CLASS

 

 

28

Git

 

Git Immersion (from Neo)

30

Using the Tkinter user interface

Experimenting with Scope

 

 

Dec 5

Using the arcpy.Description() function

 

 

7

Using the pyshp package to draw shapefiles on a Tkinter canvas widget

 

 

 

12

FYI—Some open source GIS information at OSGeo