Engine
A compact binary format that opens almost instantly and carries no executable payload.
It is a small C++20 library with no outside dependencies. Maps, tables, dictionaries and 3D meshes are written once and then opened by mapping the file into memory, so opening one costs almost nothing.
0.01 msto open a 38 MB map3,220 US counties, memory-mapped, on an M4 Pro
- 45×faster for 5 counties0.04 ms memory-mapped against 1.8 ms copying the file in
- 38 → 20 MBafter quantizingunder about 22 m of precision lost
- Open, copying~2
- Open, memory-mapped~0.01
- Read 50 counties, copying~1.8
- Read 50 counties, memory-mapped~0.12
- Read 5 counties, copying~1.8
- Read 5 counties, memory-mapped~0.04
Measured on an Apple M4 Pro.
What it stores
- Maps from ESRI shapefiles, with region lookup by name and by point
- Tables from CSV, dictionaries and 3D meshes
- Vector graphics, schematics projected from KiCad, and boards
Where it runs
- C++20 with a built-in compressor
- A web and C API build, which is how IDoc reads it
Where it stands
In use inside IDoc for maps, charts, schematics and boards.