GPXIN-4: Elevation Stats



Issue Information

Issue Type: Improvement
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: PHP GPXIngest (GPXIN)
Resolution: Done (2013-11-17 20:19:07)
Target version: 1.02,

Created: 2013-11-17 17:05:26
Time Spent Working


Description
Add stats based on the elevation

- min elevation
- max elevation
- General trend (i.e was most of the journey downhill or uphill?)


Issue Links

Toggle State Changes

Activity


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
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
btasker changed status from 'Open' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'
btasker added 'Ben Tasker' to assignee
Reopening to allow assignment to version 1.02
btasker removed 'Done' from resolution
btasker changed status from 'Closed' to 'Reopened'
btasker added '1.02' to Fix Version
btasker changed status from 'Reopened' to 'Closed'
btasker added 'Done' to resolution