I have a gpkg file which contains some buildings and am looking to convert this to H3 size 11.
BUILDINGS <- st_read(GPKG, layer = "buildings")
Basically anywhere one of these buildings is located gets a hexagon, and where there aren't any buildings there is no hexagon.
I tried using some packages i.e. "h3jsr" and "h3"
and also tried
install.packages("remotes")
remotes::install_github("crazycapivara/h3forr")
hoping to use the "geo_to_h3" function, but it just says it cannot find the function at all so not sure whats happening there.
Any help would be greatly appreciated!
Update
So not each individual building is a polygon but a collection of buildings are grouped into one polygon.