Hi everybody,
I am currently working on a problem related to arc arcade, arc pro. Basically I am trying to create an attribute rule that checks if a created feature intersects with any endpoint of a featureset of polylines. For this to work I created this code:
for(var line in lines){
var endPoint = Geometry(line).paths[-1][-1]
return count(intersects(endPoint, Geometry($feature))) > 0
}
This should return "False" if the created feature is not intersecting one of the line endpoints im trying to iterate over. However all I get is a "unexpected null" error at "var endPoint". Any Ideas how i could solve the problem and get the end points of all the line features im iterating over?
Thanks.
Stefan