Theory and Applications of GIS
Online ISSN : 2185-5633
Print ISSN : 1340-5381
ISSN-L : 1340-5381
Research and Technical Notes
The potential use of Python in network-distance-based spatial accessibility analysis
Atsushi MASUYAMA
Author information
JOURNAL FREE ACCESS

2022 Volume 30 Issue 1 Pages 11-18

Details
Abstract

This paper demonstrates from a case study that the Python language can practically be used for network-distance-based spatial accessibility analysis. In the case study, we analyze the spatial accessibility to convenience stores in Hirosaki. First, we show that road network data provided by OpenStreetMap can easily be obtained with the OSMnx library. Second, we show the Python code snippet that calculates a road-network-based distance matrix. Finally, we calculate two types of accessibility measures: nearest neighbor distance and cumulative opportunities. We show that the calculation can be done very effectively by list comprehension in Python.

Content from these authors
© 2022 Geographic Information Systems Association
Previous article Next article
feedback
Top