This file is indexed.

/usr/share/doc/geographiclib/html/GeoidEval.1.html is in geographiclib-tools 1.8-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
<title>GeoidEval -- look up geoid heights</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body style="background-color: white">


<!-- INDEX BEGIN -->
<div name="index">
<p><a name="__index__"></a></p>
<!--

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#options">OPTIONS</a></li>
	<li><a href="#geoids">GEOIDS</a></li>
	<li><a href="#interpolation">INTERPOLATION</a></li>
	<li><a href="#cache">CACHE</a></li>
	<li><a href="#environment">ENVIRONMENT</a></li>
	<li><a href="#errors">ERRORS</a></li>
	<li><a href="#abbreviations">ABBREVIATIONS</a></li>
	<li><a href="#examples">EXAMPLES</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#author">AUTHOR</a></li>
</ul>

-->


</div>
<!-- INDEX END -->

<p>
</p>
<hr />
<h1><a name="name">NAME</a></h1>
<p>GeoidEval -- look up geoid heights</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p><strong>GeoidEval</strong> [ <strong>-n</strong> <em>name</em> ] [ <strong>-d</strong> <em>dir</em> ] [ <strong>-l</strong> ]
[ <strong>-a</strong> | <strong>-c</strong> <em>south</em> <em>west</em> <em>north</em> <em>east</em> ]
[ <strong>-z</strong> <em>zone</em> ] [ <strong>--msltohae</strong> ] [ <strong>--haetomsl</strong> ]
[ <strong>-v</strong> ] [ <strong>--version</strong> | <strong>-h</strong> | <strong>--help</strong> ]</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p><strong>GeoidEval</strong> in positions on standard input and print out the corresponding
geoid heights on standard output.  In addition print the northerly and
easterly gradients of the geoid height (i.e., the rate at which the
geoid height changes per unit distance along the WGS84 ellipsoid in
the specified directions).</p>
<p>Positions are given as latitude and longitude, UTM/UPS, or MGRS, in
any of the formats accepted by <a href="GeoConvert.1.html"><code>GeoConvert(1)</code></a>.  (MGRS coordinates signify
the <em>center</em> of the corresponing MGRS square.)  If the <strong>-z</strong> option is
specified then the specified zone is prepended to each line of input
(which must be in UTM/UPS coordinates).  This allows a file with UTM
eastings and northings in a single zone to be used as standard input.</p>
<p>
</p>
<hr />
<h1><a name="options">OPTIONS</a></h1>
<dl>
<dt><strong><a name="n" class="item"><strong>-n</strong></a></strong></dt>

<dd>
<p>use geoid <em>name</em> instead of the default <code>egm96-5</code>.  See <a href="#geoids">GEOIDS</a>.</p>
</dd>
<dt><strong><a name="d" class="item"><strong>-d</strong></a></strong></dt>

<dd>
<p>read geoid data from <em>dir</em> instead of the default.  See <a href="#geoids">GEOIDS</a>.</p>
</dd>
<dt><strong><a name="l" class="item"><strong>-l</strong></a></strong></dt>

<dd>
<p>use bilinear interpolation instead of cubic.  See
<a href="#interpolation">INTERPOLATION</a>.</p>
</dd>
<dt><strong><a name="a" class="item"><strong>-a</strong></a></strong></dt>

<dd>
<p>cache the entire data set in memory.  See <a href="#cache">CACHE</a>.</p>
</dd>
<dt><strong><a name="c" class="item"><strong>-c</strong></a></strong></dt>

<dd>
<p>cache the data bounded by <em>south</em> <em>west</em> <em>north</em> <em>east</em> in memory.  See
<a href="#cache">CACHE</a>.</p>
</dd>
<dt><strong><a name="z" class="item"><strong>-z</strong></a></strong></dt>

<dd>
<p>prefix each line of input by <em>zone</em>, e.g., <code>38N</code>.  This should be used
when the input consists of UTM/UPS eastings and northings.</p>
</dd>
<dt><strong><a name="msltohae" class="item"><strong>--msltohae</strong></a></strong></dt>

<dd>
<p>standard input should include a final token on each line which is
treated as a height (in meters) above the geoid and the output echoes
the input line with the height converted to height above ellipsoid (HAE).</p>
</dd>
<dt><strong><a name="haetomsl" class="item"><strong>--haetomsl</strong></a></strong></dt>

