Design
The design of this application will include the creation of three custom tools inside an ArcGIS Desktop Python toolbox. The first tool, Census Block Group Selection, will query an existing census block group layer to find suitable areas that meet the income and population characteristics defined by the tool. It will also remove any census block groups from consideration if they are within the boundaries of the trade area of an existing, competing coffee shop. The second tool, Potential Stores, will be an interactive tool that will allow the end user to define point locations for potential new coffee stores within the boundaries identified with the Census Block Group Selection tool. The final tool, Enrich Potential Stores, will take the stores defined by the Potential Stores tool, pass them to the GeoEnrichment service, and take the lifestyle information returned by the service and write it back to the potential store location layer. The following figure shows how these tools work...