Functions that provide metadata about H3 indexes.

h3_resolution(x)

h3_base_cell(x)

is_valid_h3(x)

is_res_class_iii(x)

get_face_count(x)

Arguments

x

an H3 vector.

Details

  • h3_resolution(): returns the resolution of each H3 cell.

  • h3_base_cell(): returns the base cell integer.

  • is_valid_h3(): given a vector of H3 index string IDs, determine if they are valid.

  • is_res_class_iii(): determines if an H3 cell has Class III orientation.

  • is_pentagon(): determines if an H3 cell is one of the rare few pentagons.

  • get_face_count(): returns the number of faces that intersect with the H3 index.