add altitude attribute to gps object