Zarr Vectors Spec¶
Draft specification for storing large-scale N-dimensional vector data — point clouds, skeletons, streamlines, meshes, tracks-over-time — on top of Zarr v3. Released to spark conversation.
This specification describes format 0.10.0. Its metadata layer is the Zarr Vectors convention v0.1.0; see §1.4.7.
Specification
- 1. Introduction
- 2. Scope and Goals
- 3. Terminology and Concepts
- 4. Data Model
- 5. Zarr Store Structure
- 6. Spatial Indexing
- 7. Core Arrays
- 8. Metadata
- 8.1 Metadata Structure
- 8.2 Root-Level Metadata
- 8.3 Resolution-Level Metadata
- 8.4 Array-Level Metadata
- 8.5 Object-Level Metadata
- 8.6 Group-Level Metadata
- 8.7 Point-Level Metadata
- 8.8 Coordinate Reference System (CRS)
- 8.9 Convention Registration (
zarr_conventions) - 8.10 Multiscales
- 8.11 OME-Zarr RFC 8 Node (
ome) - 8.12 Version Rules
- 9. Multi-Resolution Support
- 10. Linking Across Chunks and Levels
- 10.1 Problem Statement
- 10.2 Strategy 1: Boundary Deduplication
- 10.3 Strategy 2: Explicit Cross-Chunk Links
- 10.4 Strategy Selection
- 10.5 Object Index for Cross-Chunk Objects
- 10.6 On-Disk Layout: The Links Family
- 10.7 Consistency Guarantees
- 10.8 Cross-Pyramid-Level Links — Optional
- 10.9 Links on an Octree Level
- 11. Compression and Encoding
- 12. Geometry Types
- 13. Conformance and Validation
- 14. Examples
- 14.1 Mouse Brain Nuclei: Point Cloud with Multi-Resolution and Regions
- 14.2 Mesh with Multi-Resolution (chunk-scale growth)
- 14.3 Skeleton with Cross-Chunk Objects
- 14.4 2-D Polylines with Attributes
- 14.5 Time-Series Point Cloud (XYZT)
- 14.6 Multiplexed FISH: Gene Measurements and Cell Types
- 14.7 Individual Gene Detections in mFISH (Spots → Cells)
- 14.8 Simple DTI: Small Volume (TRX-Aligned)
- 14.9 DTI Streamlines: Large Volume with Chunking and Segment Reuse
- 14.10 Large-Scale Distributed Write
- 14.11 Sharded Store with a Dense Object Index and a CRS
- Summary
- 15. Appendices
- Appendix A: JSON Schema Definitions
- Appendix B: Zarr Implementation Details
- Appendix C: Coordinate Reference Systems
- Appendix D: Compression Codec Reference
- Appendix E: Downsampling Algorithms
- Appendix F: Query Patterns
- Appendix G: Performance Considerations
- Appendix H: Extensibility
- Appendix I: References
- Appendix J: Change Log
- Appendix K: Mapping from Neuroglancer Precomputed Annotations