Read the altitude of the GPS.
GPS.altitude()
None.
GPS altitude in meters.
// Check if there is new GPS data available
if (GPS.available()) {
// Read GPS data
float altitude = GPS.altitude();
// ...
// Print GPS data
Serial.print("Altitude: ");
Serial.print(altitude);
Serial.println("m");
}