Python For ArcGISSpringer, 16/01/2016 - 538 páginas This book introduces Python scripting for geographic information science (GIS) workflow optimization using ArcGIS. It builds essential programming skills for automating GIS analysis. Over 200 sample Python scripts and 175 classroom-tested exercises reinforce the learning objectives. Readers will learn to: • Write and run Python in the ArcGIS Python Window, the PythonWin IDE, and the PyScripter IDE • Work with Python syntax and data types • Call ArcToolbox tools, batch process GIS datasets, and manipulate map documents using the arcpy package • Read and modify proprietary and ASCII text GIS data • Parse HTML web pages and KML datasets • Create Web pages and fetch GIS data from Web sources. • Build user-interfaces with the native Python file dialog toolkit or the ArcGIS Script tools and PyToolboxes Python for ArcGIS is designed as a primary textbook for advanced-level students in GIS. Researchers, government specialists and professionals working in GIS will also find this book useful as a reference. |
Índice
1 | |
13 | |
37 | |
Basic Data Types Lists and Tuples | 59 |
ArcGIS and Python | 77 |
Calling Tools with Arcpy | 95 |
Getting User Input | 119 |
Controlling Flow | 133 |
Error Handling | 241 |
UserDefined Functions | 261 |
UserDefined Modules | 291 |
Reading and Writing with Cursors | 309 |
Dictionaries | 335 |
Reading and Writing Text Files | 357 |
Working with HTML and KML | 385 |
Classes | 415 |
DecisionMaking and Describing Data | 141 |
Repetition Looping for Geoprocessing | 171 |
Batch Geoprocessing | 187 |
Additional Looping Functions | 209 |
Debugging | 223 |
User Interfaces for File and Folder Selection | 435 |
ArcGIS Python GUIs | 449 |
Mapping Module | 505 |
Index | 531 |
Outras edições - Ver tudo
Palavras e frases frequentes
ArcCatalog ArcMap arcpy.env.overwriteOutput arcpy.env.workspace breakpoint buffer built-in button C:/gispy/scratch chapter contains create cursor data frame data types dataset dataType dBASE debugging Delete dictionary docstring dot notation error Example input Example output feature class field name Figure file object following code FOR-loop format full path file function geodatabase geoprocessing import arcpy indented input file inside Interactive Window keyword line of code list comprehension loop map document MapDocument method modify output directory output file parameter park.shp path file name polygon properties pseudocode PyScripter Python list Python script Python toolbox PythonWin range function raster reading relative path return statement sample script script arguments Script Tool shapefile Spatial Analyst specified steps string literal symbology syntax text file ToolValidator trail tuple unicode update user-defined module variable named WHILE-loop Windows Explorer workspace Write a script