Cargando…

Programming ArcGIS with Python cookbook : over 85 hands-on recipes to teach you how to automate your ArcGIS for Desktop geoprocessing tasks using Python /

Programming ArcGIS with Python Cookbook, Second Edition, is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Whether you are new to ArcGIS or a seasoned professional, you almost certainly spend time each day performing various geoprocessing tasks. This book...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Pimpler, Eric (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Edición:Second edition.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Fundamentals of the Python Language for ArcGIS; Using IDLE for Python script development; Using the ArcGIS Python window; Python language fundamentals; Summary; Chapter 2: Managing Map Documents and Layers; Introduction; Referencing the current map document; Referencing map documents on a disk; Getting a list of layers in a map document; Restricting the list of layers; Zooming in to selected features; Changing the map extent; Adding layers to a map document.
  • Inserting layers into a map documentUpdating layer symbology; Updating layer properties; Working with time-enabled layers in a data frame; Chapter 3: Finding and Fixing Broken Data Links; Introduction; Finding broken data sources in your map document and layer files; Fixing broken data sources with MapDocument.; findAndReplaceWorkspacePaths(); Fixing broken data sources with MapDocument.replaceWorkspaces(); Fixing individual layer and table objects with replaceDataSource(); Finding broken data sources in all map documents in a folder; Chapter 4: Automating Map Production and Printing.
  • IntroductionCreating a list of layout elements; Assigning a unique name to layout elements; Restricting the layout elements returned by ListLayoutElements(); Updating the properties of layout elements; Getting a list of available printers; Printing maps with PrintMap(); Exporting a map to a PDF file; Exporting a map to an image file; Exporting a report; Building a map book with Data Driven Pages and ArcPy mapping; Publishing a map document to an ArcGIS Server service; Chapter 5: Executing Geoprocessing Tools from Scripts; Introduction; Finding geoprocessing tools; Retrieving a toolbox alias.
  • Executing geoprocessing tools from a scriptUsing the output of a tool as an input to another tool; Chapter 6: Creating Custom Geoprocessing Tools; Introduction; Creating a custom geoprocessing tool; Creating a Python toolbox; Chapter 7: Querying and Selecting Data; Introduction; Constructing a proper attribute query syntax; Creating feature layers and table views; Selecting features and rows with the Select Layer by Attribute tool; Selecting features with the Select by Location tool; Combining a spatial and attribute query with the Select by Location tool.
  • Chapter 8: Using the ArcPy Data Access Module with Feature Classes and TablesIntroduction; Retrieving features from a feature class with SearchCursor; Filtering records with a where clause; Improving cursor performance with geometry tokens; Inserting rows with InsertCursor; Updating rows with UpdateCursor; Deleting rows with UpdateCursor; Inserting and updating rows inside an edit session; Reading geometry from a feature class; Using Walk() to navigate directories; Chapter 9: Listing and Describing GIS Data; Introduction; Working with the ArcPy list functions.