Uncompacts a set of compacted H3 cell indexes to a given resolution.
Source:R/hierarchy.R
uncompactCells.Rd
This function uncompacts the provided set of compacted H3 cell indexes to the specified resolution.
Arguments
- compactedSet
list of character vectors containing compacted H3 cell indexes
- resolution
integer specifying the resolution for the uncompacted cells
Value
a list of character vectors containing the uncompacted H3 cell indexes at the specified resolution
Examples
uncompactCells(
compactCells(
gridDisk(
cell = c("85283477fffffff", "85283423fffffff")
, k = c(1L, 2L)
)
)
, res = c(5L, 5L)
)
#> [[1]]
#> [1] "85283477fffffff" "85283473fffffff" "85283463fffffff" "85283467fffffff"
#> [5] "8528342bfffffff" "8528343bfffffff" "8528340ffffffff"
#>
#> [[2]]
#> [1] "85283407fffffff" "8528340ffffffff" "85283477fffffff" "85283467fffffff"
#> [5] "85283093fffffff" "85283097fffffff" "8528355bfffffff" "85283553fffffff"
#> [9] "852835cbfffffff" "852835dbfffffff" "852834affffffff" "852834abfffffff"
#> [13] "85283423fffffff" "85283427fffffff" "8528342bfffffff" "8528342ffffffff"
#> [17] "85283433fffffff" "85283437fffffff" "8528343bfffffff"
#>