Learn R Programming

hexify (version 0.3.8)

index_to_cell_internal: Decode a cell index to face, i, j, and resolution

Description

Internal function to decode a cell index string into its constituent components: face number, grid coordinates (i, j), and resolution level.

Usage

index_to_cell_internal(index, aperture, index_type)

Value

List with components:

face

Face number (integer)

i

Grid coordinate i (integer)

j

Grid coordinate j (integer)

resolution

Resolution level (integer)

Arguments

index

Cell index string

aperture

Grid aperture (3, 4, or 7)

index_type

Index encoding type ("z3", "z7", or "zorder")