stilt.config.H3GeometrySpec#

class stilt.config.H3GeometrySpec(*, kind: Literal['h3'] = 'h3', resolution: Annotated[int, Ge(ge=0), Le(le=15)], bounds: stilt.config.spatial.Bounds) → None[source]#

H3 hexagons of one resolution covering a lon/lat bounding box.

Parameters#

Parameter

Description

Default

kind

'h3'

resolution

H3 resolution (0-15).

Required

bounds

Lon/lat box the hexagons must cover.

Required

Methods#

build()

Generate the hexagons (requires the h3 package).