This file is indexed.

/usr/share/doc/foxtrotgps/foxtrotgps.html is in foxtrotgps 1.2.1-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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for FoxtrotGPS (version 1.2.1, 8 April 2018).


cc-by-sa_small
This document is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. -->
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FoxtrotGPS 1.2.1</title>

<meta name="description" content="FoxtrotGPS 1.2.1">
<meta name="keywords" content="FoxtrotGPS 1.2.1">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="#Top" rel="start" title="Top">
<link href="#SEC_Contents" rel="contents" title="Table of Contents">
<link href="dir.html#Top" rel="up" title="(dir)">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<h1 class="settitle" align="center">FoxtrotGPS 1.2.1</h1>



<a name="SEC_Contents"></a>
<h2 class="contents-heading">Table of Contents</h2>

<div class="contents">

<ul class="no-bullet">
  <li><a name="toc-Overview-1" href="#Overview">1 Overview</a>
  <ul class="no-bullet">
    <li><a name="toc-Connect-a-GPS-1" href="#Connect-a-GPS">1.1 Connect a GPS</a></li>
    <li><a name="toc-Keyboard-Shortcuts-1" href="#Keyboard-Shortcuts">1.2 Keyboard Shortcuts</a></li>
    <li><a name="toc-Geotagging-Photos-1" href="#Geotagging-Photos">1.3 Geotagging Photos</a></li>
    <li><a name="toc-POI-Icons-1" href="#POI-Icons">1.4 POI Icons</a></li>
    <li><a name="toc-Command_002dline-options-1" href="#Command_002dline-options">1.5 Command-line options</a></li>
  </ul></li>
  <li><a name="toc-HowTo-1" href="#HowTo">2 HowTo</a>
  <ul class="no-bullet">
    <li><a name="toc-Pre-Load-or-Refresh-the-Cached-Maps" href="#Cached-Maps">2.1 Pre Load or Refresh the Cached Maps</a></li>
    <li><a name="toc-Log-Tracks-for-OpenStreetMap" href="#Logging-Tracks">2.2 Log Tracks for OpenStreetMap</a></li>
    <li><a name="toc-Routing-1" href="#Routing">2.3 Routing</a>
    <ul class="no-bullet">
      <li><a name="toc-Route-Finding-1" href="#Route-Finding">2.3.1 Route Finding</a></li>
      <li><a name="toc-Route-Planning-1" href="#Route-Planning">2.3.2 Route Planning</a></li>
    </ul></li>
  </ul></li>
  <li><a name="toc-Bugs-1" href="#Bugs">Appendix A Bugs</a></li>
  <li><a name="toc-More-Info-1" href="#More-Info">Appendix B More Info</a></li>
</ul>
</div>


<a name="Top"></a>
<a name="FoxtrotGPS"></a>
<h1 class="top">FoxtrotGPS</h1>

<p>This manual is for FoxtrotGPS (version 1.2.1, 8 April 2018).
</p>

<img src="cc-by-sa_small.png" alt="cc-by-sa_small">
<p>This document is licensed under a <a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
</p>


<hr>
<a name="Overview"></a>
<a name="Overview-1"></a>
<h2 class="chapter">1 Overview</h2>
<p>FoxtrotGPS is a GTK+ based mapping and GPS application. It&rsquo;s typically
used to show a moving map showing your position in real time. It&rsquo;s
useful as a navigation tool, and as a track logging (e.g. for OpenStreetMap)
and trip planning tool.
</p>
<p>By default, FoxtrotGPS uses maps from OpenStreetMap, but may use a
range of other maps, some in experimental mode.
</p>
<div align="center"><img src="screenshots/main-window.png" alt="screenshots/main-window">
</div>
<p>Clicking anywhere on the map pops up a menu of common operations,
allowing such things as:
</p>
<ul>
<li> identifying the exact coordinates of that spot
</li><li> distances to another spot
</li><li> setting way points
</li><li> downloading map data in bulk
</li></ul>

