phpGPX icon indicating copy to clipboard operation
phpGPX copied to clipboard

Minimum altitude is not necessarily the first point

Open miqwit opened this issue 11 months ago • 3 comments

https://github.com/Sibyx/phpGPX/blob/ecde89a9268f78340fa9c016ff68115d3efa9a42/src/phpGPX/Models/Route.php#L102

In some sports or activities, including hiking, you could start from a higher point than the one you finish. Using the ElevationGainLossCalculator could return the lowest elevation in the points without considering the first one necessarily.

miqwit avatar Mar 08 '24 09:03 miqwit

Yeah, makes sense. Would you like to have it resolved in 1.x or 2.x?

Sibyx avatar Mar 08 '24 12:03 Sibyx

I have no idea, really.... both? :)

miqwit avatar Mar 08 '24 13:03 miqwit

@miqwit yeah, that would be a best case :D

Sibyx avatar Mar 10 '24 19:03 Sibyx