Hello, I am creating a rule that will set the value in a field called 'tail_length' to 60 if a new feature intersects a point called "pole", and 100 if it does not. However when I create a new point, it always sets the value to 100 even if it intersects a pole. Any insights?
var poles = FeaturesetByName($datastore, "Poles");
var ints = Intersects(poles,Geometry($feature));
if(Count(ints) < 0){
return 60; }
else {
return 100;}