Geography 465 Working with ArcGIS Tools and Environment Settings
Toolbox defined
Standard Toolboxes
Parameters are specified using strings or objects
Environment Settings Divided into five categories: -General -Coverage -Geodatabase -Raster geodatabase -Raster analysis Names are unique; same constraints as tool names
Environment Setting
Save Environment Setting
Complex Parameters - Objects For example: Spatial references, value tables, weighted overlay tables, and remap tables Read/write properties Each tool documentation has the specification
Complex Parameters - Objects
Retrieving properties using Describe # Workspace dscWS = gp.Describe (“Seattle.mdb”) # FeatureClass Properties dscFC = gp.Describe (“Seattle.mdb\\Parcels”) # DataSet Properties dscFD = gp.Describe (“Seattle.mdb\\Census)
Describe method - 9.3
Exercising the Geoprocessor and Python Scripting