Is there a way in R (a script or package) that would allow identifying activity spots in GPS tracking data?
I have a number of GPS tracks in GPX/CSV formats that follow the movements of people in a city during a day. I would like to identify locations where a person stays longer (stays or walks around a small area - a cluster of trackpoints like the one in the image attached), count these locations, and estimate the time spent in each.
So far I have checked some packages, such as trip and move, etc, but they did not seem to offer this possibility
I think, density-based clustering might be the best approach