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