This file is indexed.

/usr/share/doc/gmt/html/man/img2google.html is in gmt-doc 4.5.11-1build1.

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
309
310
311
312
313
314
315
316
317
318
319
<!-- Creator     : groff version 1.19.2 -->
<!-- CreationDate: Tue Nov  5 09:45:41 2013 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p     { margin-top: 0; margin-bottom: 0; }
       pre   { margin-top: 0; margin-bottom: 0; }
       table { margin-top: 0; margin-bottom: 0; }
</style>
<title>IMG2GOOGLE</title>

</head>
<body bgcolor="#ffffff">

<h1 align=center>IMG2GOOGLE</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#DATA SETS">DATA SETS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<a name="NAME"></a>
<h2>NAME</h2>


<p style="margin-left:11%; margin-top: 1em">img2google
&minus; Create Google Earth KML overlay tiles from
bathymetry Mercator img grid</p>

<a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>


<p style="margin-left:11%; margin-top: 1em"><b>img2google
&minus;R</b><i>west</i>/<i>east</i>/<i>south</i>/<i>north</i>[<b>r</b>]
[ <i>imgfile</i> ] [
<b>&minus;A</b><i>mode</i>[<i>altitude</i> ] ] [
<b>&minus;C</b> ] [ <b>&minus;F</b><i>fademin/fademax</i> ]
[ <b>&minus;G</b><i>prefix</i> ] [
<b>&minus;L</b><i>LODmin/LODmax</i> ] [
<b>&minus;N</b><i>layername</i> ] [
<b>&minus;T</b><i>doctitle</i> ] [ <b>&minus;U</b><i>URL</i>
] [ <b>&minus;V</b> ] [ <b>&minus;Z</b> ]</p>

<a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>



<p style="margin-left:11%; margin-top: 1em"><b>img2google</b>
reads a 1x1 minute Mercator surface relief img file and
creates a Google Earth overlay KML file and associated PNG
tile for the specified region. If no input file is given we
use topo.11.1.img.</p>

<table width="100%" border=0 rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;R</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top"><i>west, east,
south,</i> and <i>north</i> specify the Region of interest,
and you may specify them in decimal degrees or in
[+-]dd:mm[:ss.xxx][W|E|S|N] format. Append <b>r</b> if lower
left and upper right map coordinates are given instead of
w/e/s/n. The two shorthands <b>&minus;Rg</b> and
<b>&minus;Rd</b> stand for global domain (0/360 and
-180/+180 in longitude respectively, with -90/+90 in
latitude). Alternatively, specify the name of an existing
grid file and the <b>&minus;R</b> settings (and grid
spacing, if applicable) are copied from the grid.</p></td>
</table>

<a name="OPTIONS"></a>
<h2>OPTIONS</h2>



<p style="margin-left:11%; margin-top: 1em"><i>imgfile</i></p>

<p style="margin-left:22%;">An img format
bathymetry/topography file such as those created by Sandwell
and Smith. If this files does not exist in the current
directory and the user has set the environment variable
<b>$GMT_DATADIR</b>, then <b><A HREF="img2mercgrd.html">img2mercgrd</A></b> will try to
find <i>imgfile</i> in <b>$GMT_DATADIR</b>.</p>

<table width="100%" border=0 rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;A</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Selects one of 5
altitude modes recognized by Google Earth that determines
the altitude (in m) of the image: <b>G</b> clamped to the
ground, <b>g</b> append altitude relative to ground,
<b>a</b> append absolute altitude, <b>s</b> append altitude
relative to seafloor, and <b>S</b> clamp it to the seafloor
[Default].</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;C</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Turn on clipping so
that only portions below sea level will be visible in the
image [no clipping].</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;F</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Sets the distance
over which the geometry fades, from fully opaque to fully
transparent. These ramp values, expressed in screen pixels,
are applied at the minimum and maximum end of the LOD
(visibility) limits, respectively. [no fading (0/0)].</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;G</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Specify the prefix
for the output image file (the extensions are set
automatically). Default uses the naming
topoN|S<i>&lt;north&gt;</i>E|W&lt;<i>west</i>&gt;.</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;L</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Measurement in
screen pixels that represents the minimum limit of the
visibility range for a given Region Google Earth calculates
the size of the Region when projected onto screen space.
Then it computes the square root of the Region&rsquo;s area
(if, for example, the Region is square and the viewpoint is
directly above the Region, and the Region is not tilted,
this measurement is equal to the width of the projected
Region). If this measurement falls within the limits defined
by <i>LODmin</i> and <i>LODmax</i> (and if the region is in
view), the Region is active. If this limit is not reached,
the associated geometry is considered to be too far from the
user&rsquo;s viewpoint to be drawn. <i>LODmax</i> represents
the maximum limit of the visibility range for a given
Region. A value of &acirc;1, the default, indicates
&quot;active to infinite size.&quot; [always active].</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;N</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Append the
layername of the image (use quotes if strings contain
spaces)
[topoN|S<i>&lt;north&gt;</i>E|W&lt;<i>west</i>&gt;].</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;T</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Append the document
title (use quotes if strings contain spaces)
[&quot;Predicted bathymetry&quot;].</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;U</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">By default, images
are referenced locally relative to the KML file. Specify an
URL to prepend a server address to the image name reference
[local].</p> </td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;V</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Selects verbose
mode, which will send progress reports to stderr [Default
runs &quot;silently&quot;].</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">



<p style="margin-top: 1em" valign="top"><b>&minus;Z</b></p> </td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em" valign="top">Uses zip (which
must be installed) to create a *.kmz file for easy
distribution; append <b>+</b> to delete the KML and PNG file
after zipping [No zipping].</p></td>
</table>

<a name="EXAMPLES"></a>
<h2>EXAMPLES</h2>


<p style="margin-left:11%; margin-top: 1em">To create a
10x10 degree Google Earth KML tile for the region
<b>&minus;R</b> 170/180/20/30 using the default
<i>topo.11.1.img</i> and output naming convention, try</p>

<p style="margin-left:11%; margin-top: 1em"><b>img2google
&minus;R</b> 170/180/20/30</p>

<p style="margin-left:11%; margin-top: 1em">To make the
same tile with the previous <i>topo.10.1.img</i>, run in
verbose mode, clip so only oceanic areas are visible, name
the output oldimage, specify the KML metadata directly
(including setting the image altitude to 10 km), and make a
single *.kmz file, try</p>


<p style="margin-left:11%; margin-top: 1em"><b>img2google</b>
<i>topo.10.1.img</i> <b>&minus;R</b> 170/180/20/30
<b>&minus;AA</b>10000 <b>&minus;C
&minus;G</b><i>oldimage</i> <b>&minus;N</b>&quot;My KML
title&quot; <b>&minus;T</b>&quot;My KML title&quot;
<b>&minus;U</b> http://my.server.com/images <b>&minus;V
&minus;Z</b></p>

<a name="DATA SETS"></a>
<h2>DATA SETS</h2>


<p style="margin-left:11%; margin-top: 1em">For
topo.11.1.img and other Sandwell/Smith altimetry-derived
Mercator grids, visit http://topex.ucsd.edu.</p>

<a name="SEE ALSO"></a>
<h2>SEE ALSO</h2>


<p style="margin-left:11%; margin-top: 1em"><i><A HREF="GMT.html">GMT</A></i>(1),
<i><A HREF="img2grd.html">img2grd</A></i>(1) <i><A HREF="img2mercgrd.html">img2mercgrd</A></i>(1)
<i><A HREF="ps2raster.html">ps2raster</A></i>(1)</p>
<hr>
</body>
</html>