summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
HEAD
⋅
prev
⋅
next
B Tasker [Thu, 14 Mar 2019 17:14:57 +0000 ]
GPXIN-37 - BUGFIX: object attribute is incorrectly referenced resulting in PHP warnings
Raised in Github #20
B Tasker [Tue, 04 Jul 2017 13:30:39 +0000 ]
GPXIN-36 - Bumping internal version to 1.03
There have been a lot of changes made since the version was set at 1.02, so drawing a line in the sand under them.
Should use tags really, but haven't gotten around to making sure the webhooks won't duplicate commit notifications :(
B Tasker [Tue, 04 Jul 2017 12:48:48 +0000 ]
GPXIN-27 Added route object fetchers.
B Tasker [Tue, 04 Jul 2017 12:37:20 +0000 ]
GPXIN-27 - Implementing route related ID fetchers.
B Tasker [Tue, 04 Jul 2017 11:51:32 +0000 ]
GPXIN-11 Fix stationary time calculations.
There was a minor issue with the way stationary time was calculated, meaning it'd actually be calculated higher than was true.
See http://projects.bentasker.co.uk/jira_projects/browse/GPXIN-11.html for an explanation of the issue
B Tasker [Tue, 04 Jul 2017 11:48:02 +0000 ]
Updating README to note waypoint and route support
B Tasker [Tue, 04 Jul 2017 11:45:55 +0000 ]
Updating README to reflect the feature changes in GPXIN-23
B Tasker [Tue, 04 Jul 2017 11:35:30 +0000 ]
GPXIN-23 Move calcDistance out of experimental and enable by default
* Can be suppressed using 'calcdistance'
* Adds 'distanceTravelled' attribute to trackpoints (measured in feet)
Also means that auto-speed calculation (implemented in GPXIN-13) will be used if speed has not been declared within the GPX file
B Tasker [Tue, 04 Jul 2017 11:06:05 +0000 ]
Exposed new method getRouteStats for GPXIN-27
Returns the general route stats object
B Tasker [Tue, 04 Jul 2017 10:48:39 +0000 ]
Add maxChange and minChange to track elevation stats
Shows the (max|min)imum change between two trackpoints. Supported at journey, segment and track level
B Tasker [Tue, 04 Jul 2017 10:43:55 +0000 ]
GPXIN-33 Add AvgChange to route elevation stats. Have also added maxChange and minChange
Will need to add maxChange and minChange to the track stats to help keep things consistent, but I figure they could be helpful if the route describes a marathon or cycle route so you can gauge how knackering it's likely to be
B Tasker [Tue, 04 Jul 2017 10:31:17 +0000 ]
GPXIN-33 Elevation should be it's own attribute in route stats
Changed to keep it consistent with the structure of the track related stats object
B Tasker [Tue, 04 Jul 2017 10:20:11 +0000 ]
Removing excess line
B Tasker [Tue, 04 Jul 2017 10:13:39 +0000 ]
Whoops, didn't mean to break that. Fix variable reference
B Tasker [Tue, 04 Jul 2017 10:10:30 +0000 ]
More whitespace tidying
B Tasker [Tue, 04 Jul 2017 10:09:53 +0000 ]
GPXIN-33 Add ability to unsuppress both wptlocation and wptele
B Tasker [Tue, 04 Jul 2017 10:09:07 +0000 ]
Tidy whitespace
B Tasker [Tue, 04 Jul 2017 10:08:05 +0000 ]
GPXIN-33 Create elevation stats for routes.
Generates max/min bounds for elevations defined within a route. Elevation can be suppressed by suppressing type 'wptele'
B Tasker [Tue, 04 Jul 2017 09:54:22 +0000 ]
Allow suppression of location in waypoints (gpx->suppress('wptlocation'))
I have no idea why you might want to do this, but I'm sure someone will find a need/use at some point
Also adding an indicator for suppressing elevation data, but haven't used it yet
B Tasker [Tue, 04 Jul 2017 09:27:19 +0000 ]
GPXIN-34 - Normalise elevation attribute name in trackpoints to "ele"
To avoid break b/c, "elevation" remains valid but should be considered deprecated and *will* be removed at some point.
In a GPX file with 2100 trackpoints, having both set makes the serialised JSON approximately 8K larger.
B Tasker [Tue, 04 Jul 2017 09:23:27 +0000 ]
BUGFIX - Correcting population of elevation stats
B Tasker [Tue, 04 Jul 2017 09:09:43 +0000 ]
GPXIN-33 Move insantiation of Bounds object to private method
Avoiding duplication as we were otherwise creating duplicate objects in multiple places. Can't see that we'd need to add an attribute, but it's now easier to do if the need arises
B Tasker [Tue, 04 Jul 2017 08:55:05 +0000 ]
GPXIN-33 Populate route stats
Had to remove the tidying done in the previous commit, as PHP was linking to two properties (even when created with clone?) so if you updated routestats->bounds->lat with a value it'd also show in the main stats
Will take a different approach to tidying up creating the various bounds objects shortly
B Tasker [Tue, 04 Jul 2017 08:36:27 +0000 ]
GPXIN-33 Create route related general stats object.
We don't currently populate these statistics, just making them available ready to do so.
B Tasker [Tue, 04 Jul 2017 08:33:31 +0000 ]
Reduce line count when setting up journey stats object
B Tasker [Mon, 03 Jul 2017 09:13:15 +0000 ]
Initial fix for GPXIN-32 (Github #19) - Move track stats to new method and only fire if some tracks have been processed
This prevents the fatal error from occurring. There may be other edge cases that can still trigger errors though, so more testing is needed
B Tasker [Mon, 03 Jul 2017 08:17:39 +0000 ]
GPXIN-31 Ensure journey->related->routes is initialised correctly (from #19) to prevent WARNING level entries
Test case is fairly simple:
{noformat}
<?php
error_reporting(E_ALL);
ini_set('display_errors','On');
require 'src/GPXIngest/GPXIngest.php';
$gpx = new GPXIngest\GPXIngest;
$gpx->loadFile('gpx-ingest-pb.gpx');
{noformat}
Where gpx-ingest-pb is a GPX file that makes use of rte points (see #19 for an example)
Ben Tasker [Fri, 09 Sep 2016 14:34:07 +0000 ]
Merge pull request #18 from shamotj/master
Add total elevation gain to stats
Tomáš Jenej [Fri, 09 Sep 2016 14:21:46 +0000 ]
Added elevation gain to stats
Ben Tasker [Tue, 16 Aug 2016 13:32:44 +0000 ]
Merge pull request #16 from Sibyx/master
Namespacing fix
Ben Tasker [Tue, 16 Aug 2016 10:59:08 +0000 ]
Merge pull request #15 from Sibyx/master
Composer package
Jakub Dubec [Tue, 16 Aug 2016 10:59:06 +0000 ]
Namespacing fix
Jakub Dubec [Tue, 16 Aug 2016 08:55:40 +0000 ]
Composer package
Ben Tasker [Sat, 23 Apr 2016 09:42:31 +0000 ]
Merge pull request #14 from fbonzon/issue-6
Allow missing timestamps or same consecutive timestamps
François B [Tue, 12 Apr 2016 01:45:31 +0000 ]
Allow missing timestamps or same consecutive timestamps
Avoids division by zero errors.
B Tasker [Mon, 22 Feb 2016 19:30:13 +0000 ]
Removing a route related warning
B Tasker [Sun, 21 Feb 2016 20:10:52 +0000 ]
Prevented acceleration warnings when track contains single trackpoint. See GPXIN-28
B Tasker [Sun, 21 Feb 2016 06:33:51 +0000 ]
Handling invalid route ids
B Tasker [Sun, 21 Feb 2016 06:32:19 +0000 ]
Fixing typing error
B Tasker [Sun, 21 Feb 2016 06:25:32 +0000 ]
Added basic functions for retrieving routes. See GPXIN-27
B Tasker [Sun, 21 Feb 2016 00:26:00 +0000 ]
Added Route support into ingest method. See GPXIN-27
B Tasker [Sun, 21 Feb 2016 00:07:10 +0000 ]
Moved wptType logic into new method. See GPXIN-27
B Tasker [Sat, 20 Feb 2016 23:07:48 +0000 ]
Added functions for extraction of waypoint information
B Tasker [Sat, 20 Feb 2016 22:45:04 +0000 ]
Moved waypoints to being a property of journey. See GPXIN-24
B Tasker [Sat, 20 Feb 2016 22:37:38 +0000 ]
Implemented parsing of waypoints for GPXIN-24
B Tasker [Sat, 20 Feb 2016 20:32:20 +0000 ]
Added per track lat/lon bounds for GPXIN-26 (FR #7)
B Tasker [Sat, 20 Feb 2016 20:16:13 +0000 ]
Implemented Segment and overall lat/lon bounds for GPXIN-26
B Tasker [Sat, 13 Feb 2016 11:48:51 +0000 ]
Correcting missed variable name change. See GPXIN-25
B Tasker [Sat, 13 Feb 2016 11:02:37 +0000 ]
Renaming trackcounter variable to something more meaningful. See GPXIN-25
B Tasker [Sat, 13 Feb 2016 10:59:39 +0000 ]
Fixed track counter. See GPXIN-25 and #5
Ben Tasker [Tue, 26 Jan 2016 05:35:47 +0000 ]
Merge pull request #3 from fbonzon/patch-1
Lat and long are switched in distance formula
François B [Mon, 25 Jan 2016 17:31:54 +0000 ]
Lat and long are switched in distance formula
Ben Tasker [Mon, 10 Aug 2015 23:49:08 +0000 ]
Added utility function to list namespaces. See GPXIN-20
Ben Tasker [Mon, 10 Aug 2015 23:39:24 +0000 ]
Started implementing support for GPX Extensions. See GPXIN-20
Ben Tasker [Mon, 10 Aug 2015 23:28:46 +0000 ]
Whitespace correction
Ben Tasker [Mon, 10 Aug 2015 13:21:12 +0000 ]
Added missing variables to smarttrack related function call
Ben Tasker [Mon, 10 Aug 2015 13:14:29 +0000 ]
Updated metadata to reflect whether speed has been auto-calculated. See GPXIN-13
Ben Tasker [Mon, 10 Aug 2015 13:08:18 +0000 ]
Ensured calculated ptspeed is an integer. See GPXIN-13
Ben Tasker [Mon, 10 Aug 2015 12:50:56 +0000 ]
Class will calculate speed and timemoving from calculateddistance if enabled. Minor issues. See GPXIN-13
[Mon, 19 Jan 2015 21:36:48 +0000 ]
Fix for #2
Ben Tasker [Tue, 13 Jan 2015 20:00:17 +0000 ]
Eliminated another case of undefined object syndrome. See GPXIN-15
Ben Tasker [Tue, 13 Jan 2015 19:39:09 +0000 ]
Prevented Notice error when speed is suppressed
Ben Tasker [Tue, 13 Jan 2015 13:01:24 +0000 ]
Auto-suppressed speed if the GPX file doesn't appear to contain speeds. See GPXIN-16
Ben Tasker [Tue, 13 Jan 2015 12:56:23 +0000 ]
Pushed state of all experimental features into metadata to aid debugging issues. See GPXIN-18
Ben Tasker [Tue, 13 Jan 2015 12:50:47 +0000 ]
Pushed distance travelled to the stats objects. See GPXIN-6
Ben Tasker [Tue, 13 Jan 2015 11:29:24 +0000 ]
Added basic Distance calculations for GPXIN-6
Ben Tasker [Tue, 13 Jan 2015 10:47:23 +0000 ]
Updating header to reference bug tracker
Ben Tasker [Tue, 13 Jan 2015 10:46:07 +0000 ]
Added ability to mark functionality as experimental. See GPXIN-17
Ben Tasker [Tue, 13 Jan 2015 10:10:13 +0000 ]
Ensured objects are defined before properties assigned. See GPXIN-15
Ben Tasker [Tue, 11 Nov 2014 15:42:26 +0000 ]
Added project email address to README
Ben Tasker [Tue, 04 Nov 2014 00:35:35 +0000 ]
Updated README
B Tasker [Sun, 01 Dec 2013 18:20:51 +0000 ]
Prevented SmartTrack inifite loop. See GPXIN-12
B Tasker [Sun, 17 Nov 2013 19:55:30 +0000 ]
Add time accelerating/decelerating stats. See GPXIN-7
B Tasker [Sun, 17 Nov 2013 19:33:48 +0000 ]
Added time stationary/moving stats. See GPXIN-7
B Tasker [Sun, 17 Nov 2013 17:37:46 +0000 ]
Moved version to Metadata. See GPXIN-2
B Tasker [Sun, 17 Nov 2013 17:36:28 +0000 ]
Implemented elevation stats. See GPXIN-4
B Tasker [Sun, 17 Nov 2013 17:12:50 +0000 ]
Calculated change in elevation. See GPXIN-5
B Tasker [Sun, 17 Nov 2013 16:54:58 +0000 ]
Added Unit of Measurement to Stats objects. See GPXIN-3
B Tasker [Sun, 17 Nov 2013 16:27:14 +0000 ]
Added GPXIngest Version number to the Journey object. See GPXIN-2
B Tasker [Sun, 17 Nov 2013 16:19:20 +0000 ]
Implemented Accel/Decel stats. See GPXIN-1
B Tasker [Sun, 22 Sep 2013 14:02:49 +0000 ]
Added getTrackName()
B Tasker [Sat, 14 Sep 2013 23:04:15 +0000 ]
Implemented encapsulation
B Tasker [Sat, 14 Sep 2013 22:55:12 +0000 ]
Improved import error handling
B Tasker [Sat, 14 Sep 2013 21:21:28 +0000 ]
Updated README and version number
B Tasker [Sat, 14 Sep 2013 21:17:34 +0000 ]
Created gitignore
B Tasker [Sat, 14 Sep 2013 21:17:05 +0000 ]
Added metadata retrieval. See FR #1
B Tasker [Sat, 14 Sep 2013 21:15:41 +0000 ]
Added metadata retrieval. See FR #1
B Tasker [Sat, 14 Sep 2013 21:13:39 +0000 ]
Removed commented out code
B Tasker [Sat, 14 Sep 2013 21:12:16 +0000 ]
Implemented ability to suppress certain data before import
B Tasker [Sat, 14 Sep 2013 20:26:31 +0000 ]
Added metadata to JSON object to identify Smarttrack status
B Tasker [Sat, 14 Sep 2013 20:22:03 +0000 ]
Added SmartTrack. See FR #1
B Tasker [Sat, 14 Sep 2013 19:50:06 +0000 ]
Moved Stats generation to utility functions
B Tasker [Sat, 14 Sep 2013 00:58:23 +0000 ]
Updated README
B Tasker [Sat, 14 Sep 2013 00:50:08 +0000 ]
Added return status to loadFile/loadString
Ben Tasker [Tue, 10 Sep 2013 13:24:58 +0000 ]
Added speedint
Ben Tasker [Tue, 10 Sep 2013 13:22:19 +0000 ]
Added Segment stats - modal, min and max speeds
Ben Tasker [Mon, 09 Sep 2013 22:01:55 +0000 ]
Updated documentation
Ben Tasker [Sat, 07 Sep 2013 22:54:05 +0000 ]
Added V1.1 of class
Ben Tasker [Sat, 07 Sep 2013 22:51:44 +0000 ]
Added License file
Ben Tasker [Sat, 07 Sep 2013 22:48:46 +0000 ]
Initial commit