FOSS4G 2022 general tracks

Benjamin Clark

I work on RapiD and other front-end software engineering work for Meta's XR Maps team. I believe user interfaces should be pleasing to look at and a joy to use. Despite that sentiment, I'm is also responsible for RapiD's yearly holiday-themed release.


Sessions

08-25
14:45
30min
Speeding up the RapiD map editor with WebGL and PixiJS
Bryan Housel, Benjamin Clark

RapiD is an advanced Open Source map editor for OpenStreetMap built by the MapWithAI team at Meta. RapiD makes it simple to work with openly licensed geodata and AI-detected road, building, and landform features.

For years the RapiD editor was based on a SVG rendering engine built with D3.js. As our users map the world in increasing levels of detail, and as more open data sources become available, our rendering tech has struggled to keep up with the massive amounts of data that we’re asking it to display in a browser-based JavaScript application.

Our team recently converted this legacy rendering engine to instead use WebGL technology by leveraging the popular Open Source PixiJS game engine. The conversion from SVG to WebGL yielded a considerable performance boost, and the new WebGL-based renderer is up to the task of working with massive world-scale datasets and handling the increasing data density of OpenStreetMap.

In this talk we share our progress on bringing new datasets into RapiD, tell the story of how we built a modern map editor on top of an Open Source game engine, and share our roadmap for the future of mapping.

State of software
Modulo 0