In this chapter, we will cover some topics that are of a more advanced nature. Specifically, you will learn how to access the ArcGIS REST API using the Python requests
module. In doing so, you will learn how to access data and services published by ArcGIS Server and ArcGIS Online. The Python requests
module includes capabilities that allow your script to submit requests to a URL endpoint and receive responses in various formats, including the popular JSON format. Toward the end of the chapter, we will also over a couple of miscellaneous ArcPy topics, including the use of the FieldMap
and FieldMappings
objects to merge datasets and also working with ValueTables
for situations where a tool has the capability of accepting multiple inputs.
Programming ArcGIS with Python Cookbook, Second Edition
By :
Programming ArcGIS with Python Cookbook, Second Edition
By:
Overview of this book
Table of Contents (22 chapters)
Programming ArcGIS with Python Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Fundamentals of the Python Language for ArcGIS
Managing Map Documents and Layers
Finding and Fixing Broken Data Links
Automating Map Production and Printing
Executing Geoprocessing Tools from Scripts
Creating Custom Geoprocessing Tools
Querying and Selecting Data
Using the ArcPy Data Access Module with Feature Classes and Tables
Listing and Describing GIS Data
Customizing the ArcGIS Interface with Add-ins
Error Handling and Troubleshooting
Using Python for Advanced ArcGIS
Using Python with ArcGIS Pro
Automating Python Scripts
Five Python Recipes Every GIS Programmer Should Know
Index
Customer Reviews