diff options
| author | Charles Karney <charles@karney.com> | 2015-08-16 15:05:36 -0400 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2015-08-16 15:05:36 -0400 |
| commit | 8066dcd0e9ce33222b167dbb2a8ddab79465d299 (patch) | |
| tree | 617a14fc6f9e8301a75b8cb805d50b50c7948146 /man/man1 | |
| parent | 6c16367e152747133bba7a8fbcdbabef1232cd93 (diff) | |
| download | PROJ-8066dcd0e9ce33222b167dbb2a8ddab79465d299.tar.gz PROJ-8066dcd0e9ce33222b167dbb2a8ddab79465d299.zip | |
Drop in the latest geodesic library from GeographicLib (version 1.44).
http://geographiclib.sourceforge.net/1.44/C/index.html
The changes are:
- Improve accuracy of calculations by evaluating trigonometric
functions more carefully and replacing the series for the reduced
length with one with a smaller truncation error.
- The allowed ranges for longitudes and azimuths is now unlimited; it
used to be [-540d, 540d).
- Enforce the restriction of latitude to [-90d, 90d] by returning NaNs
if the latitude is outside this range.
- The inverse calculation sets s12 to zero for coincident points at
pole (instead of returning a tiny quantity).
This commit also includes a work-around for an inaccurate value for
pi/180 in dmstor.c (see the definitions of DEG_IN and DEG_OUT in
geod_interface.c).
Diffstat (limited to 'man/man1')
| -rw-r--r-- | man/man1/geod.1 | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/man/man1/geod.1 b/man/man1/geod.1 index 81a12e14..157996e6 100644 --- a/man/man1/geod.1 +++ b/man/man1/geod.1 @@ -30,16 +30,22 @@ file[s] ] file[s] .SH DESCRIPTION -.I Geod +.I geod (direct) and .I invgeod (inverse) -perform geodesic (\*(lqGreat Circle\*(rq) computations for determining +perform geodesic ("Great Circle") computations for determining latitude, longitude and back azimuth of a terminus point given a initial point latitude, longitude, azimuth and distance (direct) or the forward and back azimuths and distance between an initial and terminus point latitudes and longitudes (inverse). The results are accurate to round off for |\fIf\fR| < 1/50, where \fIf\fR is flattening. +.B invgeod +may not be available on all platforms; in this case call +.B geod +with the +.B \-I +option. .PP The following command-line options can appear in any order: .TP @@ -120,12 +126,11 @@ input for the inverse mode and respective forward and back azimuth from the initial and terminus points are output along with the distance between the points. .PP -Input geographic coordinates -(latitude and longitude) and azimuthal data must be in DMS format and input -distance data must be in units consistent with the ellipsoid -major axis or sphere radius units. -Output geographic coordinates will be in DMS -(if the +Input geographic coordinates (latitude and longitude) and azimuthal data +must be in decimal degrees or DMS format and input distance data must be +in units consistent with the ellipsoid major axis or sphere radius +units. The latitude must lie in the range [-90d,90d]. Output +geographic coordinates will be in DMS (if the .B \-f switch is not employed) to 0.001" with trailing, zero-valued minute-second fields deleted. @@ -220,4 +225,4 @@ The \fIonline geodesic bibliography\fR, .br http://geographiclib.sf.net/geodesic-papers/biblio.html .SH HOME PAGE -http://proj.osgeo.org +https://github.com/OSGeo/proj.4/wiki |
