In this video, Jennifer Harrison discusses some of the most commonly used modules in ArcPy. Learn how to access ArcPy modules, including the mapping module.
- [Instructor] The arcpy module gives a script access…to GIS maps, data, and functionality via a set…of submodules, classes, and methods.…It's a Python scripting library, which is a collection…of modules, functions, and object classes.…It gives access to GIS functionality with Python,…including running geoprocessing tools…from scripts, working with map documents,…and accessing layers and their properties, it's an object.…
arcpy has to be imported into each script.…The arcpy module is actually a collection of modules.…We'll look at a few of the modules that make up arcpy.…arcpy.mapping, arcpy.mapping module…includes class definitions for map documents,…data frames, layers, spatial references,…and all the other building blocks of ArcGIS.…There's also a data access module.…
The data access module includes ways…to get at the individual features in a feature class…and the individual records in a table.…We use the data access module to get…to the coordinates behind a line, for example.…Another module is the environment module.…
- 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
Skill Level Beginner
1. Python for ArcGIS Basics
2. Strings, Numbers, and Variables
Work with numeric values5m 22s
3. Syntax Rules
4. Manipulating Strings
5. Object-Oriented Programming
6. Using Loops
7. Generate Log Files
8. Input at Run Time
9. Help Documents
Documenting a script1m 59s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.