I am working with GPS tracks of outdoor activities, think cycling, running, hiking. These activities often have "rest periods" where people take a break, wait at traffic lights, or just stopped their GPS for whatever reason. I end up with the raw GPS track and I am wondering how to best calculate "moving time". All gis.stackexchange.com I have looked at are very vague, and I am wondering if there is literature/methods for doing this.

I can of course go the easy route and simply look at all trackpoints and subtract all those time periods where the speed between to trackpoints is under some threshold. I would need to tweak this threshold for the activity type (I am assuming), but this seems not very elegant. I have various other ideas, but it seems to me that this problem must be common, and maybe there's a well-known solution?

Also, if anybody has any info how services such as Strava are doing it (as simple as I described above, or something more sophisticated?), it would be great to get some info about that as well.

closed as too broad by PolyGeo Sep 1 '16 at 12:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • As per the Tour there should be only one question asked per question. – PolyGeo Sep 1 '16 at 12:07