uncompactCells {h3r}R Documentation

Uncompacts a set of compacted H3 cell indexes to a given resolution.

Description

This function uncompacts the provided set of compacted H3 cell indexes to the specified resolution.

Usage

uncompactCells(compactedSet, 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)
 )


[Package h3r version 0.1.1 Index]