- What is a COPC file?
- COPC, short for Cloud Optimized Point Cloud and written .copc.laz, is an ordinary LAZ 1.4 file whose points are arranged in an octree, with an index saying where each node sits in the file. Any LAZ reader can open it as normal LAZ; a reader that understands the index can fetch just the parts it needs.
- How can a 2 GB file open in a few seconds?
- Because almost none of it is read. The viewer fetches the header and the top of the index, then asks only for the nodes inside the current view, coarsest first, with HTTP range requests. Zoom in and finer nodes are fetched; move away and they're released. The panel shows how many bytes have been read so far.
- Does the file have to be on a server?
- No. Drop a local .copc.laz and it's read the same way, by seeking within the file instead of over the network.
- Why does a URL sometimes fail to load?
- Usually CORS: the host doesn't send an Access-Control-Allow-Origin header, so the browser won't let the page read the response. The fix belongs to whoever hosts the file. Some hosts also ignore range requests, which rules out streaming. Both cases get their own message, with a download as the fallback.
- Are my files uploaded?
- No. A local file never leaves your computer. A remote file is fetched by your browser straight from the host that serves it, so its bytes never pass through lidar-kit.com. That's also why there's no proxy to get around a host that blocks CORS.
- Can I share a link to a cloud?
- Yes. Any URL you open gives you a link that reopens the viewer with that file, plus an iframe snippet for embedding. Someone opening a link to a file on another site is shown the host and asked before anything is fetched.
- What about a plain LAZ on a URL?
- It works, differently. A plain LAZ has no spatial index, so part of it can't be drawn on its own. The viewer reads a few kilobytes and shows the header: CRS, point count, format, extents and the VLR list. Downloading the points is a separate step, with the file size on the button.
- Which point formats are supported?
- COPC allows point formats 6, 7 and 8, and all three are supported, with or without extra bytes. RGB is read from formats 7 and 8.
- Can I inspect the octree itself?
- Yes. The COPC inspector under the view decodes the info record (octree centre, cube size, root spacing, GPS time range) and tabulates the hierarchy: nodes and points per level, spacing and node size, and the depth of the tree. On a large file only the index pages the view has reached are counted at first; one button reads the rest.
- How big is the octree index?
- Each node takes 32 bytes in the index, so it grows with the node count rather than the point count. The autzen sample has 278 nodes, about 9 KB of index; the 2 GB SoFi scan has 13,168, about 420 KB.
- What if my file isn't actually COPC?
- It still opens, as a whole file, and the page says why it didn't stream. It lists each requirement the file misses: not LAZ, not LAS 1.4, a point format outside 6 to 8, no copc info record or one that isn't first, or no hierarchy. That usually tells you whether the file was never converted, or was converted and later rewritten without its octree records.