FOSS4G 2022 workshops

sfnetworks: Tidy Geospatial Networks in R
2022-08-22, 14:00–16:00 (Europe/Rome), 212

sfnetworks is an R package that provides a tidy interface to analyze geospatial networks. In this workshop, we will introduce the package and present the most important functions using increasingly complex examples, ranging from a toy graph to a complete city network.

Geospatial networks are graphs embedded in geographical space. That means that both the nodes and edges in the graph can be represented as geographic features: the nodes most commonly as points and the edges as linestrings. The sfnetworks package creates a bridge between two popular R packages: tidygraph for standard graph analysis, and sf for spatial data science. By combining and extending the forces of these two packages, sfnetworks provides a powerful interface for processing, analyzing and visualizing geospatial networks.

In the first part of the workshop, we will introduce the core data structure and the most important pre-processing steps to convert raw geospatial data into network format. Then, we will present a series of functions to perform graph and spatial operations, starting from simple routines (e.g. shortest paths or spatial filters) with toy graph data and gradually move to more advanced operations (e.g. contractions, isochrones and graph measures) on complex city networks derived from Open Street Map. Finally, we will show some real-world applications of sfnetworks, pointing the interested participants to additional materials.

For each part of the workshop, we will prepare hands-on exercises for the attendees, but also encourage them to apply the package to their own use-cases.

I am a researcher at the University of Salzburg and geospatial developer at triply. I enjoy working at the interplay between theory and practice. My passion is to improve the quality of our living environment by supporting design choices with spatio-temporal data science.