Convert from geodetic coordinates (latitude, longitude, local height) to Azimuth, Elevation and Range (AER) coordinates.
Inputs:
Outputs:
Example:
lat = 42.002; lon = -81.998; alt = 1000; lat0 = 42; lon0 = -82; alt0 = 200; [e, n, u] = geodetic2aer (lat, lon, alt, lat0, lon0, alt0, "wgs84", "degrees") --> az = 36.719 el = 70.890 slantRange = 846.65
See also: aer2geodetic, geodetic2ecef, geodetic2enu, geodetic2ned, referenceEllipsoid.
Package: mapping