hexify_h_index_to_lonlat: Convert hierarchical index strings to longitude/latitude...

View source: R/hexify_conversions.R

hexify_h_index_to_lonlatR Documentation

Convert hierarchical index strings to longitude/latitude centers

Description

Converts hierarchical cell index strings back to geographic coordinates, returning the center point of each cell. This is the inverse operation of hexify_lonlat_to_h_index().

Usage

hexify_h_index_to_lonlat(grid, h_index)

Arguments

grid

Grid specification from hexify_grid()

h_index

Hierarchical index strings (character vector)

Details

Most users should use hexify_cell_to_lonlat or hexify_grid_cell_to_lonlat which work with DGGRID-compatible integer cell IDs.

Value

Data frame with columns:

lon

Longitude in degrees

lat

Latitude in degrees


hexify documentation built on March 1, 2026, 1:07 a.m.