<dd>
<p>standard input should include a final token on each line which is
treated as a height (in meters) above the ellipsoid and the output
echoes the input line with the height converted to height above geoid.</p>
</dd>
<dt><strong><a name="v" class="item"><strong>-v</strong></a></strong></dt>

<dd>
<p>print information about the geoid on standard error before processing
the input.</p>
</dd>
<dt><strong><a name="version" class="item"><strong>--version</strong></a></strong></dt>

<dd>
<p>print version.</p>
</dd>
<dt><strong><a name="h" class="item"><strong>-h</strong></a></strong></dt>

<dd>
<p>print usage.</p>
</dd>
<dt><strong><a name="help" class="item"><strong>--help</strong></a></strong></dt>

<dd>
<p>print full documentation.</p>
</dd>
</dl>
<p>
</p>
<hr />
<h1><a name="geoids">GEOIDS</a></h1>
<p><strong>GeoidEval</strong> computes geoid heights by interpolating on the data in a
regularly spaced table (see <a href="#interpolation">INTERPOLATION</a>).  The
following geoid tables are available (however, some may not be
installed):</p>
<pre>
                                  bilinear error    cubic error
   name         geoid    grid     max     rms       max     rms
   egm84-30     EGM84    30'      1.546m  70mm      0.274m  14mm
   egm84-15     EGM84    15'      0.413m  18mm      0.020m   1mm
   egm96-15     EGM96    15'      1.152m  40mm      0.169m   7mm
   egm96-5      EGM96     5'      0.140m   5mm      0.003m   1mm
   egm2008-5    EGM2008   5'      0.478m  12mm      0.294m   5mm
   egm2008-2_5  EGM2008   2.5'    0.135m   3mm      0.031m   1mm
   egm2008-1    EGM2008   1'      0.025m   1mm      0.003m   1mm</pre>
<p>By default, the <code>egm96-5</code> geoid is used.  This may changed by setting
the environment variable <a href="#geoid_name"><code>GEOID_NAME</code></a> or with the <strong>-n</strong> option.  The
errors listed here are estimates of the quantization and interpolation
errors in the reported heights compared to the specified geoid.</p>
<p>The geoid data will be loaded from a directory specified at compile
time.  This may changed by setting the environment variable
<a href="#geoid_path"><code>GEOID_PATH</code></a> or with the <strong>-d</strong> option.  Use the <strong>-v</strong> option to
ascertain the full path name of the data file.</p>
<p>Instructions for downloading and installing geoid data are available at
<a href="http://geographiclib.sf.net/html/geoid.html#geoidinst">http://geographiclib.sf.net/html/geoid.html#geoidinst</a>.</p>
<p><strong>NOTE</strong>: all the geoids above apply to the WGS84 ellipsoid (<em>a</em> =
6378137m, <em>f</em> = 1/298.257223563) only.</p>
<p>
</p>
<hr />
<h1><a name="interpolation">INTERPOLATION</a></h1>
<p>Cubic interpolation is used to compute the geoid height unless <strong>-l</strong> is
specified in which case bilinear interpolation is used.  The cubic
interpolation is based on a least-squares fit of a cubic polynomial to a
12-point stencil</p>
<pre>
   . 1 1 .
   1 2 2 1
   1 2 2 1
   . 1 1 .</pre>
<p>The cubic is constrained to be independent of longitude when evaluating
the height at one of the poles.  Cubic interpolation is considerably
more accurate than bilinear; however it results in small discontinuities
in the returned height on cell boundaries.  The gradients are computed
by differentiating the interpolated results.</p>
<p>
</p>
<hr />
<h1><a name="cache">CACHE</a></h1>
<p>By default, the data file is randomly read to compute the geoid heights
at the input positions.  Usually this is sufficient for interactive use.
If many heights are to be computed, use <strong>-c</strong> <em>south</em> <em>west</em> <em>north</em>
<em>east</em> to notify <strong>GeoidEval</strong> to read a rectangle of data into memory;
heights within the this rectangle can then be computed without any disk
access.  If <strong>-a</strong> is specified all the geoid data is read; in the case
of <code>egm2008-1</code>, this requires about 0.5 GB of RAM.  The evaluation of
heights outside the cached area causes the necessary data to be read
from disk.  Use the <strong>-v</strong> option to verify the size of the cache.</p>
<p>Regardless of whether any cache is requested (with the <strong>-a</strong> or <strong>-c</strong>
options), the data for the last grid cell in cached.  This allows
the geoid height along a continuous path to be returned with little
disk overhead.</p>
<p>
</p>
<hr />
<h1><a name="environment">ENVIRONMENT</a></h1>
<dl>
<dt><strong><a name="geoid_name" class="item"><strong>GEOID_NAME</strong></a></strong></dt>

