| a5_lonlat_to_cell | R Documentation |
Maps longitude/latitude coordinates to A5 cell indices at the specified resolution.
a5_lonlat_to_cell(lon, lat, resolution)
lon |
Numeric vector of longitudes in degrees. |
lat |
Numeric vector of latitudes in degrees. |
resolution |
Integer scalar or vector of resolutions (0–30). |
An a5_cell vector of cell indices.
a5_cell_to_lonlat() for the inverse operation.
a5_lonlat_to_cell(-3.19, 55.95, resolution = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.