| a5_compact | R Documentation |
Merges complete sibling groups into their common parent, reducing the number of cells while preserving coverage.
a5_compact(cells)
cells |
An a5_cell vector. |
An a5_cell vector of compacted cells.
a5_uncompact()
cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 5)
children <- a5_cell_to_children(cell)
a5_compact(children) # back to the parent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.