Index
A
- adjusted map
- exporting, to PDF / Exporting the adjusted map to PDF
- analysis components
- adding / Adding advanced analysis components
- Polygon object methods / Advanced Polygon object methods
- random points, generating to represent population / Generating random points to represent population
- functions used, within script / Using the functions within a script
- XLS creating, XLWT used / Creating an XLS using XLWT
- analysis results
- tallying / Tallying the analysis results
- Application Programming Interface (API) / Wrapper modules
- Aptana Studio 3 / Aptana Studio 3
- URL / Aptana Studio 3
- ARC Macro Language (AML)
- about / ModelBuilder
- ArcPy
- about / Overview of Python
- used, with map documents / Using ArcPy with map documents
- used, for accessing network dataset / Accessing the Network Dataset using ArcPy
- arcpy.AddMessage
- used, for displaying script messages / Displaying script messages using arcpy.AddMessage
- arcpy.mapping
- used, for controlling Layer objects / Using arcpy.mapping to control Layer objects
- arcpy.Point function / Using an Insert Cursor
- arcpy.SpatialReference() method / The data access module
- ArcPy geometry object classes
- about / ArcPy geometry object classes, ArcPy Point objects, ArcPy Array objects, ArcPy Polyline objects
- Polygon objects / ArcPy Polygon objects, Polygon object buffers, Other Polygon object methods
- geometry objects / ArcPy geometry objects
- PointGeometry objects / ArcPy PointGeometry objects
- ArcPy module
- about / Overview of Python, The ArcPy module
- attribute field interactions / Attribute field interactions
- automated map document adjustment
- about / Automated map document adjustment
- variables / The variables
- map document object / The map document object and the text elements
- text elements / The map document object and the text elements
- layer visibility, adjusting / Adjusting layer visibility
- buffer, generating from bus stops feature class / Generating a buffer from the bus stops feature class
- bus stop buffer and census blocks, intersecting / Intersecting the bus stop buffer and census blocks
- text elements, updating / Updating the text elements
B
- broken links
- fixing / Fixing the broken links
- buffer
- generating, from bus stops feature class / Generating a buffer from the bus stops feature class
- Buffer tool
- modeling / Modeling the Select and Buffer tools
- built-in functions
- built-in modules
- bus stop buffer block
- and census block, intersecting / Intersecting the bus stop buffer and census blocks
- bus stop class
- and buffer feature class, populating / Populating the selected bus stop and buffer feature classes
- Bus Stop feature class
- adding, as parameter / Adding the Bus Stop feature class as a parameter
- bus stop fields
- adding, as parameter / Adding the bus stop fields as a parameter
C
- census block
- and bus stop buffer block, intersecting / Intersecting the bus stop buffer and census blocks
- Census Block feature class
- adding, as parameter / Adding the Census Block feature class as a parameter
- Census Block field
- adding, as parameter / Adding the Census Block field as a parameter
- Comma Separated Value (CSV) / Adding the output spreadsheet as a parameter
- comments
- about / Comments
- CSV module
- adding, to script / Adding the CSV module to the script
- cursor
- used, for accessing data / Accessing the data: Using a cursor
D
- data
- accessing, cursor used / Accessing the data: Using a cursor
- data access module
- about / The data access module
- attribute field interactions / Attribute field interactions
- update cursor / Update cursors
- shape field, updating / Updating the shape field
- point location, adjusting / Adjusting a point location
- row, deleting with update cursor / Deleting a row using an Update Cursor
- insert cursor, using / Using an Insert Cursor
- data frame window extent
- controlling / Controlling the data frame window extent and scale
- datasets
- importing / Importing the datasets
- data sources
- replacing / Replacing the data sources
- data types
- about / Data types
- strings / Strings
- integers / Integers
- floats / Floats
- lists / Lists
- tuples / Tuples
- dictionaries / Dictionaries
- iterable data types / Iterable data types
- adding / Adding data types
- definition query
- about / Definition queries
- def keyword
- about / Functions
- deleteRow method / Deleting a row using an Update Cursor
- dictionaries / Dictionaries
- dynamic components
- adding, to script / Adding dynamic components to the script
- dynamic parameters
- adding, to script / Adding dynamic parameters to a script
E
- environmental settings
- about / Environmental settings
- resolution setting / Resolution and tolerance settings
- tolerance setting / Resolution and tolerance settings
- Extent setting / Resolution and tolerance settings
- Mask setting / Resolution and tolerance settings
- Cell Size setting / Resolution and tolerance settings
F
- feature classes
- field information, obtaining from / Getting field information from feature classes
- List Fields tool / Accessing the ListFields' properties
- List comprehensions / List comprehensions
- field information functions, creating / Creating the field information functions
- feature class information, querying / Querying feature class information
- File Geodatabases, generating / Generating File Geodatabases and feature classes
- generating / Generating File Geodatabases and feature classes, Generating a feature class
- script tool parameters, setting up / Setting up the script tool parameters
- environmental settings / Environmental settings
- feature class information
- querying / Querying feature class information
- Feature Dataset
- creating / Creating a Feature Dataset
- field information
- obtaining, from feature classes / Getting field information from feature classes
- field information functions
- creating / Creating the field information functions
- file paths, in Python
- about / File paths in Python
- final script
- about / The final script
- inspecting / Inspecting the final script, Running the Script Tool
- floats / Floats
- for loops / For loops
- functions
- about / Functions
- used, within script / Using the functions within a script
G
- geometry objects / ArcPy geometry objects
- GIS
- about / Data types
H
- hard-coded inputs
I
- IDEs
- about / Integrated Development Environments (IDEs), IDE summary
- IDLE / IDLE
- PythonWin / PythonWin
- Aptana Studio 3 / Aptana Studio 3
- automatically generated script / The automatically generated script
- IDLE
- about / IDLE
- If/Elif/Else statements
- about / If/Elif/Else statements
- import statements / Import statements
- indentation
- about / Indentation
- individual layers
- insert cursor
- using / Using an Insert Cursor
- integers / Integers
- Intersect tool
- adding / Adding the Intersect tool
- iterable data types / Iterable data types
K
- keyword method / Adjusting a point location
- keywords
- about / Keywords
L
- Layer object
- adding / Adding a Layer object
- Layer objects
- controlling, arcpy.mapping used / Using arcpy.mapping to control Layer objects
- methods / Layer object methods and properties
- properties / Layer object methods and properties
- layer objects
- about / The layer objects
- Layers
- layer sources
- inspecting / Inspecting and replacing layer sources
- replacing / Inspecting and replacing layer sources
- broken links, fixing / Fixing the broken links
- individual layers, fixing / Fixing the links of individual layers, Exporting to PDF from an MXD
- map document elements, adjusting / Adjusting map document elements
- layer visibility
- adjusting / Adjusting layer visibility
- List comprehensions / List comprehensions
- List Fields tool / Accessing the ListFields' properties
- lists / Lists
M
- map document elements
- adjusting / Adjusting map document elements
- map documents
- ArcPy, using with / Using ArcPy with map documents
- maps
- exporting / Exporting the maps
- model
- creating / Creating a model and exporting to Python
- exporting, to Python / Creating a model and exporting to Python
- Select tool, modeling / Modeling the Select and Buffer tools
- Buffer tool, modeling / Modeling the Select and Buffer tools
- Intersect tool, adding / Adding the Intersect tool
- analysis results, tallying / Tallying the analysis results
- exporting / Exporting the model and adjusting the script
- ModelBuilder
- about / ModelBuilder
- module
- adding, sys module used / Using Python's sys module to add a module
- modules
- residing / Where modules reside
N
- namespaces
- about / Namespaces
- naming variables
- using, best practices / Variables
- Network Analyst
- using / Using Network Analyst
- Feature Dataset, creating / Creating a Feature Dataset
- datasets, importing / Importing the datasets
- network dataset, creating / Creating the Network Dataset
- network dataset access, ArcPy used / Accessing the Network Dataset using ArcPy
- Network Analyst extension
- about / The Network Analyst extension
- Network Analyst module
- about / The Network Analyst module
- network dataset
- creating / Creating the Network Dataset
O
- Operating System (OS) module
- about / The Operating System (OS) module
- output spreadsheet
- adding, as parameter / Adding the output spreadsheet as a parameter
P
- parameter
- Census Block feature class, adding as / Adding the Census Block feature class as a parameter
- Census Block field, adding as / Adding the Census Block field as a parameter
- output spreadsheet, adding as / Adding the output spreadsheet as a parameter
- spreadsheet field names, adding as / Adding the spreadsheet field names as a parameter
- SQL Statement, adding as / Adding the SQL Statement as a parameter
- bus stop fields, adding as / Adding the bus stop fields as a parameter
- parameters
- data types, adding / Adding data types
- Bus Stop feature class, adding as / Adding the Bus Stop feature class as a parameter
- PDF
- adjusted map, exporting to / Exporting the adjusted map to PDF
- PointGeometry objects / ArcPy PointGeometry objects
- point location
- adjusting / Adjusting a point location
- polygon geometry
- inserting / Inserting a polygon geometry
- Polygon object methods / Advanced Polygon object methods
- Polygon objects / ArcPy Polygon objects, Polygon object buffers, Other Polygon object methods
- polyLine geometry
- inserting / Inserting a polyline geometry
- programming jargon
- about / For loops
- Python
- about / Overview of Python
- Python, as programming language
- about / Python as a programming language
- interpreted language / Interpreted language
- standard (built-in) library / Standard (built-in) library
- glue language / The glue language
- wrapper modules / Wrapper modules
- Python, basics
- about / The basics of Python
- import statements / Import statements
- variables / Variables
- for loops / For loops
- If/Elif/Else statements / If/Elif/Else statements
- while statement / While statements
- comments / Comments
- Python folder structure
- about / Python folder structure
- modules, residing / Where modules reside
- sys module used, for adding module / Using Python's sys module to add a module
- Python functions
- about / Python functions–Avoid repeating code
- defining / Technical definition of functions
- writing / A first function
- with parameters / Functions with parameters
- used, for replacing repetitive code / Using functions to replace repetitive code
- generalization / More generalization of the functions
- Python interpreter
- Python module
- creating / Creating a Python module
- __init__.py file / The __init__.py file
- Python Modules, for GIS Analysis
- Python script
- about / What is a Python script?
- executing / How Python executes a script
- Python System (SYS) module
- about / The Python System (SYS) module
- PythonWin / PythonWin
- URL / PythonWin
- Python Window
- script, running in / Running the script in the Python Window
R
- random points
- generating, to represent population / Generating random points to represent population
- replace() method / Update cursors
- row
- deleting, with update cursor / Deleting a row using an Update Cursor
S
- scale properties
- controlling / Controlling the data frame window extent and scale
- script
- adjusting / Exporting the model and adjusting the script, Adjusting the Script
- CSV module, adding to / Adding the CSV module to the script
- dynamic parameters, adding to / Adding dynamic parameters to a script
- dynamic components, adding to / Adding dynamic components to the script
- running, in Python Window / Running the script in the Python Window
- breaking / Breaking down the script
- Script Analysis, ArcPy Tools
- continuing / Continuing the script analysis: the ArcPy tools
- Intersect Tool / The Intersect tool and string manipulation
- String Manipulation / The Intersect tool and string manipulation
- script messages
- displaying, arcpy.AddMessage used / Displaying script messages using arcpy.AddMessage
- script tool
- creating / Creating a Script tool
- parameters, defining / Labelling and defining parameters
- parameters, labelling / Labelling and defining parameters
- script tool parameters
- setting up / Setting up the script tool parameters
- Select tool
- modeling / Modeling the Select and Buffer tools
- shape field
- updating / Updating the shape field
- Spatial Analyst Extension
- accessing / Accessing the Spatial Analyst Extension
- elevation, adding to bus stops / Adding elevation to the bus stops
- Map Algebra used, for generating elevation in feet / Using Map Algebra to generate elevation in feet
- bus stops, adding / Adding in the bus stops and getting elevation values, The final result
- elevation values, obtaining / Adding in the bus stops and getting elevation values, The final result
- spreadsheet field names
- adding, as parameter / Adding the spreadsheet field names as a parameter
- SQL Statement
- adding, as parameter / Adding the SQL Statement as a parameter
- standard library modules
- string addition / The string manipulation method 1–string addition
- string formatting / The string manipulation method 2–string formatting #1, The string manipulation method 3–string formatting #2
- String Manipulation
- string addition / The string manipulation method 1–string addition
- string formatting / The string manipulation method 2–string formatting #1, The string manipulation method 3–string formatting #2
- strings / Strings
- subroutines
- Sys.path.append() method
- about / The sys.path.append() method
- sys module
- used, for adding module / Using Python's sys module to add a module
T
- text elements
- updating / Updating the text elements
- adjusted map, exporting to PDF / Exporting the adjusted map to PDF
- Tkinter
- about / IDLE
- tuples / Tuples
U
- update cursor
- about / Update cursors
- used, for deleting row / Deleting a row using an Update Cursor
- updateRow() method / Update cursors, Adjusting a point location
W
- while statement / While statements
X
- XLRD module
- about / The XLRD and XLWT modules
- XLS
- creating, XLWT used / Creating an XLS using XLWT
- XLWT module
- about / The XLRD and XLWT modules
Z
- zero-based indexing
- about / Zero-based indexing