<p>Click and drag the map to pan. As you do so, FoxtrotGPS will download
the necessary map data and display it. That map data is cached
(usually in <samp>~/Maps</samp>) and reused when required.
</p>
<p>There are also a number of keyboard shortcuts defined
(see <a href="#Keyboard-Shortcuts">Keyboard Shortcuts</a>).
</p>
<p>FoxtrotGPS also has some features that require other software to be
installed (see <a href="#Geotagging-Photos">Geotagging Photos</a>) and other features that
can be enhanced by other software (see <a href="#POI-Icons">POI Icons</a>).
</p>


<hr>
<a name="Connect-a-GPS"></a>
<a name="Connect-a-GPS-1"></a>
<h3 class="section">1.1 Connect a GPS</h3>
<p>Many devices already have a GPS built in but if yours does not or you
want to have it in a better position to &lsquo;see the sky&rsquo; then an external
GPS is required. FoxtrotGPS uses <a href="http://catb.org/gpsd/">gpsd</a> to
handle the variety of GPS hardware available, it&rsquo;s well documented and
readily available wherever FoxtrotGPS is likely to be used. Actual
GPS hardware options include:
</p>
<dl compact="compact">
<dt><b>Handheld GPS</b></dt>
<dd><p>Typically used in bush walking, hiking etc. Connected via a serial or
USB cable, many newer laptops don&rsquo;t have serial ports anymore so a
USB-to-serial adapter may be needed. If you already have a hand-held, this
is a reasonable solution; you will need it on the car&rsquo;s dash, and might
need to stop it sliding around. Reception might not be great
especially in difficult conditions but you will probably be OK most of
the time.
</p>
</dd>
<dt><b>GPS Mice</b></dt>
<dd><p>All mice have a pretty good sense of direction but some carefully bred
mice can be trained to convert that knowledge into the NMEA sentences
that GPSD expects.
</p>
<p>A <a href="https://en.wikipedia.org/wiki/GPS_navigation_device#GPS_modules">GPS Mouse</a> might be a better solution in many cases. Reasonably cheap,
powered from the laptop they have the advantage of being suitable to
sit on the roof of your car making for better reception.
</p>
</dd>
</dl>

<hr>
<a name="Keyboard-Shortcuts"></a>
<a name="Keyboard-Shortcuts-1"></a>
<h3 class="section">1.2 Keyboard Shortcuts</h3>
<p>There are a number of keyboard shortcuts for common operations:
</p>
<dl compact="compact">
<dt><tt class="key">Left</tt>, <tt class="key">Right</tt>, <tt class="key">Up</tt>, <tt class="key">Down</tt></dt>
<dd><p>pan West, East, North, or South respectively
</p>
</dd>
<dt><kbd>I</kbd>, <kbd>O</kbd></dt>
<dd><p>zoom in, out
</p>
</dd>
<dt><kbd>A</kbd></dt>
<dd><p>toggle autocenter (follows GPS fix)
</p>
</dd>
<dt><kbd>1</kbd>-<kbd>8</kbd></dt>
<dd><p>select which map to use
</p>
</dd>
<dt><kbd>M</kbd></dt>
<dd><p>show/hide the info/control panel
</p>
</dd>
<dt><kbd>Ctrl+T</kbd></dt>
<dd><p>load track
</p>
</dd>
<dt><kbd>R</kbd></dt>
<dd><p>get route
</p>
</dd>
<dt><kbd>Ctrl+P</kbd></dt>
<dd><p>geocode photos (see <a href="#Geotagging-Photos">Geotagging Photos</a>)
</p>
</dd>
<dt><tt class="key">F11</tt></dt>
<dd><p>toggle fullscreen
</p></dd>
</dl>

<hr>
<a name="Geotagging-Photos"></a>
<a name="Geotagging-Photos-1"></a>
<h3 class="section">1.3 Geotagging Photos</h3>
<p>FoxtrotGPS can be used to geotag photographs that were taken while
logging a GPS track, and can show icons on the map indicating
where the photographs were taken; this is done by correlating
timestamps in JPEG EXIF data with timestamps in the GPS track,
and the following additional packages must also be installed
for use at run-time in order to make use of this feature:
</p>
<ul>
<li> <a href="https://github.com/freefoote/gpscorrelate">gpscorrelate</a>
</li><li> <a href="http://www.sentex.net/~mwandel/jhead/">jhead</a>
</li></ul>

<hr>
<a name="POI-Icons"></a>
<a name="POI-Icons-1"></a>
<h3 class="section">1.4 POI Icons</h3>
<p>FoxtrotGPS can load distinct icons for different POIs from the directory
<samp>~/.foxtrotgps/poi-icons/</samp>; and, if you have the &lsquo;<code>mkvisualid</code>&rsquo; command
from libvisualid installed, FoxtrotGPS can even generate distinctive icons
automatically. For more on libvisualid, see
<a href="https://disambiguate.me/libvisualid/">its website</a>.
</p>
<hr>
<a name="Command_002dline-options"></a>
<a name="Command_002dline-options-1"></a>
<h3 class="section">1.5 Command-line options</h3>

<dl compact="compact">
<dt><code>--fullscreen</code></dt>
<dd><p>Start in fullscreen mode
</p>
</dd>
<dt><code>--version</code></dt>
<dd><p>Print the program version and exit
</p></dd>
</dl>

<hr>
<a name="HowTo"></a>
<a name="HowTo-1"></a>
<h2 class="chapter">2 HowTo</h2>

<hr>
<a name="Cached-Maps"></a>
<a name="Pre-Load-or-Refresh-the-Cached-Maps"></a>
<h3 class="section">2.1 Pre Load or Refresh the Cached Maps</h3>

<p>FoxtrotGPS is quite smart when downloading maps. As you browse to an
area or change zoom level if the appropriate map tiles are in the
cache, they will be used. If not, FoxtrotGPS will attempt to download
them, if it fails (because, for example, you are off line), it does so
silently and tries to scale what ever tiles it does have. This
sometimes means you&rsquo;ll have blurry maps.
</p>
<p>The solution is to download what you need before you go off line, just
browsing is one way but that gets you only the current zoom
level. Right clicking and selecting &ldquo;Map Download&rdquo; is often more
useful.
</p>
<div align="center"><img src="screenshots/map-download.png" alt="screenshots/map-download">
</div>
<p>It&rsquo;s important to note that the download applies to the zoom level
immediately below the one you are currently on, so go up a level
before starting. It&rsquo;s sometimes useful to bring the window borders in a
little to restrict the total download (and save some time and
bandwidth), you don&rsquo;t have to download in full screen mode! Watch the
little progress message to the bottom left: when it drops back to just speed
and similar information, the download is done.
</p>
<hr>
<a name="Logging-Tracks"></a>
<a name="Log-Tracks-for-OpenStreetMap"></a>
<h3 class="section">2.2 Log Tracks for OpenStreetMap</h3>
<p>For most people, the most useful maps in FoxtrotGPS are from Open
Street Map (OSM). This is an open project to map the whole world and
most of its content is contributed by people recording information and
then contributing it to OSM. If you are using FoxtrotGPS in any sort
of mobile mode, you are probably ready to do your bit for this
worthwhile project. Please consider!
</p>
<p>OSM needs all sorts of data added, we will look here at perhaps the
mainstream activity, recording a road and adding it to OSM&rsquo;s
database. This process has a couple of clear steps:
</p>
<ol>
<li> Record the track.
</li><li> Download the area from OSM
</li><li> Label the recorded track and add it to the downloaded area.
</li><li> Upload the &lsquo;changeset&rsquo; to OSM.
</li></ol>

