function that gets the altitude from given GPS-coordinates