modified to add altitude according to latlong