Lesson 3 explains how to read and manipulate both vector and raster data with Python. To complete Lesson 3 you are required to do the following:
- Work through the course lesson materials.
- Read Zandbergen chapter 7.1 - 7.3 and all of chapter 9. In the online lesson pages I have inserted instructions about when it is most appropriate to read each of these chapters.
- Complete Project 3 and submit your zipped deliverables to the Project 3 drop box.
- Complete the Lesson 3 Quiz.
- Read the Final Project proposal assignment and begin working on your proposal, which is due after the first week of Lesson 4.
Do items 1 - 2 (including any of the practice exercises you want to attempt) during the first week of the lesson. You will need the second week of the lesson to concentrate on the project, the quiz, and the proposal assignment.
By the end of this lesson you should:
- Understand the use of different types of workspaces (e.g. geodatabases) in Python
- Be able to use arcpy cursors to read and manipulate vector attribute data (search, update, and delete records)
- Know how to construct SQL query strings to realize selection by attribute with cursors or MakeFeatureLayer
- Understand the concept of layers, how layers can be created, and how to realize selection by location with layers
- Be able to write ArcGIS scripts that solve common tasks with vector data by combining selection by attribute, selection by location, and manipulation of attribute tables via cursors