Skip to contents

Vectorized boundary lookup with dateline wrapping, the same treatment as make_hex_res() but for an arbitrary set of cells (e.g. the cell column returned by obis_cell_indicators()).

Usage

hex_sf(cells, dl_offset = 60)

Arguments

cells

character vector of H3 indexes.

dl_offset

DATELINEOFFSET passed to sf::st_wrap_dateline(); default 60 (enough for res >= 1).

Value

sf with columns cell and geometry, one row per input cell.