<dd>
<p>Override the compile-time default geoid name of <code>egm96-5</code>.  If the
<strong>-n</strong> <em>name</em> option is used then <em>name</em> takes precedence.</p>
</dd>
<dt><strong><a name="geoid_path" class="item"><strong>GEOID_PATH</strong></a></strong></dt>

<dd>
<p>Override the compile-time default geoid path.  This is typically
<code>/usr/local/share/GeographicLib/geoids</code> on Unix or Linux systems and
<code>C:/cygwin/usr/local/share/GeographicLib/geoids</code> on Windows systems.
If the <strong>-d</strong> <em>dir</em> option is used then <em>dir</em> takes precedence.</p>
</dd>
</dl>
<p>
</p>
<hr />
<h1><a name="errors">ERRORS</a></h1>
<p>An illegal line of input will print an error message to standard output
beginning with <code>ERROR:</code> and causes <strong>GeoidEval</strong> to return an exit code
of 1.  However, an error does not cause <strong>GeoidEval</strong> to terminate;
following lines will be converted.</p>
<p>
</p>
<hr />
<h1><a name="abbreviations">ABBREVIATIONS</a></h1>
<p>The geoid is usually approximated by an &quot;earth gravity model&quot;. The
models published by the NGA are:</p>
<dl>
<dt><strong><a name="egm84" class="item"><strong>EGM84</strong></a></strong></dt>

<dd>
<p>An earth gravity model published by the NGA in 1984,
<a href="http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html">http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html</a>.</p>
</dd>
<dt><strong><a name="egm96" class="item"><strong>EGM96</strong></a></strong></dt>

<dd>
<p>An earth gravity model published by the NGA in 1996,
<a href="http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html</a>.</p>
</dd>
<dt><strong><a name="egm2008" class="item"><strong>EGM2008</strong></a></strong></dt>

<dd>
<p>An earth gravity model published by the NGA in 2008,
<a href="http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008</a>.</p>
</dd>
<dt><strong><a name="wgs84" class="item"><strong>WGS84</strong></a></strong></dt>

<dd>
<p>World Geodetic System 1984,
<a href="http://en.wikipedia.org/wiki/WGS84">http://en.wikipedia.org/wiki/WGS84</a>.</p>
</dd>
<dt><strong><a name="hae" class="item"><strong>HAE</strong></a></strong></dt>

<dd>
<p>Height above the WGS84 ellipsoid.</p>
</dd>
<dt><strong><a name="msl" class="item"><strong>MSL</strong></a></strong></dt>

<dd>
<p>Mean sea level, used as a convenient short hand for the geoid.
(However, typically, the geoid differs by a few meters from mean sea
level.)</p>
</dd>
</dl>
<p>
</p>
<hr />
<h1><a name="examples">EXAMPLES</a></h1>
<p>The height of the EGM96 geoid at Timbuktu</p>
<pre>
    echo &quot;16d46'33N&quot; &quot;3d00'34W&quot; | GeoidEval
    =&gt; 28.7068 -0.02e-6 -1.73e-6</pre>
<p>The first number returned is the height of the geoid and the 2nd and 3rd
are its slopes in the northerly and easterly directions.</p>
<p>Convert a point in UTM zone 18N from MSL to HAE</p>
<pre>
   echo 531595 4468135 23 | GeoidEval --msltohae -z 18N
   =&gt; 531595 4468135 -10.842</pre>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p><a href="GeoConvert.1.html"><code>GeoConvert(1)</code></a>.  <strong>GeoidEval</strong> is a part of GeographicLib,
<a href="http://geographiclib.sf.net">http://geographiclib.sf.net</a>.</p>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p><strong>GeoidEval</strong> was written by Charles Karney.</p>

</body>

</html>