Modelling Cyclists Route Choice Using Strava and OSMnx: A Case Study of the City of Glasgow

Mohammad Alattar, Caitlin Cottrill, Mark Beecroft

Research output: Contribution to journalArticlepeer-review

8 Citations (Scopus)
2 Downloads (Pure)


Previous research has demonstrated the influence of street layout on travel behaviour; however, little research has been undertaken to explore these connections using detailed and robust street network analysis or cycling data. In this study, we harness state-of-the-art datasets to model cyclists¶ route choice based on a case study of the City of Glasgow, Scotland. First, the social fitness network Strava was used to obtain datasets containing the number of cycling trips on each street intersection for the years 2017 and 2018. Second, we employed a Python toolkit to acquire and analyse the street networks. OSMnx was subsequently employed to quantify several commonly used centrality indices (degree, eigenvector, betweenness and closeness) to measure street layout. Due to the presence of spatial dependence, a spatial error model was used to model route choices. Model results demonstrate that: (1) cyclists¶ movement models were consistent for the years 2017 and 2018; (2) the presence of a spillover effect suggests that cyclists tend to cycle in proximity to each other; and (3) cyclists avoid streets with high degree centrality values and prefer streets with high eigenvector centrality, betweenness centrality and closeness centrality. These findings reveal cyclists¶ desired street layouts and can be taken into consideration for future interventions.
Original languageEnglish
Article number100301
Number of pages18
JournalTransportation Research Interdisciplinary Perspectives
Early online date21 Jan 2021
Publication statusPublished - Mar 2021

Bibliographical note

Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.


  • Cycling
  • OSMnx
  • Spatial modelling
  • GIS


Dive into the research topics of 'Modelling Cyclists Route Choice Using Strava and OSMnx: A Case Study of the City of Glasgow'. Together they form a unique fingerprint.

Cite this