Skip to contents

Produces an H3 index from local IJ coordinates anchored by an origin.

Usage

localIjToCell(origin, i, j)

Arguments

origin

vector of anchor cell

i

vector of local I coordinate

j

vector of local I coordinate

Value

cell vector of H3 cells

Examples


localIjToCell(
  origin = c("85283473fffffff","85283473fffffff")
  , i = c(1L, 2L)
  , j = c(2L, 1L)
 )
#> [1] "85280057fffffff" "852800c7fffffff"