When using an Intersects on a Buffer in Arcade I appear to be getting inaccurate results. I tested an intersection of two lines, one with a buffer of 30 feet. However, the result is null unless the lines are within 9 feet of each other? Here is the expression I am using:
var fsRoadsAll = Intersects(Buffer($feature, 30, 'feet'), FeatureSetByName($datastore, "ROADS_ALL", ["SPEED"]));
var intersect_max = null;
var cnt = Count(fsRoadsAll);
if (cnt > 0) {
intersect_max = 99
}
if (intersect_max == null) return null;
else return intersect_max;
Any idea what I maybe doing wrong?