Railways and Open Transport

Scaling Mobility Flow Visualization: Origin-Destination Data with DuckDB, Flowmap.gl, and SQLRooms

<p>Visualizing origin-destination (OD) mobility data—commuter flows, transit ridership, freight traffic—is essential for transport planning, but datasets can contain millions of flows that overwhelm traditional mapping approaches. In this talk, I'll present open-source tools for preparing and visualizing large-scale OD data interactively in the browser.</p> <p>I'll introduce <a href="https://flowmap.gl">flowmap.gl</a>, a WebGL-based flow map layer for <a href="https://deck.gl">deck.gl</a> that renders geographic movements with adaptive clustering and filtering. To handle large datasets, I'll demonstrate <a href="https://pypi.org/project/sqlrooms-flowmap/">sqlrooms-flowmap</a>, a Python tool that uses <a href="https://duckdb.org">DuckDB</a> with spatial extensions to prepare OD data for tiled serving:</p> <ul> <li><strong>Hierarchical clustering</strong>: locations are grouped at each zoom level using pixel-radius clustering, creating a hierarchy where clusters merge as users zoom out</li> <li><strong>Nested Hilbert indexing</strong>: OD pairs are indexed using a space-filling curve that preserves locality, enabling efficient range queries for tile-based serving</li> <li><strong>Spatio-temporal aggregation</strong>: flows are aggregated to match zoom-based clustering, with optional temporal bucketing by hour/day/week</li> </ul> <p>The prepared data can be visualized using a demo app built with <a href="https://sqlrooms.org">SQLRooms</a>, a browser-based analytics framework powered by DuckDB, where users can query and explore flows using SQL alongside interactive maps.</p> <p>I'll show a live demo using Switzerland's <a href="https://www.are.admin.ch/are/en/home/transport-and-infrastructure/data/npvm.html">National Passenger Transport Model (NPVM)</a>—an open dataset of passenger flows across the Swiss transport network—demonstrating the full pipeline from raw data to interactive visualization, all using open-source tools that can run locally without cloud dependencies.</p>

Weitere Infos

Live Stream https://live.fosdem.org/watch/k3601
Format devroom
Sprache Englisch

Weitere Sessions

31.01.26
Railways and Open Transport
K.3.601
<p>The organizing team of the Devroom welcomes you to the Railways and Open Transport room. Exciting content lies ahead.</p>
31.01.26
Railways and Open Transport
Glenn Eriksson
K.3.601
<p>The public transport sector is mostly a traditional sector with an oligopolistic market situation for system solutions for travel planning and ticketing. The lock-in and dependency to few system vendors in Europe stifles innovation and impedes initiatives to make public transport more attractive. But in the Nordic countries, public transport agencies (PTA) choose an alternative path to overcome system vendor dependency through open source and by engaging in community development. Our ...
31.01.26
Railways and Open Transport
K.3.601
<p>2025 marks a turning point for European mobility data. A significant update to the Multimodal Travel Information Services (MMTIS) regulation takes effect in March 2025. In parallel, ERA and DG MOVE have initiated a coordinated overhaul of all Transmodel-based standards, and a newly agreed TSI Telematics revision (November 2025) sets the direction for railway digitalisation from 2026 onward.</p> <p>This talk brings together Yann Seimandi (DG MOVE) and Stefan Jugelt (ERA) to give developers and ...
31.01.26
Railways and Open Transport
K.3.601
<p>European transport systems are adopting standards such as DATEX II, NeTEx and SIRI, but developers struggle to discover existing tools, validators, converters, and libraries. We're launching Awesome NAPCORE Tools (awesome.napcore.eu) - a community-curated registry of open source tools for European mobility data. This talk introduces the platform and invites the open source community to contribute. We'll cover:</p> <ul> <li>The European mobility data landscape and key standards</li> ...
31.01.26
Railways and Open Transport
Isabelle de Robert
K.3.601
<p>We deserve open-source transit technology that is both beautifully designed and easy to use. The Mobility Database is a free, open-source platform for global transit data in the General Transit Feed Specification (GTFS) and General Bikeshare Feed Specification (GBFS) formats. These global specifications make it easier for public transport agencies, operators, and shared mobility providers (bike-share, scooter-share, car-share) to publish accurate, high-quality transit data, enabling them to ...
31.01.26
Railways and Open Transport
David Koňařík
K.3.601
<p>Despite EU-level initiatives, the availability and quality of open data on public transport differs wildly between member states. I'll talk about the situation in the Czech Republic from the perspective of someone who's been fighting for data availability for the last 5 years.</p> <p>We'll focus mostly on timetables, briefly covering the history of the Czech Republic's centralised system, the current state of affairs after multiple lawsuits, and the (hopefully) rosy future. I'll also talk ...
31.01.26
Railways and Open Transport
Adam Pioterek
K.3.601
<p>In this talk, I will present why and how I started writing Bimba, a public transport application for my city back in 2017. The talk will show major turning points in the journey: when the city started providing open data, when Bimba no longer worked in single place, when Transitous was integrated enabling not only global coverage but also global routing, and meeting people and ideas during last year's RaOT track at FOSDEM and the first Open Transport unconference. I will also present ...