Replacing Data Sets

Hi All, I’m trying to replace data sets but am running into issues with how data is being replaced based on what I think are tree structure issues. I have 3 input data sets from GIS that are all related.

  1. BREP Regions
  2. Vegetation names per BREP Region
  3. BREP ID - this data set is from a larger set that I pared down for this help.

I have 41 different types of vegetation names which I am trying to assign a unique color to each and then assign those colors back to the original BREP Regions.

The internalized data is about 26mb. It will take a few dozen seconds to open.

here is the gh file : Dropbox - vegetation internalized.gh - Simplify your life

Thanks for any help!
patrick