Skip to content
Lightweight map data
HTML Rust Cap'n Proto
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

An experimental attempt at representing OSM data in lighter weight formats for constrained environments like the mobile web.


The initial experiment revolves around representing OSM data in a similar way to how the traditional protobuf format does, but removing not frequently used metadata like the Info type and using S2 lv30 cell ids to replace OSM node ids + latitude and longitude data. Also besides caring about size Cap'nProto and Rust tooling are used to maximize portability, memory usage and performance.


Representing world data in a more optimized way and provide tooling is already a great start for anyone who wants to process OSM data quickly, but more can be done in the way this data is represented and distributed. I'm particularly interested in exploiting the herarchical features of the S2 cells to achive routable tiles and different ways of distributing map data in a decentralized fashion, likely using IPFS(the way landing page is hosted) and standardized file names and folder structures.

You can’t perform that action at this time.