a5_get_resolution: Get the resolution of A5 cell indices

View source: R/hierarchy.R

a5_get_resolutionR Documentation

Get the resolution of A5 cell indices

Description

Extracts the resolution level (0–30) encoded in each cell index.

Usage

a5_get_resolution(cell)

Arguments

cell

An a5_cell vector.

Value

An integer vector of resolutions.

See Also

a5_cell_to_parent(), a5_cell_to_children()

Examples

cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 10)
a5_get_resolution(cell)

a5R documentation built on March 26, 2026, 5:10 p.m.