voxelkloudBack to the project

DOCS / PACKAGE GUIDE

@voxelkloud/format-copc
COPC driver

COPC keeps the octree in the file, so the driver reads the page model and fetches only the nodes the view actually needs.

npm install @voxelkloud/format-copcsource

Open COPC

The driver loads the source and opens the tree from a single `.copc.laz` file without a conversion step.

import { loadCopcSource, openCopcTree } from '@voxelkloud/format-copc'

const source = await loadCopcSource('/pointclouds/autzen.copc.laz')
const tree = await openCopcTree(source)

What makes it separate

COPC behaves like LAS on the wire, but the hierarchy is already indexed, so the loader can stream the right nodes by range instead of rebuilding them.

  • Best when the input is already an indexed LAS 1.4 file.
  • HTTP Range is the delivery path, not a fallback.
  • The renderer still sees the same neutral source/tree contract.