stilt.Mesh.from_h3#

classmethod Mesh.from_h3(resolution, bounds)[source]#

Return the H3 hexagons of one resolution inside bounds. Requires h3.

bounds is a Bounds or Grid, or an (xmin, ymin, xmax, ymax) tuple in degrees. The cell ids are the H3 cell strings.

Return type:

Mesh

Parameters:

resolution (int)