update_bem_from_vri.Rd
This function updates BEM (broad ecosystem mapping) attributes based on VRI (vegetation resource inventory) attributes, according to the document "Corrections to the BEM map codes".
update_bem_from_vri(
vri_bem,
rivers,
beu_bec,
clear_site_ma = TRUE,
use_ifelse = TRUE
)
sf object that represent the combined vri & bem polygon feature class
sf object that represent Rivers polygon feature class (FWA_Rivers)
data.table object of allowed BEC and BEM Code Combos
boolean, if TRUE variable SITE_M1A, SITE_M2A will be cleared
boolean, if TRUE correction done after the combine_duplicated_BEUMC will only be applied on rows that were not affected by the correction of duplicated BEUMC
sf object which contains adjusted map codes
This function performs some adjustments to BEM attributes based on VRI attributes :
Combine together components with duplicated BEUMC
Perform corrections based on BC Land Cover Classification Scheme (BCLCS) and land : assign related SDEC_1 to 10
Remove inadequate wetlands
Update STAND_... based on species