Web Viewer Bundle
NullCad can export a self-contained .ncweb bundle for a companion
browser/phone viewer — useful for reviewing a survey project in the field
without running the full desktop application.
What’s in the bundle
.ncweb is a ZIP archive containing:
manifest.json— CRS, extent, camera position, layer list.features.geojson— geometry as GeoJSON, with styles resolved (colors, line weights, etc.) at export time so the viewer doesn’t need to replicate NullCad’s full styling logic.resources/— embedded resources (e.g. reference images) needed by the viewer.
Exporting
File ▸ Export ▸ Web Viewer Bundle…, then choose an output location for
the .ncweb file.
The viewer
The companion viewer is a TypeScript Progressive Web App (PWA), designed
for field/phone use — it opens a .ncweb bundle and renders the exported
geometry with the resolved styles, without needing network connectivity
once loaded.
Keeping exporter and viewer in sync
The .ncweb format is produced by the Rust exporter
(src/gis_io/native/web_bundle.rs) and consumed by the separate viewer/
TypeScript project. Because the format is shared between two independently
built codebases, changes to the bundle’s schema need to land on both sides
together.