/usr/share/doc/gmt/html/man/img2google.html is in gmt-doc 4.5.12-1.
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 | <!-- Creator : groff version 1.22.2 -->
<!-- CreationDate: Thu Feb 27 18:14:25 2014 -->
<!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; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</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>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">img2google
− Create Google Earth KML overlay tiles from
bathymetry Mercator img grid</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>img2google
−R</b><i>west</i>/<i>east</i>/<i>south</i>/<i>north</i>[<b>r</b>]
[ <i>imgfile</i> ] [
<b>−A</b><i>mode</i>[<i>altitude</i> ] ] [
<b>−C</b> ] [ <b>−F</b><i>fademin/fademax</i> ]
[ <b>−G</b><i>prefix</i> ] [
<b>−L</b><i>LODmin/LODmax</i> ] [
<b>−N</b><i>layername</i> ] [
<b>−T</b><i>doctitle</i> ] [ <b>−U</b><i>URL</i>
] [ <b>−V</b> ] [ <b>−Z</b> ]</p>
<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</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><b>−R</b></p></td>
<td width="8%"></td>
<td width="78%">
<p><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>−Rg</b> and <b>−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>−R</b> settings (and
grid spacing, if applicable) are copied from the grid.</p></td></tr>
</table>
<h2>OPTIONS
<a name="OPTIONS"></a>
</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><b>−A</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>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>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−C</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>Turn on clipping so that only portions below sea level
will be visible in the image [no clipping].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−F</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>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>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−G</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>Specify the prefix for the output image file (the
extensions are set automatically). Default uses the naming
topoN|S<i><north></i>E|W<<i>west</i>>.</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−L</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>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’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’s viewpoint to be drawn.
<i>LODmax</i> represents the maximum limit of the visibility
range for a given Region. A value of â1, the default,
indicates "active to infinite size." [always
active].</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−N</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>Append the layername of the image (use quotes if strings
contain spaces)
[topoN|S<i><north></i>E|W<<i>west</i>>].</p> </td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−T</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>Append the document title (use quotes if strings contain
spaces) ["Predicted bathymetry"].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−U</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>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>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−V</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>Selects verbose mode, which will send progress reports
to stderr [Default runs "silently"].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>−Z</b></p></td>
<td width="8%"></td>
<td width="78%">
<p>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></tr>
</table>
<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">To create a
10x10 degree Google Earth KML tile for the region
<b>−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
−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>−R</b> 170/180/20/30
<b>−AA</b>10000 <b>−C
−G</b><i>oldimage</i> <b>−N</b>"My KML
title" <b>−T</b>"My KML title"
<b>−U</b> http://my.server.com/images <b>−V
−Z</b></p>
<h2>DATA SETS
<a name="DATA SETS"></a>
</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>
<h2>SEE ALSO
<a name="SEE ALSO"></a>
</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>
|