Who Should Attend?

This course is for ArcGIS Desktop users who want to learn how to write scripts to manipulate data and automate tasks. Python is becoming more and more popular for writing custom scripts in ArcGIS. Python scripts can be used to manipulate a map, execute geoprocessing commands, and read/write files. This three-day course takes a leveled approach to writing scripts; beginning with basic Python syntax and simple scripts, ending with scripts that read files, manipulate the information, and create GIS data.

Topics Covered

Day 1
• Introduction to Python – Learn about the Python scripting language, why it is useful, and begin with the basic building blocks of a script. (What is Python?; Writing Python Scripts; Python Syntax)
• Variables – Getting input from the user, storing that information in containers, and converting between different data types. (Variable Declarations; Strings and Numbers; Help and Resources)
• Object Oriented Scripting – Writing scripts that look at data and make decisions based on the properties it discovers. (Objects, Properties, and Methods; Decision Making)
• Modules and ArcPy – Accessing general, and ArcGIS-specific, functionality in Python. (Modules; ArcPy Site Package; ArcPy Methods; arcpy.env)
Day 2
• Geoprocessing with Python – Accessing ArcGIS geoprocessing tools, licenses, and extensions in Python. (ArcToolbox; Calling Tools in Python; Licenses and Extensions; Error Handling)
• Lists and Loops – Reading through lists of information, such as all of the layers in a map document or all of the feature classes in a geodatabase. (Lists; Loops; List Methods)
• Map Documents – Manipulating the contents, layer properties, and other aspects of a map document with Python. (The Big 3 Objects; Table of Contents; Data Driven Pages)
• Data Access with Cursors – Accessing, modifying, or updating the data within a table using Python. (Tuples; Search Cursors; Update Cursors; Insert Cursors)
Day 3
• Working with Geometry – Understanding how shapes are stored for GIS data and how that information is handled in Python. (Understanding Geometry; Python Objects for Geometry; Accessing Geometry)
• Custom Tools – Advanced Python techniques in the Field Calculator and creating custom ArcToolbox tools from Python scripts. (Custom Function Definitions; Script Arguments; Script Tools; ModelBuilder)
• File Input and Output – Work with directories and paths to read and write files, such as creating log files. (Working with Directories and Paths; Reading and Writing Files; File Tips and Tricks)
By the end of this course:

Participants will be able to apply the basics of writing scripts, including Python syntax, using variables, looping constructs and conditional statements, and reading and writing from a file. Participants will demonstrate the ability to access ArcGIS functionality with Python, and to manipulate GIS data.

Instructor: JEFF BARNETT
G180163Q May 22 - 24 8:30 am - 4:30 pm
Mon,Tue,Wed  $1,440.00
($1,445.00 out-of-state)
21.0 Hours

For more information about courses and programs, please call (432) 681-6335.

Midland College is accredited by the Commission on Colleges of the Southern Association of Colleges and Schools to award certificates
and associate and baccalaureate degrees. Contact the Commission on Colleges at 1866 Southern Lane, Decatur, Georgia 30033-4097
or call 404-679-4501 for questions about the status of Midland College.

Midland College is an Equal Opportunity Employer/Educator

mc logo  secure90x72