I’m trying to develop an Arcade expression that determines if a newly created plant occurrence feature intersects, or is near, a known plant occurrence of the same species in an underlying reference layer…keeping in mind that there could be multiple overlapping polygons in that reference layer of many different plant species.
I’ve found many examples to pull an attribute from an underlying layer, but haven't come across any that drill down through a reference layer’s multiple overlapping polygons to see if any of those have a matching plant code. Essentially, I don't know how to iterate through a series of polygons in search of a match.
See the attached image for an example of those multiple overlapping plant polygons in a reference layer.
Any references or examples would be appreciated. Thank you.