Using Python and ArcGIS    Jim Mower's Home Page

Tentative Course Outline for Using Python and ArcGIS

Fall 2017

Date

Lecture

Readings

Assignments

Aug 28

 

ArcGIS and Python

Code Academy for Python

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

30

 

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 4

 

NO CLASS

 

 

6

 

Math operations

 

 

11

 

Strings

 

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

13

 

NO CLASS

Class Exercise: Parsing Files and Strings

JM solution to class exercise

 

18

 

Intro to ArcPy

ESRI scripting resources

ArcPy Tutorials

ArcGIS Code Sharing site

CA: Strings, lessons 1-9

Lab: Basic Python Syntax (due 9/25)

20

 

NO CLASS

 

 

25

 

Creating ArcPy Scripts

 

 

27

 

Flow control

FlowControl.py

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

Oct 2

 

Reverse engineering an ArcPy script

 

CA: Conditionals & Control Flow, all lessons

4

 

Lists

 

CA: Python Lists and Dictionaries, all lessons

9

 

Functions

 

CA: PygLatin

11

 

 

 

 

16

 

Some ArcPy scripting tools

 

Python Projects to Try

18

 

Sorting in python

 

 

23

 

Classes

 

 

25

 

Inheritance and Composition

 

 

30

 

ArcPy Command Line Scripts

Python Data Exploration Problem

FindMBR.py

Nov 1

 

Dictionaries

 

Inheritance sample

6

 

Open source GIS alternatives

 

AutoCarto 2016 Open Source Workshop Presentations

8

 

Another ArcPy case study: converting vector formats

Project: dump vertex coordinates to XYZ

Convert GPS Files to Shapefiles

13

 

Ideas for Final Projects

 

Using sys.path with the import command: PythonPathTest.py

15

 

Python Error Handling

 

 

20

 

GDAL

 

 

22

 

NO CLASS

 

 

27

 

Git

 

Git Immersion (from Neo)

29

 

Using the Tkinter user interface

Experimenting with Scope

 

 

Dec 4

 

Using the arcpy.Description() function

 

 

6

 

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

 

 

 

11

 

FYI—Some open source GIS information at OSGeo