Where a trackfile does not have speed recorded, you should suppress speed prior to ingest with
suppress('speed') .
However, if this is not done, a number of warnings are generated
PHP Warning: max(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 709
PHP Warning: max(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 710
PHP Warning: min(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 711
PHP Warning: min(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 712
PHP Warning: Division by zero in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 714
PHP Warning: Division by zero in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 715
PHP Warning: max(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 437
PHP Warning: max(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 438
PHP Warning: min(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 439
PHP Warning: min(): Array must contain at least one element in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 440
PHP Warning: Division by zero in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 441
PHP Warning: Division by zero in /home/ben/tmp/PHP-GPX-Ingest/GPXIngest.class.php on line 442
It might there-fore be wise to update the class so that it can automatically suppress speed if it finds it's not unavailable - in a web-app, the admin may not have control over the GPX files being submitted, so may not want speed suppressed all the time.
Activity
2015-01-13 13:01:59
2015-01-13 13:02:11
2015-01-13 13:02:11
2015-01-13 13:02:15
2015-01-13 13:03:10
Webhook User-Agent
View Commit