metadata <- gloBFPr::get_metadata()
Set out_type = "all" o return a comprehensive list of
outputs, including: - poly: an sf object of
building footprints, - binary: a terra raster
indicating presence/absence of buildings, and - graduated:
a terra raster representing building height.
Specify cell_size = 1 to generate raster layers with
1-meter resolution, ensuring detailed spatial representation of building
geometries within the defined area of interest.
buildings_list <- gloBFPr::search_3dglobdf(bbox = c(-83.065644,42.333792,-83.045217,42.346988),
metadata = metadata, out_type = "all", cell_size = 1)
Setting mask = TRUE ensures the height raster is masked
by the building footprints.
buildings_list <- gloBFPr::search_3dglobdf(bbox = c(-83.065644,42.333792,-83.045217,42.346988),
metadata = metadata, out_type = "all",
mask = TRUE, cell_size = 1)