View source: R/hexify_conversions.R
| hexify_h_index_to_lonlat | R Documentation |
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().
hexify_h_index_to_lonlat(grid, h_index)
grid |
Grid specification from hexify_grid() |
h_index |
Hierarchical index strings (character vector) |
Most users should use hexify_cell_to_lonlat or
hexify_grid_cell_to_lonlat which work with DGGRID-compatible
integer cell IDs.
Data frame with columns:
lon |
Longitude in degrees |
lat |
Latitude in degrees |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.