| a5_cell_to_parent | R Documentation |
Returns the parent cell of each input cell. By default returns the immediate parent (one resolution coarser). Optionally target a specific coarser resolution.
a5_cell_to_parent(cell, resolution = NULL)
cell |
An a5_cell vector. |
resolution |
Integer scalar target parent resolution, or |
An a5_cell vector of parent cells.
a5_cell_to_children(), a5_get_resolution()
cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 10)
a5_cell_to_parent(cell)
a5_cell_to_parent(cell, resolution = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.