We will show how to perform modeling and of an urban network using the OpenStreetMapX.jl package. With actual Toronto data we will show how the library can be used for commuter routing including sidewalks and public transportation. We represent the city’s urban space as a LightGraphs.jl strongly connected, directed graph where vertices are located at geographic coordinates. Additionally, we will also demonstrate a simulation model explaining the role of public transportation in virus widespread.
Co-authors: Nykyta Polituchyi, Kinga Siuta, Paweł Prałat
The OpenStreetMapX.jl package is capable of parsing *.osm formatted data from the OpenStreetMap.org project. This data can be subsequently utilized to extract information about city’s POIs (points of interest), measure actual distances, perform routing and build numerical simulation model that make it possible to understand dynamics of a city. Those capabilities will be illustrated with a map of Toronto and show how to extend the osm data with other sources to extend the city routing beyond cars and sidewalks and model an actual public transportation network.
In this presentation two interconnected applications of the The OpenStreetMapX.jl package will be presented. Firstly, mixed routing combining different means of transportation will be presented and discussed showing how different Julia libraries can work together towards a common goal (including OpenStreetMapXPlot, LightGraphs, PyCall, Plots, DataFrames and others). Secondly, an agent-based simulation of a public transportation system will be discussed. We will show how to model and measure the impact of availability and frequency of public transportation onto decisions made by commuters and subsequently its contribution towards spreading the pandemic.
The presentation is accompanied by a Jupyter notebook that is available since on the OpenStreetMapX.jl GitHub project website since the first day of JuliaCon 2021.
In summary, in this talk the following areas will be discussed:
Plots.@animate
macroThe research is financed by a NSERC, Canada, “Alliance COVID-19” grant titled: "COVID-19: Agent-based framework for modelling pandemics in urban environment”.