Fetches the biogeoclimatic (BEC) zone polygons from the BC Data Catalogue over the BC provincial plots inside area, for Biomass_speciesParameters' hybrid spruce relabelling (its input BECzonesBC). The module fetches them itself when they are not supplied, but a failed fetch there only warns and skips the relabelling, which changes the spruce curves; here it stops.

landweb_bec_zones(PSPgis, PSPmeasure, area)

Arguments

PSPgis

sf of plot locations, with OrigPlotID1 (from PSPclean::getPSP()).

PSPmeasure

data.table of tree measurements, with OrigPlotID1 and source.

area

the fitting area (sf or sfc).

Value

sf of BEC polygons with a ZONE column, or NULL if no BC plot lies in area.