Index
A
- add-in
- about / Introduction
- installing / Installing and testing an add-in, How to do it…
- testing / How to do it…, How it works…
- AddFieldDelimiters() function / How it works…
- AddLayer() function / Adding layers to a map document, Inserting layers into a map document
- AddLayerToGroup() function / There's more…
- ADD_TO_SELECTION method / Getting ready
- Analysis Tools toolbox
- about / How it works…
- append() method / Lists
- append mode
- about / How it works…
- ArcCatalog
- about / How it works…
- ArcEditor
- about / Getting ready
- ArcGIS
- geoprocessing / Introduction
- ArcGIS 10
- about / Introduction, Introduction
- ArcGIS 10.0
- about / The Python shell window
- ArcGIS Desktop
- ArcGIS Desktop help system
- about / Using ArcGIS Desktop help
- using / How to do it...
- working / How it works...
- ArcGIS Destkop
- about / Executing tools from a script
- ArcGIS geoprocessing scripts
- about / Getting ready
- ArcGIS Python window
- about / Introduction
- using / Using the ArcGIS Python window, How to do it…
- arcgis scripting module
- about / Getting ready
- ArcInfo
- about / Getting ready
- ArcMap / How to do it…
- ArcMap zoom and pan tools
- about / How to do it…
- ArcPy
- accessing, with Python / Accessing ArcPy with Python, How to do it…
- about / Getting ready
- working / How it works…
- arcpy.da
- about / Introduction
- arcpy.da module
- about / Getting ready
- arcpy.ga module
- about / Getting ready
- arcpy.GetReturnCode() function / How it works…
- arcpy.mappingListLayers function
- about / How to do it…
- arcpy.mapping module
- about / How to do it…, Introduction
- arcpy.mapping package / How it works...
- arcpy.na module
- about / Getting ready
- arcpy.sa module
- about / Getting ready
- arcpy.time module
- about / Getting ready
- arcpy Data Access module
- about / Introduction
- ArcPy mapping module
- about / Introduction
- ArcPy modules
- accessing, with Python / Accessing ArcPy modules with Python, How to do it…
- Mapping module / Getting ready
- Data Access module / Getting ready
- Spatial Analyst module / Getting ready
- Geostatistical module / Getting ready
- Network Analyst module / Getting ready
- Time module / Getting ready
- ArcPy Python site package / Introduction
- ArcToolbox
- ArcView
- about / Getting ready
- attribute queries
- about / Introduction
- combining, with spatial queries / Combining a spatial and attribute query with the Select by Location tool, How to do it..., How it works...
- attribute query syntax
- constructing / Constructing proper attribute query syntax, How to do it…, How it works…
- auto-arrange feature / How it works…
B
- batch files
- scripts, adding to / Getting ready, There's more...
- scheduling, with Windows Scheduler / How to do it..., How it works...
- break statement / Looping statements
- broken data sources
- about / Finding broken data sources in your map document and layer files
- finding, in layer files / How to do it…
- finding, in map document / How to do it…, How it works…
- fincing, in layer files / How to do it…, How it works…
- finding, MapDocument.findAndReplaceWorkspacePaths() method used / Getting ready, How to do it…, How it works…
- finding, MapDocument.replaceWorkspaces() method used / Fixing broken data sources with MapDocument.replaceWorkspaces(), How to do it…, How it works…
- finding, in map documents / Finding all broken data sources in all map documents in a folder, How to do it..., How it works...
- Buffer tool
- about / How to do it…
- buffer_distance_or_field parameter / How it works...
- button add-in
- about / Creating a button add-in
- creating, steps / Getting ready, How to do it..., How it works...
C
- childNodes attribute / Getting ready
- classes
- about / Classes and objects
- CLEAR_SELECTION method / Getting ready
- close() method / File I/O
- code
- commenting / Commenting code
- ComboBox add-in / There's more…
- comma-delimited text file
- processing / Getting ready, How to do it…, How it works…
- command-line input
- capturing, sys.argv[] object used / Getting ready, How to do it..., How it works...
- comments
- about / Commenting code
- compound statements / Decision support statements
- config.xml file / How it works...
- contains() method / Classes and objects
- continue statement / Looping statements
- crosses() method / Classes and objects
- CURRENT keyword
- about / Getting ready, How it works
- cursor performance
- improving, with geometry tokens / Getting ready, How to do it…
- cursors
- overview / Introduction
- cwd() method / There's more…
D
- data
- storing, variables used / Using variables to store data, Getting ready
- reading, from delimited text files / Getting ready, How to do it…, How it works…
- Data Access module
- about / Getting ready
- data frame
- accessing / Accessing a data frame, How it works...
- DataFrame class / Getting ready, Getting ready
- datatypes
- about / Variables, Built-in datatypes
- strings / Strings
- numbers / Numbers
- lists / Lists
- tuples / Tuples
- dictionaries / Dictionaries
- data view
- about / Getting ready...
- deactivate() function / Getting ready
- decision support statements
- about / Decision support statements
- default Python error message
- exploring / Exploring the default Python error message, How it works…
- delete() method / There's more…
- deleteRow() method / Introduction
- about / Getting ready
- delimited text files
- data, reading from / Getting ready, How to do it…, How it works…
- Describe() function
- used, for returning descriptive information of feature class / Using the Describe() function to return descriptive information about a feature class, How to do it…, How it works…
- used, for returning descriptive information of image / Getting ready, How to do it…
- used, for returning workspace information / Returning workspace information with the Describe() function, Getting ready, How to do it…
- descriptive information, of feature class
- returning, Describe() function used / Using the Describe() function to return descriptive information about a feature class, How to do it…, How it works…
- descriptive information, of image
- returning, Describe() function used / Getting ready, How to do it…
- dictionaries
- about / Dictionaries
- dir() method / There's more…
- disjoint() method / Classes and objects
- disk
- map documents, referencing on / Referencing map documents on a disk
- document object model (DOM) / How it works…
- dot notation / Classes and objects
- dynamic typing / Variables
E
- .esriaddin file / How to do it…
- e-mails
- sending, through Python script / Getting ready, How to do it…, How it works…
- edit session
- rows, updating inside / Getting ready, How to do it…, How it works…
- rows, inserting inside / Getting ready, How to do it…, How it works…
- email module / Getting ready
- end of file (EOF) marker
- about / File I/O
- environment variables
- equals() method / Classes and objects
- error message
- about / Getting ready
- error messages
- ESRI
- about / Getting ready
- Esri
- exception handling
- about / Getting ready, How to do it…, There's more…
- ExportToBMP() function / Getting ready
- ExportToGIF() function / Getting ready
- ExportToJPEG() function / Getting ready, How it works…
- ExportToPDF() function / Exporting a map to a PDF file, How it works…, How it works…
- Extent class / Classes and objects
- extent property / Getting ready
F
- feature class
- geometry, reading from / Getting ready, How to do it…, How it works…
- list of fields, getting in / Getting a list of fields in a feature class or table, How to do it…, How it works…
- feature layers
- about / Creating feature layers and table views
- creating / Getting ready, How to do it…, How it works...
- features
- selecting, with Select Layer by Attribute tool / Getting ready, How it works…
- selecting, with Select by Location tool / Getting ready, How to do it…, How it works…
- retrieving, with SearchCursor / Retrieving features from a feature class with a SearchCursor, Getting ready, How it works…
- file handling
- File I/O
- about / File I/O
- files
- retrieving, from FTP server / Getting ready, How to do it…, How it works…
- findAndReplaceWorkspacePath() method / There's more…
- findAndReplaceWorkspacePaths() method / Getting ready
- for loop / Decision support statements
- ftplib module
- about / Getting ready
- FTP server
- files, retrieving from / Getting ready, How to do it…, How it works…
- fundamentals, Python
- code, commenting / Commenting code
- modules, importing / Importing modules
- variables / Variables
- built-in datatypes / Built-in datatypes
- classes / Classes and objects
- objects / Classes and objects
- statement / Statements
- File I/O / File I/O
G
- Generate Random Points tool / Getting ready
- geodatabases
- geometry
- reading, from feature class / Getting ready, How to do it…, How it works…
- geometry tokens
- about / Improving cursor performance with geometry tokens
- used, for improving cursor performance / Getting ready, How to do it…
- geoprocessing framework
- about / Introduction
- geoprocessing script
- about / Executing scripts from IDLE
- tools, executing from / Executing tools from a script
- map document, referencing from / Referencing the current map document, How to do it…
- geoprocessing tool
- executing, from script / Executing tools from a script, How to do it…
- Buffer tool / How to do it…
- working / How it works…
- about / Creating a custom geoprocessing tool
- creating / Getting ready, How to do it…, There's more...
- geoprocessing tools
- searching / Finding geoprocessing tools, Getting ready, How to do it…, How it works…
- executing, from script / Executing geoprocessing tools from a script, How to do it…, How it works…
- geoprocessing workflows
- about / There's more…
- Geostatistical module
- about / Getting ready
- getAttribute() function / How it works…
- getElementsByTagName() method / How it works…
- getElementsByTagName(tag) function / Getting ready
- GetMessage() function
- used, for returning individual messages / Getting ready, How it works...
- GetMessages() function
- about / Retrieving tool messages with GetMessages()
- used, for retrieving tool messages / Getting ready, How it works…
- GetParameterAsText() function / How to do it…
- GIS operations
- about / Introduction
- Gmail / Getting ready
- GraphicElement / How it works…
- GraphicElement object / Getting ready
H
- hasAttribute() method / How it works…
- HTML / Reading XML files
I
- IDLE
- using, for Python script development / Using IDLE for Python script development
- about / Using IDLE for Python script development
- scripts, executing from / Executing scripts from IDLE
- if/elif/else statement / Decision support statements
- illegal variable
- examples / Variables
- image file
- map, exporting to / Exporting a map to an image file, How it works…
- import statement
- about / Importing modules
- indexing / String manipulation
- individual layer
- fixing, replaceDataSource() method used / Fixing individual Layer and Table objects with replaceDataSource(), How to do it…, How it works…
- individual messages
- returning, with GetMessage() function / Getting ready, How it works...
- informational messages
- about / Getting ready
- insert() method / Lists
- InsertCursor() function
- about / Introduction
- InsertCursor object / Introduction, How it works…
- used, for inserting rows / Inserting rows with InsertCursor, How to do it…, How it works…
- InsertLayer() function / How it works…, There's more…
- InsertLayer() method / Getting ready
- insertRow() function / How to do it…
- insertRow() method / Introduction, Getting ready
- installation, add-in / Installing and testing an add-in, How to do it…
- installation, Python Add-in wizard / How to do it…, How it works…
- instance
- about / How it works
K
- keys() method / Dictionaries
- Komodo
- about / Using the ArcGIS Python window
L
- layer files
- broken data sources, finding in / How to do it…, How it works…
- layers
- adding, to map document / Adding layers to a map document, How to do it…, How it works…
- inserting, into map documents / Getting ready, How to do it…, How it works…
- properties, updating / Updating layer properties, How to do it…
- layer symbology
- updating, in map document / Updating layer symbology, How to do it…, How it works…
- layout elements
- unique name, assigning to / Assigning a unique name to layout elements, Getting ready, How to do it…, How it works…
- restricting / Getting ready, How it works...
- properties, modifying / Updating layout element properties, Getting ready, How to do it…, How it works...
- layout view
- about / Getting ready...
- legal variable
- examples / Variables
- LegendElement / How it works…, Getting ready
- Legend object / How it works...
- ListBoomarks() function / There's more…
- ListBrokenDataSources() function / Introduction, Getting ready, How it works…
- ListBrokenDataSources() method / How it works...
- ListDataFrames() function / Getting ready, How it works..., There's more…, How it works…, How it works…
- ListFeatureClasses() function / Getting ready, How to do it…, Restricting the list of feature classes returned with a wildcard, How it works…
- ListFields() function / How to do it..., Getting ready, How to do it...
- ListFields() function / How it works…
- ListFields.py script / How it works…
- ListIndexes() function / Getting ready
- ListLayers() function / Accessing a data frame, Getting a list of layers in a map document, How it works…, Restricting the list of layers, How it works…
- ListLayoutElements() function / Getting ready..., How it works…, There's more…, Restricting the layout elements returned by ListLayoutElements()
- layout elements, restricting / Getting ready, How it works...
- ListLayoutElements() method / How to do it…
- list of, layout elements
- list of feature classes
- getting, in workspace / Getting a list of feature classes in a workspace, How to do it…
- restricting, returned with wildcard / Restricting the list of feature classes returned with a wildcard, How it works…
- restricting, returned with feature type / Restricting the list of feature classes returned with a feature type., How it works…
- list of fields
- getting, in feature class / Getting a list of fields in a feature class or table, How to do it…, How it works…
- getting, in table / Getting a list of fields in a feature class or table, How to do it…, How it works…
- list of layers
- getting, in map documents / Getting ready, How to do it…
- restricting / Restricting the list of layers, How to do it…
- list of tables
- obtaining / Getting ready, How it works…
- ListPrinterNames() function / Getting a list of available printers, Getting ready
- used, for listing printers / How to do it…
- lists
- about / Lists
- ListTables() function / There's more…
- ListTablesViews() function
- about / Getting ready
- ListTableViews() function / There's more…, Getting a list of tables, How it works…
- looping statements
- about / Looping statements
- lstValues variable / How it works…
M
- mail() function / How to do it…
- makeaddin.py file / How it works...
- Make Feature Layer tool / How to do it…
- syntax / Getting ready
- working / How to do it…, How it works...
- Make Table View tool / How to do it…
- syntax / Getting ready
- working / How to do it…, How it works...
- map
- exporting, to PDF file / Exporting a map to a PDF file, How to do it…, How it works…
- exporting, to image file / Exporting a map to an image file, How it works…
- map book
- creating, with PDFDocumentOpen() function / Creating a map book with PDFDocumentCreate() and PDFDocumentOpen(), How it works...
- creating, with PDFDocumentCreate() function / Creating a map book with PDFDocumentCreate() and PDFDocumentOpen(), How it works...
- map document
- referencing, from geoprocessing script / Referencing the current map document, How to do it…
- list of layers, getting / Getting ready, How to do it…
- layers, adding to / Adding layers to a map document, How to do it…, How it works…
- layers, inserting into / Getting ready, How to do it…, How it works…
- layer symbology, updating / Updating layer symbology, How to do it…, How it works…
- broken data sources, finding in / How to do it…, How it works…
- MapDocument() function / Getting ready
- MapDocument() method / Referencing map documents on a disk
- MapDocument.findAndReplaceWorkspacePaths() method
- about / Fixing broken data sources with MapDocument.findAndReplaceWorkspacePaths()
- used, for finding broken data sources / Getting ready, How to do it…, How it works…
- MapDocument.replaceWorkspaces() method
- used, for finding broken data sources / Fixing broken data sources with MapDocument.replaceWorkspaces(), How to do it…, How it works…
- MapDocument class
- about / How it works
- map documents
- referencing, on disk / Referencing map documents on a disk
- broken data sources, finding / Finding all broken data sources in all map documents in a folder, How to do it..., How it works...
- map extent
- modifying / Changing the map extent, How to do it..., How it works...
- maps
- printing, PrintMap() function used / Printing maps with PrintMap(), How it works...
- MapSurroundElement / How it works…, Getting ready
- math module
- about / Numbers
- Math module
- about / Importing modules
- Message class / Getting ready
- message_from_file() function / Getting ready
- message_from_string() function / Getting ready
- mkd() method / There's more…
- modules
- importing / Importing modules
- about / Getting ready
- MoveLayer() function / There's more…
- multiuser_mode parameter / How it works…
N
- Network Analyst module
- about / Getting ready
- NEW_SELECTION method / Getting ready
- next() method / Introduction
- nodes
- about / Getting ready
- numbers
- about / Numbers
O
- + operator / String manipulation
- == operator / String manipulation
- object
- about / How it works
- objects
- about / Classes and objects
- onCircle() function / Getting ready
- onLine() function / Getting ready
- onRectangle() event / How it works...
- onRectangle() function / Getting ready, How to do it..., How it works...
- open() function / File I/O, How it works…
- os.path.splitext() method / How it works...
- os.walk() method / How it works...
- output, of tool
- using, as input to another tool / Using the output of a tool as an input to another tool, How to do it...
- overlaps() method / Classes and objects
P
- .py file extension
- about / The Python script window
- PDF
- about / Getting ready
- PDFDocument class / How it works...
- PDFDocumentCreate() function
- used, for creating map book / Creating a map book with PDFDocumentCreate() and PDFDocumentOpen(), How it works...
- PDFDocumentOpen() function
- used, for creating map book / Creating a map book with PDFDocumentCreate() and PDFDocumentOpen(), How it works...
- PDF file
- map, exporting to / Exporting a map to a PDF file, How to do it…, How it works…
- PictureElement / How it works…, Getting ready
- pop() method / Lists
- printers
- listing, ListPrinterNames() function used / How to do it…
- PrintMap() function / Getting ready
- used, for printing maps / Printing maps with PrintMap(), How it works...
- print statement
- about / Executing scripts from IDLE
- properties
- updating, for layers / Updating layer properties, How to do it…
- modifying, of layout elements / Updating layout element properties, Getting ready, How to do it…, How it works...
- pwd() method / There's more…
- Python
- about / Using IDLE for Python script development
- scripts, editing / Editing existing Python scripts
- fundamentals / Python language fundamentals
- ArcPy, accessing with / Accessing ArcPy with Python, How to do it…
- default error message, exploring / Exploring the default Python error message, How it works…
- exception handling / Getting ready, How to do it…, There's more…
- Python 2.6
- about / The Python shell window
- Python Add-in wizard
- about / Getting ready
- downloading / How to do it…, How it works…
- installing / How to do it…, How it works…
- Python IDLE editor / Introduction
- Python script
- emails, sending through / Getting ready, How to do it…, How it works…
- Python script development
- IDLE, using for / Using IDLE for Python script development
- Python script window
- about / The Python script window
- Python shell window
- about / The Python shell window
- PythonWin / Executing scripts from IDLE
- about / Using the ArcGIS Python window
Q
- queries
- about / Introduction
- quit() method / How it works…
R
- read() method
- about / File I/O
- readline() method / File I/O
- readlines() function / How it works…
- readlines() method / File I/O
- records
- filtering, with where clause / Filtering records with a where clause, How to do it…, How it works…
- remove() method / Lists
- REMOVE_FROM_SELECTION method / Getting ready
- rename() method / There's more…
- replaceDataSource() method
- used, for fixing individual layer / Fixing individual Layer and Table objects with replaceDataSource(), How to do it…, How it works…
- used, for fixing table objects / Fixing individual Layer and Table objects with replaceDataSource(), How to do it…, How it works…
- reset() method / Introduction
- retrbinary() function / How it works…, There's more…
- retrlines() method / There's more…
- reverse() method / Lists
- R module
- about / Importing modules
- root element
- about / Getting ready
- rows
- selecting, with Select Layer by Attribute tool / Getting ready, How it works…
- inserting, with InsertCursor object / Inserting rows with InsertCursor, How to do it…, How it works…
- updating, UpdateCursor used / Getting ready, How to do it…, How it works…
- deleting, UpdateCursor used / Getting ready, How to do it…
- updating, inside edit session / Getting ready, How to do it…, How it works…
- inserting, inside edit session / Getting ready, How to do it…, How it works…
S
- script
- geoprocessing tools, executing from / Executing geoprocessing tools from a script, How to do it…, How it works…
- scripts
- editing / Editing existing Python scripts
- executing, from IDLE / Executing scripts from IDLE
- running, from Windows command prompt / Getting ready, How to do it…, How it works…
- adding, to batch files / Getting ready, There's more...
- SearchCursor
- used, for retrieving features / Retrieving features from a feature class with a SearchCursor, Getting ready, How it works…
- SearchCursor() function
- about / Introduction, Getting ready
- SearchCursor object
- about / Introduction, Getting ready
- Select by Attributes tool
- about / Getting ready
- syntax / Getting ready
- Select by Location tool
- about / Selecting features with the Select by Location tool
- used, for selecting features / Getting ready, How to do it…, How it works…
- used, for combining spatial and attribute query / Combining a spatial and attribute query with the Select by Location tool, How to do it..., How it works...
- Select Layer by Attribute tool
- used, for selecting rows / Getting ready, How it works…
- used, for selecting features / Getting ready, How it works…
- sendcmd() method / There's more…
- severity level
- tool messages, filtering by / Filtering tool messages by severity level, How to do it…, How it works…
- SHAPE@ token / Getting ready
- shapefiles
- slicing / String manipulation
- about / Lists
- smtplib module
- about / Getting ready
- sort() method / Lists
- sorted() function / How it works…
- Spatial Analyst module
- about / Getting ready
- spatial queries
- about / Introduction
- combining, with attribute queries / Combining a spatial and attribute query with the Select by Location tool, How to do it..., How it works...
- spatialReference property / Classes and objects
- split() function / File I/O, How to do it…, How to do it…, How it works…
- startEditing() method / How it works…
- statement indentation / Decision support statements
- statements
- about / Statements
- decision support statements / Decision support statements
- looping statements / Looping statements
- try statement / Try statements
- with statement / with statements
- storbinary() method / There's more…
- storlines()method / There's more…
- string manipulation functions / String manipulation
- strings
- about / Strings
- manipulating / String manipulation
- SUBSET_SELECTION method / Getting ready
- SWITCH_SELECTION method / Getting ready
- sys.argv[ ] object
- about / Using sys.argv[ ] to capture command-line input
- used, for capturing command-line input / Getting ready, How to do it..., How it works...
T
- table
- list of fields, getting in / Getting a list of fields in a feature class or table, How to do it…, How it works…
- table objects
- fixing, with replaceDataSource() method / Fixing individual Layer and Table objects with replaceDataSource(), How to do it…, How it works…
- table views
- about / Creating feature layers and table views
- creating / Getting ready, How to do it…, How it works...
- text element / Creating a list of layout elements
- TextElement / How it works…, Getting ready
- text files
- Time module
- about / Getting ready
- title property / How it works...
- tool add-in
- about / Creating a tool add-in
- creating / Getting ready, How to do it..., How it works...
- toolbox alias
- retrieving / Retrieving a toolbox alias, How to do it…, How it works…
- tool chaining / Using the output of a tool as an input to another tool, How to do it...
- tool messages
- examining / Setting environment variables and examining tool messages, Getting ready
- retrieving, with GetMessages() function / Getting ready, How it works…
- filtering, by severity level / Filtering tool messages by severity level, How to do it…, How it works…
- touches() method / Classes and objects
- try/except/else statement / Try statements
- about / Getting ready
- try/except statement
- about / Getting ready
- try/finally statement / Try statements
- try statement
- about / Try statements
- tuples
- about / Tuples
U
- unique name
- assigning, to layout elements / Assigning a unique name to layout elements, Getting ready, How to do it…, How it works…
- UpdateCursor
- used, for updating rows / Getting ready, How to do it…, How it works…
- used, for deleting rows / Getting ready, How to do it…
- UpdateCursor() function
- about / Introduction, Getting ready
- UpdateCursor object / Introduction
- about / Getting ready
- UpdateLayer() function / Updating layer symbology, How it works…, Getting ready
V
- variables
- about / Variables
- naming conventions / Variables
- used, for storing data / Using variables to store data, Getting ready, How it works...
W
- warning messages
- about / Getting ready
- where clause / Selecting features and rows with the Select Layer by Attribute tool
- about / Getting ready
- used, for filtering records / Filtering records with a where clause, How to do it…, How it works…
- while loop / Decision support statements, Looping statements
- wildcard argument / Getting ready
- Windows command prompt
- scripts, running from / Getting ready, How to do it…, How it works…
- Windows Scheduler
- used, for scheduling batch files / How to do it..., How it works...
- Wingware / Executing scripts from IDLE
- about / Using the ArcGIS Python window
- within() method / Classes and objects
- with statement
- about / with statements
- with_undo parameter / How it works…
- workspace
- about / Getting ready
- list of feature classes, getting in / Getting a list of feature classes in a workspace, How to do it…
- workspace information
- returning, with Describe() function / Returning workspace information with the Describe() function, Getting ready, How to do it…
- workspaceType property / How it works…
- write() function / File I/O, There's more..., How it works…
- writelines() function / File I/O, There's more...
X
- XMax property / Classes and objects
- XMin property / Classes and objects
- XML / Reading XML files
- XML files
- about / Reading XML files
- reading / Getting ready, How to do it…
Y
- Yahoo / Getting ready
- YMax property / Classes and objects
- YMin property / Classes and objects
Z
- Zip
- about / Getting ready
- ZIP files
- about / Creating ZIP files
- creating / Getting ready, How to do it…, How it works…