splitlong_to_cell {h3jsr} | R Documentation |
Split long to H3 cell
Description
Convert a "split long" - a pair of 32-bit integers - into an H3 cell index.
Usage
splitlong_to_cell(split_lower = NULL, split_upper = NULL, simple = TRUE)
Arguments
split_lower |
Integer; Lower 32 bits of an H3 index. |
split_upper |
Integer; Upper 32 bits of an H3 index. |
simple |
Logical; whether to return a vector or a data frame containing both inputs and outputs. |
Value
Vector of H3 addresses, one for each split long pair supplied.
Examples
x <- cell_to_splitlong(h3_address = '8abe8d12acaffff')
splitlong_to_cell(split_lower = x[[1]][1], split_upper = x[[1]][2])
[Package h3jsr version 1.3.1 Index]