Skip to contents

Building pyramids

Aggregate A5 cells to coarser levels of detail, as a tibble, an Arrow table or a Parquet file.

a5_pyramid()
Build a level-of-detail pyramid of A5 cells
a5_pyramid_arrow()
Build a level-of-detail pyramid as an Arrow table
a5_write_pyramid()
Write a level-of-detail pyramid of A5 cells to Parquet
a5_write_pyramid_level()
Write one level of precomputed rows as a pyramid file

Reading pyramids

A file’s index and levels, read as a renderer reads them.

a5_pyramid_info()
Inspect a pyramid file
a5_read_pyramid()
Read levels of a pyramid file

Pyramid sets

One pyramid as many small files, so a browser opens only those around a view.

a5_write_pyramid_set()
Write a pyramid as a set of shard files
a5_pyramid_set_tiers()
Default tiers of a pyramid set
a5_pyramid_set_info()
Inspect a pyramid set
a5_write_pyramid_set_table()
Write a set's shard table

Partial rows

Exact sums at coarse levels for parts built one at a time, merged into levels that span them.

a5_pyramid_partials()
Partial rows of a pyramid's mean vectors
a5_pyramid_merge_partials()
Merge partial rows into a pyramid's coarse levels

Configuration

a5pyramid_threads() with(<a5pyramid_threads>)
Get or set the number of threads a5pyramid uses

Package overview

a5pyramid a5pyramid-package
a5pyramid: Level-of-Detail Pyramids of A5 Cells for Browser Rendering