~ubuntu-branches/ubuntu/wily/proj/wily

« back to all changes in this revision

Viewing changes to .pc/hyphen-used-as-minus-sign.patch/man/man1/geod.1

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-05-03 21:15:10 UTC
  • mfrom: (12.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20150503211510-35jung6npvio2e5k
Tags: 4.9.1-1
* Move from experimental to unstable.
* Use jquery.js from libjs-jquery instead of doxygen copy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" @(#)geod.1 - 1.1
2
 
.nr LL 5.5i
3
 
.ad b
4
 
.hy 1
5
 
.TH GEOD 1 "2000/03/21 Rel. 4.4" 
6
 
.SH NAME
7
 
geod \- direct geodesic computations
8
 
.br
9
 
invgeod \- inverse geodesic computations
10
 
.SH SYNOPSIS
11
 
.B geod
12
 
.B +ellps=<ellipse>
13
 
[
14
 
.B \-afFIlptwW
15
 
[
16
 
.I args
17
 
] ] [
18
 
.B +args
19
 
]
20
 
file[s]
21
 
.br
22
 
.B invgeod
23
 
.B +ellps=<ellipse>
24
 
[
25
 
.B \-afFIlptwW
26
 
[
27
 
.I args
28
 
] ] [
29
 
.B +args
30
 
]
31
 
file[s]
32
 
.SH DESCRIPTION
33
 
.I Geod
34
 
(direct) and
35
 
.I invgeod
36
 
(inverse)
37
 
perform geodesic (\*(lqGreat Circle\*(rq) computations for determining
38
 
latitude, longitude and back azimuth of a terminus point
39
 
given a initial point latitude, longitude, azimuth and distance (direct) or
40
 
the forward and back azimuths and distance between an initial and
41
 
terminus point latitudes and longitudes (inverse).
42
 
.PP
43
 
The following runline control parameters can appear in any order:
44
 
.TP
45
 
.B \-I
46
 
Specifies that the inverse geodesic computation is to be performed.
47
 
May be used with execution of
48
 
.B goed
49
 
as an alternative to
50
 
.B invgeod
51
 
execution.
52
 
.TP
53
 
.B \-a
54
 
Latitude and longitudes of the initial and terminal points,
55
 
forward and back azimuths and distance are output.
56
 
.TP
57
 
.BI \-t "a"
58
 
.I A
59
 
specifies a character employed as the first character to denote
60
 
a control line to be passed through without processing.
61
 
.TP
62
 
.BI \-le
63
 
Gives a listing of all the ellipsoids that may be selected with the
64
 
.B +ellps=
65
 
option.
66
 
.TP
67
 
.BI \-lu
68
 
Gives a listing of all the units that may be selected with the
69
 
.B +units=
70
 
option.
71
 
.TP
72
 
.BI \-[f|F] " format"
73
 
.I Format
74
 
is a
75
 
.I printf
76
 
format string to control the output form of the geographic coordinate values
77
 
(\fBf\fR) or distance value (\fBF\fR).
78
 
The default mode is DMS for geographic coordinates and "%.3f" for distance.
79
 
.TP
80
 
.BI \-[w|W] n
81
 
.I N
82
 
is the number of significant fractional digits to employ for
83
 
seconds output (when the option is not specified,
84
 
.B \-w3
85
 
is assumed).
86
 
When
87
 
.B \-W
88
 
is employed the fields will be constant width with leading zeroes.
89
 
.TP
90
 
.B \-p
91
 
This option causes the azimuthal values to be output as unsigned
92
 
DMS numbers between 0 and 360 degrees.  Also note -f.
93
 
.PP
94
 
The
95
 
.B +args
96
 
run-line arguments are associated with geodetic parameters
97
 
for specifying the ellipsoidal or sphere to use.
98
 
See
99
 
.B proj
100
 
documentation for full list of these parameters and controls.
101
 
The options are processed in left to right order
102
 
from the run line.
103
 
Reentry of an option is ignored with the first occurrence assumed to
104
 
be the desired value.
105
 
.PP
106
 
One or more
107
 
.I files
108
 
(processed in left to right order)
109
 
specify the source of data to be transformed.
110
 
A \- will specify the location of processing standard input.
111
 
If no files are specified, the input is assumed to be from
112
 
.I stdin.
113
 
.PP
114
 
For direct determinations input data must be in latitude,
115
 
longitude, azimuth and distance order and output will be
116
 
latitude, longitude and back azimuth of the terminus point.
117
 
Latitude, longitude of the initial and terminus point are
118
 
input for the inverse mode and respective forward and back
119
 
azimuth from the initial and terminus points are output along
120
 
with the distance between the points.
121
 
.PP
122
 
Input geographic coordinates
123
 
(latitude and longitude) and azimuthal data must be in DMS format and input
124
 
distance data must be in units consistent with the ellipsoid
125
 
major axis or sphere radius units.
126
 
Output geographic coordinates will be in DMS
127
 
(if the
128
 
.B \-f
129
 
switch is not employed) to 0.001"
130
 
with trailing, zero-valued minute-second fields deleted.
131
 
Output distance data will be in the same units as the ellipsoid or
132
 
sphere radius.
133
 
.PP
134
 
The Earth's ellipsoidal figure may be selected in the same
135
 
manner as program
136
 
.B proj
137
 
by using
138
 
.B "+ellps=, +a=, +es=,"
139
 
etc.
140
 
.PP
141
 
.I Geod
142
 
may also be used to determine intermediate points along either
143
 
a geodesic line between two points or along an arc of specified distance
144
 
from a geographic point.
145
 
In both cases an initial point must be specified with
146
 
.BI +lat_1= lat
147
 
and
148
 
.BI +lon_1= lon
149
 
parameters and either a terminus point
150
 
.BI +lat_2= lat
151
 
and
152
 
.BI +lon_2= lon
153
 
or a distance and azimuth from the initial point with
154
 
.BI +S= distance
155
 
and
156
 
.BI +A= azimuth
157
 
must be specified.
158
 
.PP
159
 
If points along a geodesic are to be determined then either
160
 
.BI +n_S= integer
161
 
specifying the number of intermediate points and/or
162
 
.BI +del_S= distance
163
 
specifying the incremental distance between points must be specified.
164
 
.PP
165
 
To determine points along an arc equidistant from the initial point both
166
 
.BI +del_A= angle
167
 
and
168
 
.BI +n_A= integer
169
 
must be specified which determine the respective angular increments
170
 
and number of points to be determined.
171
 
.RE
172
 
.SH EXAMPLE
173
 
The following script determines the geodesic azimuths and distance in
174
 
U.S. stature miles from Boston, MA, to Portland, OR:
175
 
.RS 5
176
 
 \f(CWgeod +ellps=clrk66 <<EOF -I +units=us-mi
177
 
 42d15'N 71d07'W 45d31'N 123d41'W
178
 
 EOF\fR
179
 
.RE
180
 
which gives the results:
181
 
.RS 5
182
 
 \f(CW-66d31'50.141"   75d39'13.083"   2587.504
183
 
.RE
184
 
where the first two values are the
185
 
azimuth from Boston to Portland, the back azimuth from Portland to
186
 
Boston followed by the distance.
187
 
.PP
188
 
An example of forward geodesic use is to use the Boston location and determine
189
 
Portland's location by azimuth and distance:
190
 
.RS 5
191
 
 \f(CWgeod +ellps=clrk66 <<EOF +units=us-mi
192
 
 42d15'N 71d07'W -66d31'50.141" 2587.504
193
 
 EOF\fR
194
 
.RE
195
 
which gives:
196
 
.RS 5
197
 
 \f(CW45d31'0.003"N   123d40'59.985"W 75d39'13.094"\fR
198
 
.RE
199
 
Note: lack of precision in the distance value compromises
200
 
the precision of the Portland location.
201
 
.SH SEE ALSO
202
 
Thomas, P.D., 1970,
203
 
.I "Spheroidal Geodesics, Reference Systems & Local Geometry:"
204
 
U.S. Naval Oceanographic  Office, S-138.
205
 
.SH HOME PAGE
206
 
http://www.remotesensing.org/proj