Use of intersects on two layers (Polygon / Point) and count number of records found
Hey @FrankBrenner
You're probably looking for something like this, returning the value of the count or similar:
// Replace 'PointLayerName' with the actual name of your point layer var points = FeatureSetByName($map, "PointLayerName"); // Filter points that intersect the current polygon var intersectingPoints = Filter(points, Intersects($feature, geometry($feature))); // Count the number of intersecting points Count(intersectingPoints)
Cody
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.