geography 465 working with arcgis tools and environment settings

Post on 20-Dec-2015

222 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

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 tables

Read/write properties

Each 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 Properties

dscFD = gp.Describe (“Seattle.mdb\\Census)

Describe method - 9.3

Exercising the Geoprocessor and

Python Scripting

top related