Skip to contents

Finds the center of the cell in grid space

Usage

cellToLatLng(cell)

Arguments

cell

vector of H3 cells

Value

a list of two vectors, lat and lng, each the same length as cell, giving the center of cell

Examples


cellToLatLng(cell = c("8cbe63562a54bff","8cbe635631103ff"))
#>         lat      lng
#> 1 -37.82023 144.9832
#> 2 -37.81844 144.9674