Measurement

Functions for computing distances, areas, and edge lengths.

Corresponds to the H3 C API Misc section.

Great Circle Distance

Unit Conversion

Average Hexagon Area

Average Edge Length

Cell Count

FastH3.getNumCellsFunction
getNumCells(res::Int) -> (H3Error, Int64)

Get the total number of cells (hexagons and pentagons) at the given resolution.

See also the H3 C API: getNumCells

source

Exact Cell Area

Exact Edge Length