Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minAltitude seems to be missing/null if any points do not have an elev tag #31

Closed
ramblerswebs opened this issue Apr 6, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ramblerswebs
Copy link

When I process the attached file the minAltitude seems to be missing or null in the stats object

  1. Library version 1.0-RC5
  2. PHP version 7.0
  3. Detailed problem description

After processing the attached file, where some of the track points do not have elevations defined, the minAltitude is then missing in the track->stats object.
The code should ignore points without elevations.

Venachar.gpx.txt

PS thanks for otherwise great code, very useful.

@Sibyx Sibyx self-assigned this May 17, 2020
@Sibyx Sibyx added the bug label May 17, 2020
@Sibyx Sibyx added this to the v1 release milestone May 17, 2020
@Sibyx Sibyx removed this from the v1 release milestone Feb 4, 2021
@Sibyx Sibyx added this to the 1.2 milestone Feb 17, 2021
@Sibyx
Copy link
Owner

Sibyx commented Feb 17, 2021

Unable to replicate issue on PHP 7.4 with phpGPX version 1.1.1 (probably already resolved with $IGNORE_ELEVATION_0)

@Sibyx Sibyx closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants