Book description
Use the ArcPy module to automate the analysis and mapping of geospatial data in ArcGIS
In Detail
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.
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
Table of contents
-
ArcPy and ArcGIS – Geospatial Analysis with Python
- Table of Contents
- ArcPy and ArcGIS – Geospatial Analysis with Python
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Introduction to Python for ArcGIS
- 2. Configuring the Python Environment
- 3. Creating the First Python Script
- 4. Complex ArcPy Scripts and Generalizing Functions
- 5. ArcPy Cursors – Search, Insert, and Update
- 6. Working with ArcPy Geometry Objects
-
7. Creating a Script Tool
- Adding dynamic parameters to a script
-
Creating a Script tool
-
Labelling and defining parameters
- Adding data types
- Adding the Bus Stop feature class as a parameter
- Adding the Census Block feature class as a parameter
- Adding the Census Block field as a parameter
- Adding the output spreadsheet as a parameter
- Adding the spreadsheet field names as a parameter
- Adding the SQL Statement as a parameter
- Adding the bus stop fields as a parameter
-
Labelling and defining parameters
- Inspecting the final script
- Summary
-
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
- 9. More ArcPy.Mapping Techniques
- 10. Advanced Geometry Object Methods
- 11. Network Analyst and Spatial Analyst with ArcPy
-
12. The End of the Beginning
- Getting field information from feature classes
- Summary
- Index
Product information
- Title: ArcPy and ArcGIS – Geospatial Analysis with Python
- Author(s):
- Release date: February 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783988662
You might also like
book
Programming ArcGIS 10.1 with Python Cookbook
This book provides the recipes you need to use Python with AcrGIS for more effective geoprocessing. …
book
Learning Geospatial Analysis with Python
If you know Python and would like to use it for Geospatial Analysis this book is …
book
Python Geospatial Analysis Cookbook
Over 60 recipes to work with topology, overlays, indoor routing, and web application analysis with Python …
book
Programming ArcGIS with Python Cookbook - Second Edition
Over 85 hands-on recipes to teach you how to automate your ArcGIS for Desktop geoprocessing tasks …