PYTHON FOR ArcGIS - WRITING SCRIPTS TO MANIPULATE GIS DATA
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.
• 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)
• 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)
• 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.
|G180163Q||May 22 - 24||8:30 am - 4:30 pm|
|ATC BUILDING 3200 W. CUTHBERT|