| a5_cell_to_lonlat | R Documentation |
Returns the centre-point longitude and latitude of each cell.
a5_cell_to_lonlat(cell, normalise = TRUE)
cell |
An a5_cell vector (or character coercible to one). |
normalise |
Logical scalar. If |
A wk::xy() vector (if normalise = TRUE) or a data frame
with columns lon and lat.
a5_lonlat_to_cell() for the inverse operation,
a5_cell_to_boundary() for full cell polygons.
cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 5)
a5_cell_to_lonlat(cell)
# Raw unwrapped coordinates
cell2 <- a5_lonlat_to_cell(114.8, 4.1, resolution = 5)
a5_cell_to_lonlat(cell2, normalise = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.