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...