| a5_cell_to_boundary | R Documentation |
Returns the boundary of each cell as a wk::wkt() or wk::wkb()
polygon geometry. Boundaries are pentagonal polygons on the WGS 84
ellipsoid.
a5_cell_to_boundary(
cell,
format = c("wkb", "wkt"),
closed = TRUE,
segments = NULL
)
cell |
An a5_cell vector. |
format |
Character scalar, either |
closed |
Logical scalar; if |
segments |
Integer scalar or |
A wk_wkt or wk_wkb vector of polygon geometries with
wk::wk_crs_longlat() CRS.
a5_cell_to_lonlat() for cell centroids.
cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 5)
a5_cell_to_boundary(cell)
a5_cell_to_boundary(cell, format = "wkt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.