Skip to contents

Attaches hexagonal polygon geometries to an H3 effort summary table, returning an sf object ready for mapping or further spatial analysis. Polygons are derived from the h3_index column using WGS84 (EPSG 4326).

Usage

create_spatial_grid(h3_summary_df = NULL)

Arguments

h3_summary_df

A data frame with an h3_index column, as returned by aggregate_h3_effort() or rollup_h3_resolution(). All other columns are preserved in the output.

Value

An sf polygon object in WGS84 (EPSG 4326) with one row per H3 cell and a geometry column containing the hexagon boundaries.