For each candidate landbase source (landbaseLayers()) whose tenure is present in tenures, download it once (idempotent workflowtools *_once helpers, or file by file for a geodatabase kept as a Drive folder), then dissolve it by landbase status and clip it to studyArea with spatialutils::prep_landbase() – which pushes the column and spatial filters down to the read, so a large coverage is reduced to the study area before any geometry work. Sources that do not intersect the study area (or whose tenure is absent) are skipped; the result is a named list of SpatVectors keyed "<tenure> <NAME_SHORT>", each with a Name column holding the landbase status, suitable for merging into the reportingPolygons input to NRV_summary.

buildLandbasePolygons(
  studyArea,
  tenures,
  destinationPath,
  targetCRS = LandWebCRS,
  layers = landbaseLayers()
)

Arguments

studyArea

A SpatVector (or a source readable by terra::vect()).

tenures

Character vector of the curated tenure short names present in this study area (e.g. reportingPolygons[["FMA"]]$Name, or the study-area group's name_shorts from studyAreaCrosswalk()). Only landbases belonging to one of these are fetched.

destinationPath

Directory for downloads/extraction.

targetCRS

Target CRS (default LandWebCRS).

layers

Candidate-layer table (default landbaseLayers()).

Value

A named list of SpatVectors, one per applicable, intersecting landbase; empty when none apply.