Skip to content

Format: COPC (*.copc.laz) #27

Closed
Closed

Description

@mahach666

Format: COPC (*.copc.laz)

Specification: COPC specification (clustered octree in LAZ).

Scope

  • PclFileKind value and detection in PclFile.DetectKind (signature or structure first, then extension), including a test for a file with the right extension and wrong content.
  • A reader for the points (positions; colour, intensity and normals when the format stores them) and the metadata the format carries, with limits documented in the README.
  • Read the octree hierarchy and the points; allow reading by octree node or bounds.
  • Depends on the LAZ reader.

Done when

  • A file in this format opens with PclFile.Open, lists its scans, reports channel availability from what the file contains and streams its points.
  • Damaged, truncated and oversized input is rejected as described in the rules below, with tests.
  • The README format table and docs/ describe what is read and what is not.

Rules (see CONTRIBUTING.md and docs/dependencies.md): no dependencies on other packages; clean room, so only from a public specification or from files whose use for tests is allowed, never from vendor software, SDKs, headers or binaries; declared sizes and counts are checked against the file and fixed limits; failures are InvalidDataException or NotSupportedException; tests use synthetic fixtures, with real-file tests skipped when the files are absent.

Activity

  1. added
    enhancement
    new-format
    on Nov 15, 2026
  2. added a commit that references this issue on Nov 18, 2026
  3. mahach666 commented on Nov 18, 2026

    @mahach666
    ContributorAuthor

    Implemented in PR #86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew-format

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions