ELL_RB2LL Name
ELL_RB2LL Purpose
From range and bearing on an ellipsoid compute a point.
Category
Calling Sequence
ell_rb2ll, lon1, lat1, dist, azi1, lon2, lat2, azi2
Inputs
lon1,lat1 = Starting point geodetic long and lat (deg). in
dist = Distance along surface of ellipsoid (m). in
azi1 = Geodetic azimuth from starting point. in
Inputs may be arrays.
Keyword Parameters
Outputs
lon2,lat2 = End point geodetic long and lat (deg). out
azi2 = Reverse geodetic azimuth from end to start (deg).out
Common Blocks
Notes
Notes: Use ellipsoid,set=name to set working ellipsoid.
Uses T. Vincenty's method. Converted to IDL from FORTRAN code
at ftp://www.ngs.noaa.gov/pub/pcsoft/for_inv.3d/source/forward.for
Reference: Direct and Inverse Solutions of Geodesics on the
Ellipsoid with Applications of Nested Equations.
T. Vincenty, Survey Review XXII, 176, April 1975. p 88-93.
The Vicenty formulae should be good over distances from
a few cm to nearly 20,000 km with millimeter accuracy.
ell_ll2rb is inverse.
rb2ll is spherical version.
Modification History
R. Sterner, 2001 Sep 04
R. Sterner, 2002 May 01 --- Generalized ellipsoid.
R. Sterner, 2010 May 04 --- Converted arrays from () to [].
R. Sterner, 2011 Apr 26 --- Cleaned up the code some.
Copyright (C) 2001, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.