Compact a set of hexagons of the same resolution into a set of hexagons acrossmultiple levels that represents the same area.

h3_compact(h3Set)

Arguments

h3Set

Array.<H3Index> H3 indexes to compact

Value

Array.<H3Index> - Compacted H3 indexes

Details

Throws Error If the input is invalid (e.g. duplicate hexagons)