diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2005-10-14 13:15:08 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2005-10-14 13:15:08 +0000 |
| commit | 87f150f1d9e634f83cb8945abce2577a46bd7ed7 (patch) | |
| tree | 3c4515c76162aeaccc1ac0076a3addb45937c383 /html/man_geod.html | |
| parent | 716a79780f33e48e1088d243173b03090581d1b5 (diff) | |
| download | PROJ-87f150f1d9e634f83cb8945abce2577a46bd7ed7.tar.gz PROJ-87f150f1d9e634f83cb8945abce2577a46bd7ed7.zip | |
New
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1305 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'html/man_geod.html')
| -rw-r--r-- | html/man_geod.html | 307 |
1 files changed, 307 insertions, 0 deletions
diff --git a/html/man_geod.html b/html/man_geod.html new file mode 100644 index 00000000..e9622c5c --- /dev/null +++ b/html/man_geod.html @@ -0,0 +1,307 @@ +Content-type: text/html + +<HTML><HEAD><TITLE>Manpage of GEOD</TITLE> +</HEAD><BODY> +<H1>GEOD</H1> +Section: User Commands (1)<BR>Updated: 2000/03/21 Rel. 4.4<BR><A HREF="#index">Index</A> +<A HREF="../index.html">Return to Main Contents</A><HR> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +geod - direct geodesic computations +<BR> + +invgeod - inverse geodesic computations +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>geod</B> + +<B>+ellps=<ellipse></B> + +[ +<B>-afFIlptwW</B> + +[ +<I>args</I> + +] ] [ +<B>+args</B> + +] +file[s] +<BR> + +<B>invgeod</B> + +<B>+ellps=<ellipse></B> + +[ +<B>-afFIlptwW</B> + +[ +<I>args</I> + +] ] [ +<B>+args</B> + +] +file[s] +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<I>Geod</I> + +(direct) and +<I>invgeod</I> + +(inverse) +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). +<P> + +The following runline control parameters can appear in any order: +<DL COMPACT> +<DT><B>-I</B> + +<DD> +Specifies that the inverse geodesic computation is to be performed. +May be used with execution of +<B>goed</B> + +as an alternative to +<B>invgeod</B> + +execution. +<DT><B>-a</B> + +<DD> +Latitude and longitudes of the initial and terminal points, +forward and back azimuths and distance are output. +<DT><B>-t</B><I>a</I> + +<DD> +<I>A</I> + +specifies a character employed as the first character to denote +a control line to be passed through without processing. +<DT><B>-le</B> + +<DD> +Gives a listing of all the ellipsoids that may be selected with the +<B>+ellps=</B> + +option. +<DT><B>-lu</B> + +<DD> +Gives a listing of all the units that may be selected with the +<B>+units=</B> + +option. +<DT><B>-[f|F]</B><I> format</I> + +<DD> +<I>Format</I> + +is a +<I>printf</I> + +format string to control the output form of the geographic coordinate values +(<B>f</B>) or distance value (<B>F</B>). +The default mode is DMS for geographic coordinates and "%.3f" for distance. +<DT><B>-[w|W]</B><I>n</I> + +<DD> +<I>N</I> + +is the number of significant fractional digits to employ for +seconds output (when the option is not specified, +<B>-w3</B> + +is assumed). +When +<B>-W</B> + +is employed the fields will be constant width with leading zeroes. +<DT><B>-p</B> + +<DD> +This option causes the azimuthal values to be output as unsigned +DMS numbers between 0 and 360 degrees. Also note -f. +</DL> +<P> + +The +<B>+args</B> + +run-line arguments are associated with geodetic parameters +for specifying the ellipsoidal or sphere to use. +See +<B>proj</B> + +documentation for full list of these parameters and contrl. +The options are processed in left to right order +from the run line. +Reentry of an option is ignored with the first occurance assumed to +be the desired value. +<P> + +One or more +<I>files</I> + +(processed in left to right order) +specify the source of data to be transformed. +A - will specify the location of processing standard input. +If no files are specified, the input is assumed to be from +<I>stdin.</I> + +<P> + +For direct determinations input data must be in latitude, +longitude, azimuth and distance order and output will be +latitude, longitude and back azimuth of the terminus point. +Latitude, longitude of the initial and terminus point are +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. +<P> + +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 +<B>-f</B> + +switch is not employed) to 0.001" +with trailing, zero-valued minute-second fields deleted. +Output distance data will be in the same units as the ellipsoid or +sphere radius. +<P> + +The Earth's ellipsoidal figure may be selected in the same +manner as program +<B>proj</B> + +by using +<B>+ellps=, +a=, +es=,</B> + +etc. +<P> + +<I>Geod</I> + +may also be used to determine intermediate points along either +a geodesic line between two points or along an arc of specified distance +from a geographic point. +In both cases an initial point must be specified with +<B>+lat_1=</B><I>lat</I> + +and +<B>+lon_1=</B><I>lon</I> + +parameters and either a terminus point +<B>+lat_2=</B><I>lat</I> + +and +<B>+lon_2=</B><I>lon</I> + +or a distance and azimuth from the initial point with +<B>+S=</B><I>distance</I> + +and +<B>+A=</B><I>azimuth</I> + +must be specified. +<P> + +If points along a geodesic are to be determined then either +<B>+n_S=</B><I>integer</I> + +specifying the number of intermediate points and/or +<B>+del_S=</B><I>distance</I> + +specifying the incremental distance between points must be specified. +<P> + +To determine points along an arc equidistant from the initial point both +<B>+del_A=</B><I>angle</I> + +and +<B>+n_A=</B><I>integer</I> + +must be specified which determine the respective angular increments +and number of points to be determined. + +<A NAME="lbAE"> </A> +<H2>EXAMPLE</H2> + +The following script determines the geodesic azimuths and distance in +U.S. stature miles from Boston, MA, to Portland, OR: +<DL COMPACT><DT><DD> +<BR> <TT>geod +ellps=clrk66 <<EOF -I +units=us-mi +<BR> 42d15'N 71d07'W 45d31'N 123d41'W +<BR> EOF</TT> +</DL> + +which gives the results: +<DL COMPACT><DT><DD> +<BR> <TT>-66d31'50.141" 75d39'13.083" 2587.504 +</DL> + +where the first two values are the +azimuth from Boston to Portland, the back azimuth from Portland to +Boston followed by the distance. +<P> + +An example of forward geodesic use is to use the Boston location and determine +Portland's location by azimuth and distance: +<DL COMPACT><DT><DD> +<BR> geod +ellps=clrk66 <<EOF +units=us-mi +<BR> 42d15'N 71d07'W -66d31'50.141" 2587.504 +<BR> EOF</TT> +</DL> + +which gives: +<DL COMPACT><DT><DD> +<BR> <TT>45d31'0.003"N 123d40'59.985"W 75d39'13.094"</TT> +</DL> + +Note: lack of precision in the distance value compromises +the precision of the Portland location. +<A NAME="lbAF"> </A> +<H2>SEE ALSO</H2> + +Thomas, P.D., 1970, +<I>Spheroidal Geodesics, Reference Systems & Local Geometry:</I> + +U.S. Naval Oceanographic Office, S-138. +<A NAME="lbAG"> </A> +<H2>HOME PAGE</H2> + +<A HREF="http://www.remotesensing.org/proj">http://www.remotesensing.org/proj</A> +<P> + +<HR> +<A NAME="index"> </A><H2>Index</H2> +<DL> +<DT><A HREF="#lbAB">NAME</A><DD> +<DT><A HREF="#lbAC">SYNOPSIS</A><DD> +<DT><A HREF="#lbAD">DESCRIPTION</A><DD> +<DT><A HREF="#lbAE">EXAMPLE</A><DD> +<DT><A HREF="#lbAF">SEE ALSO</A><DD> +<DT><A HREF="#lbAG">HOME PAGE</A><DD> +</DL> +<HR> +This document was created by +<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +using the manual pages.<BR> +Time: 13:14:56 GMT, October 14, 2005 +</BODY> +</HTML> |
