I am trying to create an expression that will show whether or not a selected parcel polygon intersects with a buffer polygon in my experience builder. My understanding is that when I call $feature in an expression it is referring to the currently selected feature. My assumption then is that when using Intersect() i can compare a selected feature with the entirety of my buffer polygon using the following code:
Solved! Go to Solution.
It seems my issue was that FeatureSetByName() returns a feature set and I needed to access the feature within that feature set. Using First(FeatureSetByName($map, "Dispensary Buffer")) gives Intersects two feature geometries and returns a boolean.
It seems my issue was that FeatureSetByName() returns a feature set and I needed to access the feature within that feature set. Using First(FeatureSetByName($map, "Dispensary Buffer")) gives Intersects two feature geometries and returns a boolean.