GPS is not very accurate for measuring altitude as it was never part of the original design purpose.
In real aviation GPS altitude use is not permitted as accuracy is assumed to be +/- 500ft.
For instance if I fly a gps approach using my Garmin, the glued slope turns off at approx 500ft AGL and...