powered by
This function returns the vertex index for a supplied H3 cell and vertex number.
get_cell_vertex(h3_address = NULL, v_num = 0, simple = TRUE)
By default, a list of length(h3_address).
length(h3_address)
Character; 15-character cell index generated by H3. A vector of indexes can also be supplied.
Numeric; the vertex number required. Options are 0-5 inclusive.
Logical; whether to return a vector of outputs or a data frame containing both inputs and outputs.
# Get vertex 3 for this cell get_cell_vertex(h3_address = '86be8d12fffffff', 3)
Run the code above in your browser using DataLab