Have a personal or library account? Click to login
Programming ArcGIS with Python Cookbook, Second Edition Cover

Programming ArcGIS with Python Cookbook, Second Edition

Over 85 hands-on recipes to teach you how to automate your ArcGIS for Desktop geoprocessing tasks using Python

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    The book kicks off with the fundamentals of starting to use Python with ArcGIS, followed by recipes on managing map documents and layers, including how to find and fix broken data links in these files.

    In the second part of the book, you will learn to create custom geoprocessing tools and how to use the Attribute and Location tools to select specific features.

    The third part of the book covers topics for advanced users including the REST API, and also teaches you how to use Python with ArcGIS Pro. The book finishes with appendices covering how to automate Python scripts, and the five things that should be at the back of every GIS programmer's mind.

    What you will learn

    • Manage your map document files, layer files, feature classes, and tables
    • Programmatically update layer properties and symbology
    • Find and fix broken data links in your map document files
    • Automate map production, printing, and the creation of PDF map books
    • Develop custom geoprocessing tools that can be shared with others
    • Query and select data from feature classes and tables
    • Create new feature classes or tables and add, update, and delete records
    • Customize the ArcGIS Desktop interface with Python addins

    Who this book is for

    Table of Contents

    1. Fundamentals of the Python Language for ArcGIS
    2. Managing Map Documents and Layers
    3. Finding and Fixing Broken Data Links
    4. Automating Map Production and Printing
    5. Executing Geoprocessing Tools from Scripts
    6. Creating Custom Geoprocessing Tools
    7. Querying and Selecting Data
    8. Using the Arcpy Data Access Module to Select, Insert, and Update Geographic Data and Tables
    9. Listing and Describing GIS Data
    10. Customizing the ArcGIS Interface with Add-Ins
    11. Error Handling and Troubleshooting
    12. Advanced ArcGIS with Python Topics
    13. Using Python with ArcGIS Pro
    14. Appendix A: Automating Python Scripts
    15. Appendix B: Five Things Every GIS Programmer Should Know - How to Write Scripts with Python
    PDF ISBN: 978-1-78528-125-9
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 366