<div align="center"><img src="screenshots/tracking.png" alt="screenshots/tracking">
</div>
<p>The first step, recording, is where FoxtrotGPS comes in. Releases of
FoxtrotGPS after 1.1.1 have a useful icon on the main screen (left
side) to start track logging; with older versions it&rsquo;s necessary to click
the top left &ldquo;Show Info&rdquo; icon to display the Control Panel, and possibly
scroll it left or right until you see the &ldquo;Enable Track Logging&rdquo; tick
box. In either case, start recording at the start of the road, stop at
the end. Remember your GPS will be several metres out so accuracy
greater than that is not essential.
</p>
<p>FoxtrotGPS saves its logs in GPX format (with an extension introduced
by Garmin for some auxiliary data). These logs can be converted
to OSM and other formats using the widely-available
<a href="https://www.gpsbabel.org/">gpsbabel utility</a>.<a name="DOCF1" href="#FOOT1"><sup>1</sup></a>
</p>
<p>After converting logs to OSM format, they will be importable into
tools like <a href="https://josm.openstreetmap.de/">JOSM</a>.
But before you convert, make things a bit easier for yourself and
rename the road. Perhaps keep the date and use the road name and condition,
e.g.: <samp>20121107_Jones_Street_track_gr3.gpx</samp>.
</p>
<p>The remaining stages are probably best documented on
<a href="https://www.openstreetmap.org/">the OSM website</a>, but do remember to
mark your roads as &ldquo;source=survey&rdquo;, the best source of OSM data.
</p>
<hr>
<a name="Routing"></a>
<a name="Routing-1"></a>
<h3 class="section">2.3 Routing</h3>
<p>FoxtrotGPS allows you to plan a route in a few different ways. First,
there is route finding, which finds a route from point A to point
B. This is done by using an online web service, which knows how to get
from A to B. Second, there is route planning, which allows you to plan
a route through a number of points. This route is then transferred to a
separate navigation system (e.g. in a car) to guide you through the
points.
</p>

<hr>
<a name="Route-Finding"></a>
<a name="Route-Finding-1"></a>
<h4 class="subsection">2.3.1 Route Finding</h4>
<p>Route finding extends FoxtrotGPS to be a simple navigation system. It
takes two points and computes a route between the points.
Here you see an example of such a route:
</p>
<div align="center"><img src="screenshots/found-route.png" alt="screenshots/found-route">
</div>
<p>To use that feature, you have to click anywhere on the map and select
the menu entry &ldquo;route finding &rarr; get route&rdquo;. It
will open a small dialog allowing you to
select both points:
</p>
<div align="center"><img src="screenshots/get-route.png" alt="screenshots/get-route">
</div>
<p>Click on the &ldquo;Pick&rdquo; button right beside the text entries to select a
point on the map. Alternatively you can enter the GPS coordinates into
the text entries.
</p>
<p>After clicking on &ldquo;OK&rdquo; you will see the resulting route on the map.
</p>
<blockquote>
<p><b>Note:</b> You need an internet connection to access the web service, which
computes the route.
</p></blockquote>

<p>Currently there is no turn by turn navigation telling you to go left or right, if you are approaching a crossing. You have to use a GPS device to show your location on the map and look at your current position to know where to go next.
</p>
<hr>
<a name="Route-Planning"></a>
<a name="Route-Planning-1"></a>
<h4 class="subsection">2.3.2 Route Planning</h4>

<p>Route planning is different to route finding because you will use
FoxtrotGPS to plan a route and transfer that route to another system
for navigation. This could be a navigation system installed in a car
or on a motor bike. You do not need an internet connection for this
kind of planning.
</p>
<blockquote>
<p><b>Note:</b> If you download the appropriate tiles before your journey, then you
are able to plan or change your route on the trip without any internet
connection.
</p></blockquote>

<p>You use FoxtrotGPS to set a number of routepoints on the map. Together
they form the route to travel, but without the exact route to
follow. If you like to make a trip from point &ldquo;A&rdquo; over &ldquo;B&rdquo; and &ldquo;C&rdquo; to
&ldquo;D&rdquo;, then set these 4 routepoints.
Here is an example:
</p>
<div align="center"><img src="screenshots/route-planning.png" alt="screenshots/route-planning">
</div>
<p>Afterwards transfer these routepoints to your navigation system and ask
it to compute a route through all these routepoints. Then you get turn
by turn navigation from the navigation system, but you use FoxtrotGPS
for easy and comfortable planning.
</p>
<p>Routepoints can be saved in GPX or TomTom file format<a name="DOCF2" href="#FOOT2"><sup>2</sup></a> for use by a navigation system. Here is the above example as
TomTom (ITN) file format:
</p>
<div class="example">
<pre class="example">915240|4872867|WP1|0
915438|4872786|WP2|0
914980|4872469|WP3|0
915309|4872313|WP4|0
915693|4872355|WP5|0
</pre></div>

