OSM Express a spatial file format for the planet
summary
A new single-file OSM format called .osmx file stores the planet with random ID and spatial access, built with ~1,500 lines of C++ and libraries LMDB and capn proto plus s2 level 16 indexing. Planet conversion from PBF takes ~6 hours and yields ~570 GB (about 200 GB on ZFS); applying each minute diff takes ~0.2–0.3 s. Small-area extracts return in seconds (demo ~4 s), while extracts above ~150M nodes are faster with osmium.
AI-written summary · about
chapters (12)
- 0:00Introduction and motivation
- 1:24Problems with OSM PBF format
- 3:10Alternatives to OSM PBF
- 4:56Goals for OSM Express
- 6:18Design compromises
- 7:22Use cases for OSM Express
- 13:40Philosophy behind OSM Express
- 14:02Implementation details
- 19:07Spatial indexing with S2
- 20:55Alternate design options
- 21:41Conclusion and future
- 22:47Q&A session
