Learning ArcGIS Python Scripting

Learning ArcGIS Python Scripting

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 27m | 325 MB

Have you ever needed to find all the broken links in a set of map documents? Or convert units before loading map data? Python is the gateway for automating common GIS tasks like these. Python scripts can be used to manipulate maps, execute commands, and even read and write data from files. Learn how to produce faster, deeper insights into your GIS data by adding Python scripting to ArcGIS Desktop. This course starts with the basics, including strings, variables, and conditional statements. Jennifer Harrison—founder of TeachMeGIS—gets you comfortable writing scripts in IDLE, the integrated development environment for Python, and ramps up to writing output to the screen, passing command-line arguments into scripts, and reading from and writing to a log file. She also introduces the ArcGIS arcpy module for creating map documents and shows how to integrate customized scripting tools into ArcMap.

Topics include:

  • Writing and running Python scripts in IDLE
  • Making scripts flexible with variables
  • Commenting scripts
  • Manipulating string data
  • Object-oriented programming in Python
  • Creating loops
  • Reading and writing text files
  • Capturing input at runtime
  • Documenting your scripts
Table of Contents

01 Leverage Python in ArcGIS
02 What you should know
03 Scripting overview
04 Python throughout ArcGIS
05 Compose and run scripts in an IDE
06 Write your first script
07 Use variables to make scripts flexible
08 Work with numeric values
09 Basic Python syntax rules
10 Comment scripts
11 Reserved words
12 Special string characters
13 Additional manipulations
14 String functions
15 Help for string functions
16 Object-oriented programming (OOP) overview
17 Objects, properties, and methods
18 Incorporating site packages
19 ArcGIS Python module
20 Basics of ArcPy
21 Help for ArcPy
22 Use loops to work with lists
23 Use the foreach loop
24 Help for list functions
25 Nested loops
26 Conditional statements
27 Read and write to a text file
28 Write multiple records to a file
29 Making scripts dynamic
30 Command-line arguments
31 Capture arguments in a list variable
32 Work with toolboxes in ArcMap
33 Creating a custom toolbox
34 Documenting a script
35 Next steps