I'm doing an MRR (mark-release-recapture) study on an insect. When I collect the insect I take the GPS point and I mark it with a unique number. When I recapture it I'm able to recognize it and I take the second GPS point to know how far it is from the first point. The column has the code of the "name" of the insect collected, for example N1.
I would like to connect the point with the same code N1 (The point where I collect the individual for the first time and all subsequent points where it was captured) to calculate the total distance travelled.