| a5_covering_to_supercells | R Documentation |
a5_covering_to_supercells() gives, for each covering, the cells at a
coarser resolution that contain the centre of at least one of its
cells, such as the partitions of a store that hold an area's data. It
matches a5_cell_to_supercell(a5_uncompact(x), resolution) without
duplicates, but never builds the covering's cells.
a5_covering_to_supercells(x, resolution)
x |
An a5_covering vector. |
resolution |
Integer scalar target resolution, at or coarser than each covering's resolution. |
An a5_covering vector at resolution, the same length as x.
NA where x is NA.
a5_cell_to_supercell()
area <- a5_polygon_to_cells(
wk::wkt("POLYGON ((-3.3 55.9, -3.1 55.9, -3.1 56, -3.3 56, -3.3 55.9))"),
resolution = 14
)
a5_uncompact(a5_covering_to_supercells(area, 6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.