PHP Classes

File: src/phpGPX/Models/Track.php

Recommend this page to a friend!
  Classes of Jakub Dubec  >  PHP GPX Library  >  src/phpGPX/Models/Track.php  
File: src/phpGPX/Models/Track.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP GPX Library
Parser and generator of GPS Exchange files
Author: By
Last change: Bugfix for cumulative elevation gain

Fixed a bug with stats calculation. If the first point in the segment
had an elevation of null, that would cause the elevation gain to
increase from NULL (or zero) to the next point's elevation. Added a
check to see, whether there is elevation data in the point and only then
add it.
PHP 5.4 support
Date: 1 month ago
Size: 4,464 bytes

You need to be a registered user and login to get this file.

1,489,407 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: