rilling / OpenTracks-Winter-SOEN-6431_2024

OpenTracks is a sport tracking application that completely respects your privacy. SOEN 6431
https://OpenTracksApp.com
Apache License 2.0
0 stars 65 forks source link

Identify the chairlift and ski data points and compute the necessary metrics for each. #137

Closed PruthvirajH closed 5 months ago

PruthvirajH commented 5 months ago

Description of the feature: This feature calculates and prepares the different attributes for chairlift and ski for a specific day, which are then displayed on the screen upon selection of that particular day.

Solution: Utilizing data from groups 4-6, develop a function to distinguish between ski and chairlift activities based on elevation and maximum altitude. Then, calculate metrics such as total travel time, time of day, average slope, top speed, and average speed. These values are stored in a structured format for easy access. Getter methods are provided to enable other group members to retrieve and utilize these metrics efficiently

Considered Alternatives: An alternative approach would be to merge data from both chairlift and ski activities into a unified dataset for calculating metrics such as total travel time and average speed. However, while this consolidation simplifies the calculation, it may not cater to users who prefer to examine ski and chairlift activities independently, as it lacks granularity for specific activity insights.

Additional context: Collaborate with groups 4-6 to determine the method they are employing to grant access to the data.