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

Statistics (service functions, Ski statistics)-Distance Skied #59

Closed
ruchitdobariya opened this issue Mar 14, 2024 · 1 comment
Closed
Assignees
Labels
Enhancement New feature or request Group 6 Medium Priority Medium Priority Ski Stats
Milestone

Comments

@ruchitdobariya
Copy link
Collaborator

ruchitdobariya commented Mar 14, 2024

Feature Description:
The feature involves calculating the distance skied based on the provided data.

Proposed Solution:
A function will be created to calculate the distance skied. This function will utilize the provided data and will be integrated into the OSM Dashboard to display the skied distance.

Alternative Solution:
An alternative solution could involve utilizing existing libraries or APIs specialized in calculating distances based on geographical coordinates. This approach may offer additional features or optimizations compared to a custom implementation.

Additional Context:
The calculated distance skied can provide valuable insights for users of the OSM Dashboard, allowing them to track their skiing activities and monitor their progress over time. Integration of this feature will enhance the functionality and usability of the dashboard, providing users with a comprehensive overview of their skiing endeavors.

@ruchitdobariya ruchitdobariya added the Enhancement New feature or request label Mar 14, 2024
@mkjodhani mkjodhani added this to the Case Study 2 milestone Mar 17, 2024
ruchitdobariya added a commit that referenced this issue Apr 8, 2024
Describe the pull request

This PR adds a class that calculates the total distance skied and which
will be used by the UI.

The TrackDistanceSkeid class is responsible for calculating the distance
skied from every track.
It analyzes the altitude, longitude, and latitude changes of track
points to identify upward movements as ski lifts and downward movements
as ski runs.
It also utilizes the enum status of TrackPoint to determine if in idle
status.
Link to the the issue
#59

License agreement
By opening this pull request, you are providing your contribution under
the Apache License 2.0 (see
[LICENSE.md](https://github.com/rilling/OpenTracks-Winter-SOEN-6431_2024/pull/LICENSE.md)).

Note: new dependencies/libraries
Please refrain from introducing new libraries without consulting the
team.
@ruchitdobariya
Copy link
Collaborator Author

Total distance skeid class was integrated and successfully deployed into the repo.

thanhpd pushed a commit that referenced this issue Apr 26, 2024
revert changes: #119: allow user to view and update DoB, Gender and Leaderboard Settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Group 6 Medium Priority Medium Priority Ski Stats
Projects
None yet
Development

No branches or pull requests

2 participants