See Coordinate Reference Systems for the current COPC/LAS projection-record support and vertical/compound CRS roadmap.
The cloud point path
Let the hierarchy choose the ranges.
COPC puts an octree directory beside the point data. A viewport or bounded query can use that directory first, then fetch only the compressed nodes that can contribute results.
bounded request
application result
Arrow point batchespositions · color · attributes ↗The same source can serve progressive viewport tiles or a bounded scan without changing the underlying point representation.
The COPC path
Metadata first. Bytes second.
The hierarchy narrows the request before point records are fetched. Applications can use a tileset source for view-driven loading or the scan contract for bounded, column-selective queries.
Discover
Header, VLRs, bounds, CRS, and hierarchy metadata
Select
Spatial nodes, levels of detail, and requested attributes
Fetch
Only the LAZ byte ranges needed for those nodes
Return
Point objects or ordered Arrow point batches
The @loaders.gl/tiles-3d/copc module loads and writes the COPC format. Its primary reader is TypeScript-only and performs native COPC hierarchy, byte-range, and LAZ point decoding.
Detailed guide
COPC module details
The sections below cover installation, source and writer APIs, compatibility, and the exact point and range behavior.
Installation
npm install @loaders.gl/core @loaders.gl/tiles-3d
APIs
| API | Description |
|---|---|
COPCLoader | Loads viewport-selected point data from COPC files through byte ranges. |
COPCWriter | Writes Mesh or Mesh Arrow table point clouds as COPC 1.0 data. |
Attribution
The original module was based on Connor Manning's copc.js project under the MIT license. The current primary reader is a first-party TypeScript implementation with no copc runtime dependency.
