Madina Python package: Scalable urban network analysis for modeling pedestrian and bicycle trips in cities

There is growing interest around sustainable mobility in cities, particularly pedestrian mobility, but methodological limitations and scarcity of software tools to analyze the dynamics between pedestrians and urban land uses have limited both research on and policy-relevant planning applications of pedestrian modeling. To address these challenges, we introduce Madina , a new Python package for modeling pedestrian and cycling trips along spatial networks in urban environments. The package enables managing and visualizing spatial network datasets and implements a set of Urban Network Analysis (UNA) tools for measuring pedestrian accessibility to given destination facilities, for identifying critical walking routes between origin-destination types, and for estimating pedestrian flows over network segments. While some of the methods we use for modeling pedestrian trips along networks have been previously implemented in desktop software plugin-ins, such as ArcGIS or Rhinoceros 3D , Madina introduces three new capabilities to researchers and practitioners. First, it incorporates innovative algorithms that enable computationally expensive pedestrian routing assignments to be scaled to larger geographic areas than previously possible the UNA Rhinoceros environment. Second, an implementation in Python offers new and powerful opportunities to automate various types of pedestrian and bic modeling steps through scripts and allows outputs to be connected with other types of analytic tasks, not available in desktop software applications. Enabling complex spatial analysis procedures to be replicated in automated ways contributes to verifiability, reproducibility, and the development of more robust urban science. And third, it presents the first end-to-end implementation of urban network analysis methods in an open-source Python environment, where no proprietary software is needed. We demonstrate the application of Madina tools in New York City, one of the largest pedestrian networks in the world. • We introduce Madina, a Python package to model pedestrian accessibility and flows. • Madina allows reproducible workflows to simulate pedestrian activity in spatial networks. • Innovative algorithms for K-nearest accessibility and route alternatives in large datasets • End-to-end scripting environment for multithreaded network analysis and processing • We illustrate applications in New York City—one of the largest pedestrian networks in the world.

Authors

Institutions

Publication Details

Journal
Journal of Transport Geography
Published
2025-02-01
DOI
https://doi.org/10.1016/j.jtrangeo.2025.104130
Citations
6
Primary Topic
Urban Transport and Accessibility
Type
article
Field-Weighted Citation Impact
13.06

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Madina Python package: Scalable urban network analysis for modeling pedestrian and bicycle trips in cities

Andres Sevtsuk, Abdulaziz Alhassan
6 citations
Journal of Transport Geography
Urban Transport and Accessibility
13.06
article

Madina Python package: Scalable urban network analysis for modeling pedestrian and bicycle trips in cities

Andres Sevtsuk, Abdulaziz Alhassan
article en
6 citations

Abstract

There is growing interest around sustainable mobility in cities, particularly pedestrian mobility, but methodological limitations and scarcity of software tools to analyze the dynamics between pedestrians and urban land uses have limited both research on and policy-relevant planning applications of pedestrian modeling. To address these challenges, we introduce Madina , a new Python package for modeling pedestrian and cycling trips along spatial networks in urban environments. The package enables managing and visualizing spatial network datasets and implements a set of Urban Network Analysis (UNA) tools for measuring pedestrian accessibility to given destination facilities, for identifying critical walking routes between origin-destination types, and for estimating pedestrian flows over network segments. While some of the methods we use for modeling pedestrian trips along networks have been previously implemented in desktop software plugin-ins, such as ArcGIS or Rhinoceros 3D , Madina introduces three new capabilities to researchers and practitioners. First, it incorporates innovative algorithms that enable computationally expensive pedestrian routing assignments to be scaled to larger geographic areas than previously possible the UNA Rhinoceros environment. Second, an implementation in Python offers new and powerful opportunities to automate various types of pedestrian and bic modeling steps through scripts and allows outputs to be connected with other types of analytic tasks, not available in desktop software applications. Enabling complex spatial analysis procedures to be replicated in automated ways contributes to verifiability, reproducibility, and the development of more robust urban science. And third, it presents the first end-to-end implementation of urban network analysis methods in an open-source Python environment, where no proprietary software is needed. We demonstrate the application of Madina tools in New York City, one of the largest pedestrian networks in the world. • We introduce Madina, a Python package to model pedestrian accessibility and flows. • Madina allows reproducible workflows to simulate pedestrian activity in spatial networks. • Innovative algorithms for K-nearest accessibility and route alternatives in large datasets • End-to-end scripting environment for multithreaded network analysis and processing • We illustrate applications in New York City—one of the largest pedestrian networks in the world.

Journal of Transport GeographyVol. 123
Massachusetts Institute of Technology (US)
Hasso-Plattner-Institut, Universität Potsdam
Sustainable cities and communities
Openalex Percentile: Top 2%
Urban Transport and Accessibility
13.06
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.