Book Image

ArcGIS Blueprints

By : Donald Eric Pimpler, Eric Pimpler
Book Image

ArcGIS Blueprints

By: Donald Eric Pimpler, Eric Pimpler

Overview of this book

This book is an immersive guide to take your ArcGIS Desktop application development skills to the next level It starts off by providing detailed description and examples of how to create ArcGIS Desktop Python toolboxes that will serve as containers for many of the applications that you will build. We provide several practical projects that involve building a local area/community map and extracting wildfire data. You will then learn how to build tools that can access data from ArcGIS Server using the ArcGIS REST API. Furthermore, we deal with the integration of additional open source Python libraries into your applications, which will help you chart and graph advanced GUI development; read and write JSON, CSV, and XML format data sources; write outputs to Google Earth Pro, and more. Along the way, you will be introduced to advanced ArcPy Mapping and ArcPy Data Access module techniques and use data-driven Pages to automate the creation of map books. Finally, you will learn advanced techniques to work with video and social media feeds. By the end of the book, you will have your own desktop application without having spent too much time learning sophisticated theory.
Table of Contents (18 chapters)
ArcGIS Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Using Python with the ArcGIS REST API and the GeoEnrichment Service for Retail Site Selection

The ArcGIS REST API provides access to a wide variety of web services, including ready-to-use ArcGIS Online services hosted by Esri, and services you or other organizations have published. Hosted ArcGIS Online services include basemaps, geocoding and place search, directions and routing, demographic and lifestyle attributes, spatial analysis, and elevation analysis. In this chapter, the GeoEnrichment service that provides demographic and lifestyle information will be queried with the ArcGIS REST API through the Python requests module in support of a site-selection application.

The application built in this chapter will support the site-selection process for a new coffee store in Denver, CO. Specifically, the application will include a tool to identify census block groups that meet general age and income-related variables and that are outside the trade area of competing stores. A second...