<p>To plan a route click on the map for the first routepoint and select
&ldquo;route-planning &rarr; add routepoint&rdquo;. Then click on
the next routepoint and select &ldquo;route-planning &rarr;
add routepoint&rdquo; again. Repeat this for as many routepoints as you like.
</p>
<p>At any time you can drag an existing routepoint to another location by
clicking on it and holding the button down. Move it to another place
and release the mouse button.
</p>
<p>Clicking on an existing routepoint offers a menu to delete that routepoint
or insert another routepoint before it.
</p>
<p>The route can be saved by clicking anywhere on the map and selecting
&ldquo;route-planning &rarr; save route&rdquo;.
</p>
<blockquote>
<ul>
<li> Do not set your routepoints on crossings. Instead, set them on the road
between crossings. Why? If the GPS position of the crossing is not
very accurate, then your routepoint is beside the real crossing. This
will force your navigation system to make a turn to reach your
routepoint and then ask you to turn around.

</li><li> Humans normally choose cities as routepoints. E.g. travelling from Rome
to Berlin normally goes over Munich. If you set a routepoint to the
middle of Munich, then you force your route to go through the center
of Munich, which is normally crowded and best avoided. A better
strategy is to set the routepoints between the cities on a straight road
without any crossings where you definitively must come through. This
is also good for small villages, otherwise you will sometimes be
directed to your routepoint, which is often not the best way to go
through that village.

</li><li> Setting many routepoints forces the navigation system to stick closely
to your route. However, if there is an &lsquo;uninteresting&rsquo; part on the
route, then let the navigation system decide on its own by not setting
any routepoints.
</li></ul>
</blockquote>

<hr>
<a name="Bugs"></a>
<a name="Bugs-1"></a>
<h2 class="appendix">Appendix A Bugs</h2>
<ul>
<li> FoxtrotGPS includes a URL for Google Satellite imagery in its
default list of map repositories for demonstration and testing purposes;
Google periodically change their URL schemes, which reduces these
to <em>non-functional</em> demos of repository pattern syntax.
In some cases, repository URLs that break in this way cannot be fixed
automatically when FoxtrotGPS is upgraded, and must be fixed manually
by the user.
</li></ul>

<hr>
<a name="More-Info"></a>
<a name="More-Info-1"></a>
<h2 class="appendix">Appendix B More Info</h2>

<hr>
<a name="Related-Tools"></a>
<h4 class="node-heading">Related Tools</h4>
<a name="Related-Tools-1"></a>
<h3 class="heading">Related Tools</h3>

<ul>
<li> convert2gpx(1)
</li><li> convert2osm(1)
</li></ul>

<hr>
<a name="Homepage"></a>
<h4 class="node-heading">Homepage</h4>
<a name="Homepage-1"></a>
<h3 class="heading">Homepage</h3>
<p>More information about FoxtrotGPS can be found online at
<a href="https://www.foxtrotgps.org/">its website</a>.
</p>
<hr>
<a name="Author"></a>
<h4 class="node-heading">Author</h4>
<a name="Author-1"></a>
<h3 class="heading">Author</h3>
<p>FoxtrotGPS is a community developed fork from tangoGPS lead by
<a href="mailto:rozzin@geekspace.com">Joshua Judson Rosen</a>. tangoGPS was
written by <a href="mailto:marcus.bauer@gmail.com">Marcus Bauer</a>.
</p>
<div class="footnote">
<hr>
<h4 class="footnotes-heading">Footnotes</h4>

<h3><a name="FOOT1" href="#DOCF1">(1)</a></h3>
<p>Prior
to version 1.1.0, FoxtrotGPS used its own log format; in case you
have any logs in this format, there are scripts included with FoxtrotGPS
that can convert those logs to GPX format, or to OSM format directly.</p>
<h3><a name="FOOT2" href="#DOCF2">(2)</a></h3>
<p>The
gpsbabel program can be used to convert to many more different file
formats.</p>
</div>
<hr>



</body>
</html>