s2cellstring | R Documentation |
Retreive string representation of a s2cell
s2cellstring(x, level = 30L, binary = FALSE, zerotail = binary)
x |
Input to retrieve string representations from. Current options are a vector of s2cellids, a list of s2cells, or a three-column matrix representing points on the sphere. |
level |
Integer between 0 and 30 (incl.) to specify the desired s2cell level. Defaults to 30 for point data and is ignored for s2cell and s2cellid data. |
binary |
Logical to request binary representation where four subcells are represented as 00, 01, 10 and 11 rather than by 0, 1, 2, 3 which is the default. |
zerotail |
Logical to turn on/off zero-padding at the end when |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.