Index Accessor#

H3 accessor#

Index.h3 can be used to access the values of the Index(string) or Index(int64) and apply several methods to it. These can be accessed like Index.h3.<function/property>.

is_h3(index, /)

Validate whether the Index is H3 cell index.

H3(index, /)

Hexagonal hierarchical geospatial indexing system.

H3.area

Compute the spherical surface area of a specific H3 cell.

H3.resolution

Return the resolution of H3 cell.

H3.is_valid

Validates H3 cell (hexagon or pentagon).

H3.is_pentagon

Identify if H3 cell is a pentagon.

H3.to_int()

Converts hexadecimal string H3 cell index to 64-bit integer.

H3.to_str()

Converts 64-bit integer H3 cell index to hexadecimal string.

H3.to_center_child([resolution])

Get the center child of cell.

H3.to_children([resolution])

Get the children of cell.

H3.to_parent([resolution])

Get the parent of cell.

H3.to_points()

Return the center Point of H3 cell.

H3.to_polygons()

Return Polygon to describe the cell boundary.