Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request #4

Open
demlak opened this issue Jul 18, 2018 · 2 comments
Open

Feature Request #4

demlak opened this issue Jul 18, 2018 · 2 comments

Comments

@demlak
Copy link

demlak commented Jul 18, 2018

Hi,
thx for this great parsers.

I'm interested in "real activity time".

$activity->getTotalDuration() does not reflect any breaks in activity.

Maybe it is possible to grep breaks to reflect real activity time. This should also affect average speed and calories, and so on.

Just an idea:
maybe by calculating speed between two points is somewhat below 5kph for biking and 2kph for walking, we got a break.
Or by calculating time between two points that are x-metres in distance to each other.
(because some people track there activity with big intervals)

thx in advance

@cwarwicker
Copy link
Owner

Hi,

I'll have a look into it.

@dlondero
Copy link

dlondero commented Oct 3, 2020

This sounds like the "Moving time" compared to the "Elapsed time" some platforms provide (Strava does this). Most probably they check for track points with same coordinates (or within a certain range) and subtract the time spent in the same place from the total time (elapsed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants