########################################################################################## GPXIN-4: Elevation Stats ########################################################################################## Issue Type: Improvement ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2013-11-17 20:19:07) Project: PHP GPXIngest (GPXIN) Reported By: btasker Assigned To: btasker Targeted for fix in version: - 1.02 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Add stats based on the elevation - min elevation - max elevation - General trend (i.e was most of the journey downhill or uphill?) ----------------------------------------------------------------------------------------- Issue Relations ================ - is blocked by GPXIN-5: Trackpoints: Elevation Change - relates to VEH-46: Update Journeys module for new stats - relates to GPXIN-29: Inconsistency in the Journey Stats available at each level ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2013-11-17 17:28:32 btasker ----------------------------------------------------------------------------------------- Adding to the stats object in - Journey - Track - Segment Using the following keys - maxElevation - minElevation - avgElevationChange Segment elevations are pushed into an array called _seles_ whilst elevation changes go to _seledevs_ Track elevations are pushed into an array called _feles_ whilst elevation changes go to _feledevs_ Journey elevations are pushed into an array called _jeles_ whilst elevation changes go to _jeledevs_ ----------------------------------------------------------------------------------------- 2013-11-17 17:35:59 btasker ----------------------------------------------------------------------------------------- Changed mind about the keys, the stats objects are going to get quite messy at this rate, so created a new object called 'elevation' within the stats object and then created the following keys - max - min - avgChange ----------------------------------------------------------------------------------------- 2013-11-17 17:38:28 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Resolved' ----------------------------------------------------------------------------------------- 2013-11-17 17:38:28 ----------------------------------------------------------------------------------------- btasker added 'Done' to resolution ----------------------------------------------------------------------------------------- 2013-11-17 17:38:35 ----------------------------------------------------------------------------------------- btasker changed status from 'Resolved' to 'Closed' ----------------------------------------------------------------------------------------- 2013-11-17 17:38:35 ----------------------------------------------------------------------------------------- btasker added 'Ben Tasker' to assignee ----------------------------------------------------------------------------------------- 2013-11-17 20:13:34 btasker ----------------------------------------------------------------------------------------- Reopening to allow assignment to version 1.02 ----------------------------------------------------------------------------------------- 2013-11-17 20:13:34 ----------------------------------------------------------------------------------------- btasker removed 'Done' from resolution ----------------------------------------------------------------------------------------- 2013-11-17 20:13:34 ----------------------------------------------------------------------------------------- btasker changed status from 'Closed' to 'Reopened' ----------------------------------------------------------------------------------------- 2013-11-17 20:16:09 ----------------------------------------------------------------------------------------- btasker added '1.02' to Fix Version ----------------------------------------------------------------------------------------- 2013-11-17 20:19:07 ----------------------------------------------------------------------------------------- btasker changed status from 'Reopened' to 'Closed' ----------------------------------------------------------------------------------------- 2013-11-17 20:19:07 ----------------------------------------------------------------------------------------- btasker added 'Done' to resolution