Description Usage Arguments Value
View source: R/s2regioncoverer.R
Approximate a region on the sphere by a (possibly interior) covering of S2Cells.
1 | S2Covering(x, max_cells, min_level, max_level, interior = FALSE)
|
x |
Region to cover. Currently it must be a polygon or cap. |
max_cells |
Positive integer. Maximal number of cells to use in the covering. |
min_level |
Integer between 0 and 30 specifying the lowest cell level to use. Must be less than or equal to 'max_level'. |
max_level |
Integer between 0 and 30 specifying the highest cell level to use. Must be greater than or equal to 'min_level'. |
interior |
Logical to get an interior covering. |
A list containing an entry 'ids' with the ids of the S2Cells used to cover the region and possibly other entries for internal usage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.