Skip to content



This is the documentation for network_routing, a Python package developed by DVRPC to produce the datasets shown in the Sidewalk Gap Analysis Explorer.

This work was conducted using DVRPC’s pedestrian facilities inventory, a GIS dataset that inventories sidewalks, curb ramps, and crosswalks across the nine-county Greater Philadelphia region. Explore the data and help plan for a pedestrian-friendly future at


network_routing facilitates the creation and analysis of routable pedestrian networks, using both OpenStreetMap data as well as DVRPC's sidewalk data inventory. Data for the analysis is stored in a PostgreSQL/PostGIS database and the process is scripted using Python.

The codebase is broken up into three primary modules, each with its own command-line-interface (CLI):

  • db controls all data I/O
  • access manages all accessibility/routing analyses
  • gaps handles all other analysis processes

It builds on top of a variety of libraries, including pandana, pg_data_etl, osmnx, geopandas/pandas, geoalchemy2/sqlalchemy, & psycopg2

Software Requirements

This codebase requires the following software: