I have animal relocation data and want to know how many times that animal walked within a polygon for more than one step (i.e there is more than one point within a polygon). I am more interested in how many times this happens, and not necessarily how many points there were consecutively (I suspect that there will only be 2 relocations in a row in the polygon, or maybe 3).
I don't want to count the number of points in the polygon because it needs to be: In the polygon, in the polygon... and NOT in the polygon, out of the polygon, in the polygon.
This question still needs to be answered! Help please! I've attached an image that shows when I do want to count the path (red), and when I don't (green).
Note: I want to count how many times this (red in the picture) happens, not how many points there are.