ArcPy and ArcGIS - Geospatial Analysis with Python

Use the ArcPy module to automate the analysis and mapping of geospatial data in ArcGIS
Preview in Mapt

ArcPy and ArcGIS - Geospatial Analysis with Python

Silas Toms

1 customer reviews
Use the ArcPy module to automate the analysis and mapping of geospatial data in ArcGIS
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


ArcPy and ArcGIS - Geospatial Analysis with Python Book Cover
ArcPy and ArcGIS - Geospatial Analysis with Python
$ 26.99
$ 18.90
ArcPy and ArcGIS - Second Edition Book Cover
ArcPy and ArcGIS - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $31.98
Add to Cart

Book Details

ISBN 139781783988662
Paperback224 pages

Book Description

ArcGIS allows for complex analyses of geographic information. The ArcPy module is used to script these ArcGIS analyses, providing a productive way to perform geo-analyses and to automate map production.

This book will guide you from basic Python scripting to advanced ArcPy script tools. This book starts off with setting up your Python environment, demonstrates a complex ArcPy script tool with multiple iterations, illustrates data access module cursors, and explains how to use ArcPy Geometry classes. Then, you will learn how to output maps using ArcPy.Mapping, and how to create ArcGIS script tools.

With the help of this book, you will be able to create repeatable analyses reducing the time-consuming nature of GIS, making you into a GIS professional as powerful as a whole team.

Table of Contents

Chapter 1: Introduction to Python for ArcGIS
Overview of Python
Python as a programming language
Important Python Modules for GIS Analysis
Summary
Chapter 2: Configuring the Python Environment
What is a Python script?
What is the Python interpreter?
Make Python scripts executable when clicked on
Integrated Development Environments (IDEs)
Python folder structure
The sys.path.append() method
Summary
Chapter 3: Creating the First Python Script
Prerequisites
Creating a model and exporting to Python
Exporting the model and adjusting the script
File paths in Python
Continuing the script analysis: the ArcPy tools
Adjusting the Script
Adding the CSV module to the script
The final script
Summary
Chapter 4: Complex ArcPy Scripts and Generalizing Functions
Python functions–Avoid repeating code
Summary
Chapter 5: ArcPy Cursors – Search, Insert, and Update
The data access module
Inserting a polyline geometry
Inserting a polygon geometry
Summary
Chapter 6: Working with ArcPy Geometry Objects
ArcPy geometry object classes
Summary
Chapter 7: Creating a Script Tool
Adding dynamic parameters to a script
Creating a Script tool
Inspecting the final script
Summary
Chapter 8: Introduction to ArcPy.Mapping
Using ArcPy with map documents
Inspecting and replacing layer sources
Automated map document adjustment
Running the script in the Python Window
Summary
Chapter 9: More ArcPy.Mapping Techniques
Using arcpy.mapping to control Layer objects
Definition queries
Controlling the data frame window extent and scale
Summary
Chapter 10: Advanced Geometry Object Methods
Creating a Python module
Adding advanced analysis components
Summary
Chapter 11: Network Analyst and Spatial Analyst with ArcPy
The Network Analyst extension
Using Network Analyst
The Network Analyst module
Accessing the Spatial Analyst Extension
The final result
Summary
Chapter 12: The End of the Beginning
Getting field information from feature classes
Summary

What You Will Learn

  • Understand how to integrate Python into ArcGIS and make GIS analysis faster and easier
  • Model an analysis and export it to Python for further improvement
  • Create Python functions from exported scripts using ArcToolbox tools to avoid repetitive code
  • Update the records of interest in your existing geospatial data automatically using data cursors
  • Add new geospatial data to existing datasets automatically from field-collected data or data produced during analysis
  • Export formatted analysis results to spreadsheets automatically
  • Update map documents with analysis-generated data and export maps to PDF or image formats
  • Create geometric networks and analyze routes using scripts

Authors

Table of Contents

Chapter 1: Introduction to Python for ArcGIS
Overview of Python
Python as a programming language
Important Python Modules for GIS Analysis
Summary
Chapter 2: Configuring the Python Environment
What is a Python script?
What is the Python interpreter?
Make Python scripts executable when clicked on
Integrated Development Environments (IDEs)
Python folder structure
The sys.path.append() method
Summary
Chapter 3: Creating the First Python Script
Prerequisites
Creating a model and exporting to Python
Exporting the model and adjusting the script
File paths in Python
Continuing the script analysis: the ArcPy tools
Adjusting the Script
Adding the CSV module to the script
The final script
Summary
Chapter 4: Complex ArcPy Scripts and Generalizing Functions
Python functions–Avoid repeating code
Summary
Chapter 5: ArcPy Cursors – Search, Insert, and Update
The data access module
Inserting a polyline geometry
Inserting a polygon geometry
Summary
Chapter 6: Working with ArcPy Geometry Objects
ArcPy geometry object classes
Summary
Chapter 7: Creating a Script Tool
Adding dynamic parameters to a script
Creating a Script tool
Inspecting the final script
Summary
Chapter 8: Introduction to ArcPy.Mapping
Using ArcPy with map documents
Inspecting and replacing layer sources
Automated map document adjustment
Running the script in the Python Window
Summary
Chapter 9: More ArcPy.Mapping Techniques
Using arcpy.mapping to control Layer objects
Definition queries
Controlling the data frame window extent and scale
Summary
Chapter 10: Advanced Geometry Object Methods
Creating a Python module
Adding advanced analysis components
Summary
Chapter 11: Network Analyst and Spatial Analyst with ArcPy
The Network Analyst extension
Using Network Analyst
The Network Analyst module
Accessing the Spatial Analyst Extension
The final result
Summary
Chapter 12: The End of the Beginning
Getting field information from feature classes
Summary

Book Details

ISBN 139781783988662
Paperback224 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Programming ArcGIS with Python Cookbook - Second Edition Book Cover
Programming ArcGIS with Python Cookbook - Second Edition
$ 35.99
$ 25.20
Spatial Analytics with ArcGIS Book Cover
Spatial Analytics with ArcGIS
$ 39.99
$ 28.00
ArcGIS Blueprints Book Cover
ArcGIS Blueprints
$ 43.99
$ 30.80
Learning QGIS - Third Edition Book Cover
Learning QGIS - Third Edition
$ 27.99
$ 19.60
Mastering ArcGIS Server Development with JavaScript Book Cover
Mastering ArcGIS Server Development with JavaScript
$ 35.99
$ 25.20
Python Geospatial Development - Third Edition Book Cover
Python Geospatial Development - Third Edition
$ 39.99
$ 28.00