Get the polygons of the given H3 indexes as sf object.

h3_to_geo_boundary_sf(h3_index)

Arguments

h3_index

character vector of H3 indexes

Value

object of class sf

Examples

road_safety_greater_manchester[1:3, ] %>% geo_to_h3() %>% h3_to_geo_boundary_sf()
#> Simple feature collection with 3 features and 0 fields #> geometry type: POLYGON #> dimension: XY #> bbox: xmin: -2.485795 ymin: 53.59954 xmax: -2.175114 ymax: 53.65525 #> CRS: EPSG:4326 #> geometry #> 1 POLYGON ((-2.470595 53.6408... #> 2 POLYGON ((-2.447923 53.6236... #> 3 POLYGON ((-2.197659 53.6552...