{"title":"Madina Python package: Scalable urban network analysis for modeling pedestrian and bicycle trips in cities","authors":"Andres Sevtsuk, Abdulaziz Alhassan","doi":"10.1016/j.jtrangeo.2025.104130","DOIUrl":null,"url":null,"abstract":"<div><div>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 <em>Madina</em>, a new <em>Python</em> 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 <em>Urban Network Analysis</em> (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 <em>ArcGIS</em> or <em>Rhinoceros 3D</em>, <em>Madina</em> 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 <em>Python</em> 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.</div></div>","PeriodicalId":48413,"journal":{"name":"Journal of Transport Geography","volume":"123 ","pages":"Article 104130"},"PeriodicalIF":5.7000,"publicationDate":"2025-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Transport Geography","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0966692325000213","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ECONOMICS","Score":null,"Total":0}
引用次数: 0
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.
期刊介绍:
A major resurgence has occurred in transport geography in the wake of political and policy changes, huge transport infrastructure projects and responses to urban traffic congestion. The Journal of Transport Geography provides a central focus for developments in this rapidly expanding sub-discipline.