Skip to contents

Static plots

Draw cells in ggplot2, alongside geom_sf() layers and in any projection.

geom_a5()
A5 cells as a ggplot2 layer

Interactive maps

Draw cells on a web map with deck.gl and MapLibre.

a5_view()
View A5 cells on an interactive map

Colour composites

Map several bands or an embedding to per-cell RGB colours.

cells_rgb()
Build per-cell packed-integer RGB colours from three numeric channels
cells_pca_rgb()
Build per-cell RGB colours from the first three principal components of an embedding

Large datasets

Build level-of-detail pyramids and view them without rebuilding.

a5_build_pyramid()
Build and save an A5 pyramid parquet file
a5_view_pyramid()
View a prebuilt A5 pyramid parquet file

Shiny

Place maps in apps and update them in place.

a5_viewOutput()
Shiny output binding for a5_view
renderA5_view()
Shiny render function for a5_view
a5_view_update()
Update a5_view layer data without full re-render

Data

Example data.

s2_santiago
Sentinel-2 cells over central Santiago, Chile