zarr-vectors-tools

zarr-vectors-tools is an extension of zarr-vectors-py. It is not a standalone library and does not restate that package’s documentation.

zarr-vectors-py owns Zarr Vectors — the specification and the Python API over it — the store layout, chunk and bin geometry, fragments, links, the object model, resolution-level metadata, validation, and the two supported surfaces zarr_vectors.api and zarr_vectors.building. Those are documented there and only there.

This package adds the layers built on top: conversion workflows that wrap third-party readers and writers (laspy, plyfile, nibabel, trx-python, networkx, cloud-volume), streaming graph and mesh algorithms that never materialise a whole store, the rich multiresolution layer — skeleton and polyline coarsening, spatial-coverage and length-ranked object selection — and the zvtools CLI.

Where to look things up

Anything about the format or the core Python API belongs to zarr-vectors-py: read it at the specification and the API reference. Pages here link out to it rather than paraphrasing it, deliberately — a second description of the same format is a second description to keep in sync, and the one that drifts is always the copy.

This release is built against on-disk format version 0.9.0. What that version is — including the merged links/<delta>/<offsets>/ layout this package assumes — is specified at Links.

The format was originally specified by Forrest Collman at the Allen Institute for Brain Sciences.


Where to start

How this package relates to zarr-vectors-py

New to Zarr Vectors? Start here — what the format is, why chunked vector geometry, and how the two packages divide the work.

Quickstart

Convert a file, build a pyramid, run an algorithm, export — from the CLI and from Python.

The zvtools command line

The zvtools command line: convert, pyramid, validate, info.

Modules

Module-by-module summary of the package: what each subpackage owns and where its entry points are.

Concepts: coarsening versus sparsity

Coarsening versus sparsity — the two orthogonal axes of a pyramid, and the one that most people get wrong first.

API reference

Auto-generated reference for every public function.