Adding advanced analysis components
The bus stop analysis we have used to introduce ArcPy can be further extended to generate more refined results. To better estimate the true number of people that each bus stop serves, let's add a function that will generate random points within the blocks considered, while eliminating parks and other areas that do not contain housing.
To do this, we need to introduce a new data set from the San Francisco
geodatabase, the RPD_Parks
feature class. By using this feature class to reduce the area considered for our analysis, we can generate a more realistic assessment of the service area population for each bus stop.
While using the ArcToolbox Erase tool to erase the area represented in the RPD_Parks
polygons would ...
Get ArcPy and ArcGIS – Geospatial Analysis with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.