175x Filetype PDF File size 1.57 MB Source: teachmegis.com
Lecture 1: Python and ArcGIS - Working with Lists Python and ArcGIS - Working with Lists Instructor: Jenny Harrison E-mail: Jennifer.Harrison@TeachMeGIS.com 1-1 _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ © 2017 TeachMeGIS All rights reserved. Revised 11/17 Lecture 1 - 1 Lecture 1: Python and ArcGIS - Working with Lists This talk will go into the details of working with lists in Python. Specifically, we will talk about how to use the command-line argument list to get input parameters from the user when a Python script is run as a tool or through a button in ArcMap®, and discuss a variety of list methods in ArcPy. 1-2 _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ © 2017 TeachMeGIS All rights reserved. Lecture 1 - 2 Revised 11/17 Lecture 1: Python and ArcGIS - Working with Lists Workshop Overview Python – Working with Lists • Assumptions for This Workshop • Adding a Python Script as a Tool – ArcMap/ArcGIS Pro® • Python Lists • Getting Input from the User – The argv List • Using Loops to Step Through Lists • Methods in ArcPy® that Return Lists 1-3 _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ © 2017 TeachMeGIS All rights reserved. Revised 11/17 Lecture 1 - 3 Lecture 1: Python and ArcGIS - Working with Lists Assumptions for This Workshop 1-4 _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ © 2017 TeachMeGIS All rights reserved. Lecture 1 - 4 Revised 11/17
no reviews yet
Please Login to review.