Description Usage Arguments Value Examples
Get the [lat, lon] center of a given hexagon
1 | h3_to_geo(h3_index)
|
h3_index |
character vector representing H3 indexes |
numeric vector: [lat, lng]; matrix with [lat, lng] pairs if multiple indexes are supplied
1 2 3 4 5 6 | mtx_geo <- road_safety_greater_manchester[1:5, ] %>%
geo_to_h3() %>%
h3_to_geo()
mtx_geo %>%
geo_to_sf()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.