cmr.opendap.geom.util
Equations taken from the following: * http://earth-info.nga.mil/GandG/publications/tr8350.2/wgs84fin.pdf
bbox->polypoints
(bbox->polypoints bbox)Assumes CCW ordering of points.
earth-area
Documentation forthcoming
earth-eccentricity
Documentation forthcoming
earth-eccentricity**2
Documentation forthcoming
earth-linear-eccentricity
Documentation forthcoming
earth-radius
Documentation forthcoming
earth-radius**2
Documentation forthcoming
earth-semi-major-axis
Documentation forthcoming
earth-semi-major-axis**2
Documentation forthcoming
earth-semi-minor-axis
Documentation forthcoming
earth-semi-minor-axis**2
Documentation forthcoming
ecef->lla
(ecef->lla x y z)Taken from: * https://www.mathworks.com/matlabcentral/fileexchange/7941-convert-cartesian--ecef--coordinates-to-lat--lon--alt
Currently no correction for instability in altitude near exact poles.
Inputs are in meters; outputs are degrees and meters.
ll->cartesian
(ll->cartesian lat lon)Inputs are in degrees; outputs are in meters.
lla->ecef
(lla->ecef lat lon alt)Taken from: * https://www.mathworks.com/matlabcentral/fileexchange/7942-covert-lat--lon--alt-to-ecef-cartesian
Inputs are in degrees and meters; outputs are in meters.
prime-vertical-curvature-radius
(prime-vertical-curvature-radius lat-radians)Documentation forthcoming