This repository contains code for spatial network analysis of walkability. The SpatialNetwork
library provides functionality for downloading network data
from OpenStreetMap and analysis methods such as shortest path calculation, redundant path calculation, and route optimization.
Notebooks are provided to demonstrate use cases.
This notebook demonstrates basic functions such as downloading road network data, working with catchment areas, and calculating paths between endpoints:
This notebook demonstrates how the functions provided can be used to calculate a walkability index. This library has been used in a study to calculate walkability scores based on data from social media and public repositories--a model which we call walkability in neighborhood social score (WINS). The following notebook shows how we calculate WINS:
This notebook demonstrates how we can use this library, as well as other tools, to visualize walkability scores for our study areas:
Besides standard Python libraries, the following modules were used: