21
Geography 465 Working with ArcGIS Tools and Environment Settings

Geography 465 Working with ArcGIS Tools and Environment Settings

  • View
    226

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Geography 465 Working with ArcGIS Tools and Environment Settings

Geography 465

Working with ArcGIS Tools

and Environment Settings

Page 2: Geography 465 Working with ArcGIS Tools and Environment Settings

Toolbox defined

Page 3: Geography 465 Working with ArcGIS Tools and Environment Settings

Standard Toolboxes

Page 4: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 5: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 6: Geography 465 Working with ArcGIS Tools and Environment Settings

Parameters are specified using strings or objects

Page 7: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 8: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 9: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 10: Geography 465 Working with ArcGIS Tools and Environment Settings

Environment SettingsDivided into five categories:- General- Coverage- Geodatabase- Raster geodatabase- Raster analysis

Names are unique; same constraints as tool names

Page 11: Geography 465 Working with ArcGIS Tools and Environment Settings

Environment Setting

Page 12: Geography 465 Working with ArcGIS Tools and Environment Settings

Environment Setting

Page 13: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 14: Geography 465 Working with ArcGIS Tools and Environment Settings

Save Environment Setting

Page 15: Geography 465 Working with ArcGIS Tools and Environment Settings

Save Environment Setting

Page 16: Geography 465 Working with ArcGIS Tools and Environment Settings

Complex Parameters - Objects

For example:

Spatial references, value tables, weighted overlay tables, and remap tables

Read/write properties

Each tool documentation has the specification

Page 17: Geography 465 Working with ArcGIS Tools and Environment Settings

Complex Parameters - Objects

Page 18: Geography 465 Working with ArcGIS Tools and Environment Settings

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)

Page 19: Geography 465 Working with ArcGIS Tools and Environment Settings
Page 20: Geography 465 Working with ArcGIS Tools and Environment Settings

Describe method - 9.3

Page 21: Geography 465 Working with ArcGIS Tools and Environment Settings

Exercising the Geoprocessor and

Python Scripting