]> git.street.me.uk Git - andy/viking.git/blame - help/C/viking.xml
Fix new test programs to work under 'make distcheck'
[andy/viking.git] / help / C / viking.xml
CommitLineData
f8b8a0b5 1<?xml version="1.0"?>
c94657d1
RN
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
f8b8a0b5
GB
4 <!ENTITY appname "Viking">
5 <!ENTITY app "<application>Viking</application>">
b1f2d51f
RN
6 <!ENTITY appversion "1.5">
7 <!ENTITY manrevision "1.5">
8 <!ENTITY date "October 2013">
f8b8a0b5
GB
9]>
10<!--
11 (Do not remove this comment block.)
12 Maintained by the GNOME Documentation Project
13 http://live.gnome.org/DocumentationProject
14 Template version: 3.0 beta
15 Template last modified 2006-11-21
16
17-->
18<!-- =============Document Header ============================= -->
19<article id="index" lang="en">
20 <articleinfo>
21 <title>&app; Manual</title>
22 <abstract role="description">
23 <para>&app; is a free/open source program to manage GPS data.</para>
24 </abstract>
25
26 <copyright>
1b5f6653 27 <year>2013</year>
f8b8a0b5 28 <holder>Guilhem Bonnefille</holder>
bbfdcbed 29 <holder>Rob Norris</holder>
f8b8a0b5
GB
30 </copyright>
31
32 <!-- An address can be added to the publisher information. -->
33 <publisher role="maintainer">
34 <publishername>GNOME Documentation Project</publishername>
35 </publisher>
36
37 <xi:include href="legal.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
38 <!-- The file legal.xml contains link to license for the documentation,
39 and other legal stuff such as "NO WARRANTY" statement.
40 Please do not change any of this. -->
41
42 <authorgroup>
43 <author>
44 <firstname>Guilhem</firstname>
45 <surname>Bonnefille</surname>
46 </author>
25c0a45b
RN
47 <author>
48 <firstname>Rob</firstname>
49 <surname>Norris</surname>
50 </author>
a43e638f
RN
51 <!-- Contributors from the Wiki history -->
52 <author>
53 <firstname>username:</firstname>
54 <surname>Alexxy</surname>
55 </author>
56 <author>
57 <firstname>username:</firstname>
58 <surname>Vikingis</surname>
59 </author>
60 <author>
61 <firstname>username:</firstname>
62 <surname>Tallguy</surname>
63 </author>
64 <author>
65 <firstname>username:</firstname>
66 <surname>EliotB</surname>
67 </author>
68 <author>
69 <firstname>Alex</firstname>
70 <surname>Foobarian</surname>
71 </author>
72 <!-- END -->
f8b8a0b5
GB
73 </authorgroup>
74
75 <revhistory>
76 <revision>
77 <revnumber>&appname; Manual V&manrevision;</revnumber>
78 <date>&date;</date>
79 <revdescription>
80 <para role="author">Guilhem Bonnefille <email>guilhem.bonnefille@gmail.com</email></para>
bbfdcbed 81 <para role="author">Rob Norris <email>rw_norris@hotmail.com</email></para>
f8b8a0b5 82 <para role="publisher">GNOME Documentation Project</para>
bbfdcbed 83 <para>This document was generated on <?dbtimestamp format="Y-m-d"?>.</para>
f8b8a0b5 84 </revdescription>
845a6b70 85 </revision>
f8b8a0b5
GB
86 </revhistory>
87
4502fc82 88 <releaseinfo>This manual describes version &appversion; of &appname;.</releaseinfo>
f8b8a0b5
GB
89
90 <legalnotice>
91 <title>Feedback</title>
92 <para>To report a bug or make a suggestion regarding the &app; application or
93 this manual, follow the directions in the
94 <ulink url="ghelp:user-guide?feedback-bugs" type="help">Feedback section of the GNOME User Guide</ulink>.
95 </para>
96 </legalnotice>
97 </articleinfo>
98
99 <indexterm zone="index">
100 <primary>&app;</primary>
101 </indexterm>
102<!-- ============= Document Body ============================= -->
4502fc82 103<section id="introduction">
f8b8a0b5 104 <title>Introduction</title>
6928e16b 105<para>
7233fcb6
RN
106&appname; aims to be easy to use, yet powerful in accomplishing a wide
107variety of tasks. Some of the things you can use &appname; for are:
6928e16b
GB
108</para>
109<itemizedlist mark="opencircle"><listitem>
110<para>
c3eb4a65 111Uploading and downloading waypoints, tracks and routes to/from GPS.
6928e16b
GB
112</para>
113</listitem>
114<listitem>
52b73a95 115<para>Preparing tracks, routes and waypoints for trips using maps from services such as OpenStreetMap (OSM).
c3eb4a65
RN
116The data is only needed to be uploaded to your GPS before you leave.
117The maps together with your tracks, routes and waypoints can also be printed and used during the trip.
6928e16b
GB
118</para>
119</listitem>
120<listitem>
121<para>
122After trips, tracks and waypoints from GPS can be downloaded, stored, managed and reused in your (or your friends') later trips.
123</para>
124</listitem>
125<listitem>
126<para>
9ca89c29 127Analyzing Off Highway Vehicle (OHV) and hiking trips, understanding where you went and how far you were from something.
6928e16b
GB
128</para>
129</listitem>
130<listitem>
c3eb4a65 131<para>Making waypoints, tracks and routes to follow to easily get someplace
9ca89c29 132you've never been before or don't have GPS data for but online
6928e16b
GB
133maps exist for it.
134</para>
135</listitem>
136<listitem>
137<para>
138Making maps with coordinate lines.
139</para>
140</listitem>
141<listitem>
142<para>
143Grouping data from multiple trips using a hierarchical data manager.
144</para>
145</listitem>
146<listitem>
147<para>
148Analyzing speed at different places (to some degree), adding waypoints where you forgot to mark one but did slow down or stop.
149</para>
150</listitem>
151<listitem>
152<para>
52b73a95 153Downloading and storing OpenStreetMap and/or other map types on your hard drive and looking at them later.
6928e16b
GB
154</para>
155</listitem>
156<listitem>
157<para>
c3eb4a65 158Editing routes or tracks and their trackpoints, joining and splitting up tracks and routes.
6928e16b
GB
159</para>
160</listitem>
0ef60ec1 161<listitem>
6928e16b 162<para>
73919102 163Show the live GPS position on the map (for use on a mobile device - e.g. a laptop). Not <trademark>Windows</trademark> at the moment.
6928e16b
GB
164</para>
165</listitem>
76b8a4e8
RN
166<listitem>
167<para>
c3eb4a65 168Import track, route and waypoint files of various types via <application>GPSBabel</application>
76b8a4e8
RN
169</para>
170</listitem>
dae48936
RN
171<listitem>
172<para>
173View, create and update Geotagged Images (using EXIF data).
174</para>
175</listitem>
9ca89c29
RN
176</itemizedlist>
177<note>
6928e16b 178<para>
9ca89c29 179&appname; is under continual improvement: see the potential areas in the <ulink url="http://sourceforge.net/apps/mediawiki/viking/index.php?title=Main_Page#TODO_.2F_Ideas"><citetitle>Roadmap / Wishlist</citetitle></ulink>:
6928e16b 180</para>
9ca89c29 181</note>
d4a2cefb
RN
182<figure>
183<title>Screenshot: OSM Cycle Map and Many Tracks</title>
184<screenshot>
185 <graphic format="JPG" fileref="figures/Viking-OSM-CycleMap-ManyTracks.jpg"/>
186</screenshot>
187</figure>
4502fc82 188</section>
7233fcb6 189
6928e16b 190<section><title>General Concepts</title>
63396406 191<section id="gc_layers" xreflabel="Layers"><title>Layers</title>
7233fcb6 192<para>
84017394 193<emphasis>Layers</emphasis> is concept one may know from powerful graphics editors such as <application>Photoshop</application> or <application>GIMP</application>.
7233fcb6 194Instead of putting all the data on the same level, it is stacked (i.e. layered) with different data over one another.
73919102 195This can be useful for analysis and general handling of various sets of data.
7233fcb6
RN
196</para>
197<para>
198Unfortunately the downside of this complexity is remembering how differing layers of data can obscure other data.
199</para>
200<para>
201The Map layers have <ulink url="http://en.wikipedia.org/wiki/Alpha_compositing"><citetitle>Alpha Compositing</citetitle></ulink>,
202to create the appearance of partial transparency.
203By controlling this value one can see data below it in the layer heirarchy for interesting effects.
204</para>
205</section>
63396406 206<section id="gc_layers_panel" xreflabel="Layers Panel"><title>Layers Panel</title>
6928e16b
GB
207<para>
208The panel on the left is called the <emphasis role="bold">layers panel</emphasis>.
209It determines which layers and sublayers (such as tracks and waypoints)
c3a02429
RN
210are shown, and the order in which they are drawn. Layers on the
211top of the layers panel list are drawn last. You can change the order by
6928e16b
GB
212drag and drop, or by selecting a layer and using the up and down
213buttons at the bottom of the layers panel.
214</para>
7233fcb6
RN
215</section>
216<section><title>Viewport</title>
6928e16b 217<para>
7233fcb6 218The main &appname; area where the layer data is drawn, is called the <emphasis role="bold">viewport</emphasis>.
6928e16b 219</para>
6928e16b 220</section>
7233fcb6 221<section><title>Statusbar</title>
7233fcb6 222<para>This provides a readout of various information:</para>
eabf51fc
GB
223<itemizedlist>
224<listitem><para>The currently selected (mouse pointer) tool</para></listitem>
225<listitem><para>The number of items to process in the background - normally this the number in the map tile download queue</para></listitem>
226<listitem><para>The zoom factor</para></listitem>
227<listitem><para>The location of the mouse pointer (and potentially height information if DEM data is available)</para></listitem>
228</itemizedlist>
9a3538f5
GB
229<para>When creating a track/route, the statusbar also displays some information about the track/route.</para>
230<figure>
231<title>Statusbar</title>
232<screenshot>
233 <graphic format="PNG" fileref="figures/trw_statusbar.png"/>
234</screenshot>
235</figure>
236<para>This part of the statusbar displays:
237<itemizedlist>
238<listitem><para>The total distance of the track/route (including currently edited segment).</para></listitem>
239<listitem><para>The bearing of the currently edited segment.</para></listitem>
240<listitem><para>The distance of the currently edited segment.</para></listitem>
241</itemizedlist>
242</para>
c4b6a67d
GB
243<para>For convenience, a zoom selector can be opened from the status bar. Simply left-click on the zoom factor.</para>
244<figure>
245 <title>The zoom selector available from status bar</title>
246 <screenshot>
247 <graphic format="PNG" fileref="figures/zoom_status_popup.png"/>
248 </screenshot>
249</figure>
7233fcb6 250</section>
d587678a 251
699c2a0a
RN
252<section id="toolbar" xreflabel="Toolbar"><title>Toolbar</title>
253<para>The toolbar is an area for buttons that perform common actions.</para>
254<para>Some actions are modal, so the appropriate layer needs selected before these toolbar buttons are enabled. See <xref linkend="tools"/> more detail.</para>
255<para>The display of the toolbar is influenced by the <xref linkend="prefs_toolbar"/></para>
256<para>Right clicking on the toolbar and selecting <menuchoice><guimenu>Customize</guimenu></menuchoice> allows jumping to the <xref linkend="prefs_toolbar_customize"/> directly.</para>
257</section>
258
e6470810 259<section id="projection" xreflabel="Projection"><title>Projections</title>
d587678a
GB
260<para>
261&appname; supports differents projections:
262<itemizedlist>
263<listitem>
264<para>UTM</para>
265</listitem>
266<listitem>
267<para>LatLon (also called EPSG:4326)</para>
268</listitem>
269<listitem>
270<para>Mercator (also called Spherical Mercator)</para>
271</listitem>
272</itemizedlist>
273</para>
274</section>
76936a96 275
e6470810 276<section id="mapcache" xreflabel="Map Cache"><title>Map Cache</title>
5d1c714b
RN
277<para>
278&appname; stores downloaded map tiles to disk for a couple of reasons:
279</para>
280<itemizedlist>
281<listitem><para>Enables off line usage</para></listitem>
282<listitem><para>Reduces loading on the map tile provider</para></listitem>
283</itemizedlist>
284<para>
285The &appname; automatic caching strategy is two fold:
286</para>
287<itemizedlist>
288<listitem>
289<para>
fef1084a 290 If the age of the tile on disk is less than the specified tile age (see <xref linkend="prefs"/>),
5d1c714b
RN
291 it will <emphasis>not</emphasis> attempt to contact the server to get a new version of the tile.
292</para>
293</listitem>
294<listitem>
295<para>
296 When the tile age has expired &appname; will attempt a <emphasis>refresh</emphasis> update, so that it provides the cached tile generation timestamp so the server can determine if a new tile image needs to be returned. Not all map types support this refresh method.
297</para>
298</listitem>
299</itemizedlist>
300<para>
301 You can override the caching scheme by using right-click on the Map on the layers panel and selecting <guimenuitem>Redownload All Onscreen Maps</guimenuitem>, or <keycap>Ctrl+F5</keycap> for the top most map displayed. This will get the latest version held by the server.
302</para>
303<note>
304<para>
305 This can be useful if you contribute to OpenStreetMap and wish to see your modifications (of course give time for the server to have processed your changes - see <ulink url="http://help.openstreetmap.org/questions/102/i-have-made-edits-but-they-dont-show-up-on-the-map">I have made edits but they don't show up on the map</ulink>)
306</para>
307</note>
e6470810
RN
308
309<para>
310The layout of the cache on disk itself can be controlled via a per Map Layer property.
311<itemizedlist>
312<listitem><para>Viking - Legacy default in a private cache layout scheme</para></listitem>
313<listitem><para>OSM - Newer available default (1.6+)</para>
314<para>
315This is to increase the compatibility between &appname; and similar applications that cache tiles on disk so that the tiles can be shared.
316</para>
317</listitem>
318</itemizedlist>
319
320</para>
5d1c714b
RN
321</section>
322
fef1084a 323<section id="shortcut_keys" xreflabel="Shortcut Keys"><title>Shortcut Keys</title>
76936a96
RN
324<para>
325&appname; has several shortcut keys or key combinations for commands as listed in the main window along side the command.
326</para>
327<para>
7b97b14c 328By default some function keys follow standard GUI behaviour:
76936a96
RN
329</para>
330<itemizedlist>
331<listitem><para><keycap>F1</keycap> Help (view this manual)</para></listitem>
6b59f63d 332<listitem><para><keycap>F5</keycap> or <keycap>Ctrl+R</keycap> Refresh the maps on screen</para></listitem>
76936a96
RN
333<listitem><para><keycap>F10</keycap> Select the Menubar (in built behaviour)</para></listitem>
334<listitem><para><keycap>F11</keycap> Full Screen</para></listitem>
6b59f63d 335<listitem><para><keycap>Ctrl+F5</keycap> or <keycap>Ctrl+Shift+R</keycap> Redownload the maps on screen</para></listitem>
76936a96 336</itemizedlist>
6b59f63d
RN
337<note>
338<para>
339Refresh attempts to get new maps only if the local tile cache time period has expired for any particular map tile.
340Redownload gets all on screen maps from the server, ignoring the local tile cache.
341</para>
342</note>
76936a96
RN
343<para>
344Other function keys control turn on/off visibility of various elements:
345</para>
346<itemizedlist>
347<listitem><para><keycap>F3</keycap> Toggle visibility of the Toolbar</para></listitem>
348<listitem><para><keycap>F4</keycap> Toggle visibility of the Menubar</para></listitem>
6b59f63d 349<listitem><para><keycap>Shift+F5</keycap> Toggle visibility of the Scale indicator on the viewport</para></listitem>
76936a96
RN
350<listitem><para><keycap>F6</keycap> Toggle visibility of the Center Crosshairs on the viewport</para></listitem>
351<listitem><para><keycap>F7</keycap> Toggle showing selected items (e.g. tracks or waypoints) in the highlight colour in the viewport</para></listitem>
352<listitem><para><keycap>F9</keycap> Toggle visibility of the Layers Panel</para></listitem>
353<listitem><para><keycap>F12</keycap> Toggle visibility of the Statusbar</para></listitem>
354</itemizedlist>
355<para>
356Standard shortcuts are provided for normal GUI operations: such as creating new files, opening, saving and exitting.
4200b261
RN
357Then there are shortcuts specific to &appname; to switch projection modes, zoom in/out, create layers,switch the active tool mode and move the map:
358<itemizedlist>
359<listitem><para><keycap>Ctrl+Up</keycap> Pan the viewport North</para></listitem>
360<listitem><para><keycap>Ctrl+Right</keycap> Pan the viewport East</para></listitem>
361<listitem><para><keycap>Ctrl+Down</keycap> Pan the viewport South</para></listitem>
362<listitem><para><keycap>Ctrl+Left</keycap> Pan the viewport West</para></listitem>
f41c804a
RN
363<listitem><para><keycap>Ctrl+Keypad+</keycap> Zoom In</para></listitem>
364<listitem><para><keycap>Ctrl+Keypad-</keycap> Zoom Out</para></listitem>
4200b261 365</itemizedlist>
7b97b14c 366<important><para>These work irrespective of the <xref linkend="tools"/> mode selected</para></important>
4200b261 367For other combinations see the menu entry themselves.
76936a96 368</para>
7233fcb6
RN
369</section>
370
7b97b14c
RN
371<section>
372<title>Keyboard Configuration</title>
373<para>Keyboard configuration is supported by the standard GTK+ way of changing shortcuts for menu entries.</para>
374<para>Hover over the menu option with the mouse pointer and press the keyboard shortcut you want to bind it to.</para>
375<para>To delete a keyboard assignment, press <keycap>Backspace</keycap> whilst over the menu entry.</para>
376<note>
377<para>
378 If the keyboard shortcut is already in use you will not receive any notification that new action replaces the old action.
379 This is probably why most distributions have this facility disabled by default.
380 Thus you will need to enable <emphasis>Editable menu accelerators</emphasis> for your system.
381 Check the Desktop Menu and Toolbar Control or other User Interface preferences for this setting.
382</para>
383</note>
384<note>
385<para>
386 For Windows systems this can be done by adding the line <emphasis>gtk-can-change-accels=1</emphasis> to <filename>%USERPROFILE%\.gtkrc-2.0</filename> (create the file if it does not exist).
387</para>
388</note>
389<para>From &app; 1.6+ the keyboard configuration is automatically loaded and saved between sessions in the <xref linkend="config_keys"/></para>
390</section>
391
c3eb4a65
RN
392<section><title>Tracks vs Routes</title>
393<para>
394In theory a route is path you are planning to follow and a track of where you have actually been. The GPX specification splits these into two separate catergories, although tracks contain everything route may have.
395</para>
396<para>
84017394 397Q. When planning a <emphasis>route</emphasis> what difference does it make if it's a route or a track?
c3eb4a65
RN
398</para>
399<para>
400A. One difference is in how a GPS device navigates following the route or track.
401Or you may want to consider interoperability with other software.
402Otherwise it is probably best to use tracks as they are a superset of the route functionality.
403</para>
404<para>
405For example on Garmin Etrex:
406</para>
407<itemizedlist>
408<listitem>
409<para>Route following: Uses navigation mode with compass and estimated time to next point.</para>
410<para>If following on road it can calculate a route on fly.</para>
411<para>I (RN) always use this mode to follow pre planned routes.</para>
412</listitem>
413<listitem>
414<para>Track following: Uses a <trademark>TracBack</trademark> mode</para>
415<para>I (RN) never use this so I can't comment on how it actually compares to the route mode.</para>
416</listitem>
417</itemizedlist>
418<note><para>
419There are often restrictions on the numbers of route points the GPS Device can handle - may be 250 or as little as 50.
420This generally not a problem for single day routes, but needs managing for multi-day events or for highly detailed routes.
421</para></note>
422</section>
423
76936a96
RN
424</section><!--General Concepts End-->
425
7bb499bc
RN
426<section><title>File Types and the Main Window</title>
427
428<para>
429&appname; has it's own file type traditionally marked by the <emphasis>.vik</emphasis> file extension.
430This is a plain text file saving all information of the current window including the view location, zoom level, projection type and then all the layer information (aggregrates, maps, tracks, waypoints, etc...).
431</para>
432<para>
433Besides it's own file type, &appname; can open (and save to via export methods) GPX and KML file types.
434</para>
435<note>
436<para>
437&appname; does not handle GPX 1.1 particularly well - it prefers GPX 1.0
438</para>
439</note>
440<para>
6db85a50 441By default &appname; opens a default blank window centered on the home location. This behaviour can be changed by the <xref linkend="prefs_startup"/>.
7bb499bc 442Each window contains menus, a toolbar, a viewport, layers panel and a statusbar.
fef1084a 443Each section (apart from the viewport) can be hidden using the <xref linkend="shortcut_keys"/> or from the
7bb499bc
RN
444<menuchoice><guimenu>View</guimenu><guisubmenu>Show</guisubmenu></menuchoice> choices.
445</para>
446<para>
447One may consider each &appname; window to be a separate project - each with it's project <emphasis>Viking</emphasis> file.
448However generally one window is enough for most purposes!
449</para>
450<para>
451Several operations apply at the window level as follows next.
fef1084a 452Also see <xref linkend="tools"/> for the operational modes that generally work in conjunction with a selected layer.
7bb499bc
RN
453</para>
454
455<section><title>New</title>
456<para>
457Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu></menuchoice> menu and on the toolbar <guibutton>New</guibutton>.
458</para>
459<para>
460This creates a new window with the default settings.
461</para>
462</section>
463
464<section><title>Open</title>
465<para>
466Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Open</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Open</guibutton>.
467</para>
468<para>
469This opens a file chooser dialog to select one (or more) files of the supported GPS data file types:
470<itemizedlist>
471<listitem><para>Viking</para></listitem>
472<listitem><para>GPX</para></listitem>
473<listitem><para>KML</para></listitem>
5bed0ef6 474<listitem><para>JPG</para></listitem>
7bb499bc
RN
475</itemizedlist>
476</para>
477<para>
5bed0ef6 478GPX, KML and JPG files will be loaded into the existing &appname; view. A <emphasis>Viking</emphasis> file will be given a new window if the current window is already assigned.
7bb499bc
RN
479</para>
480<tip>
481<para>
482&appname; handles more file types via the <link linkend="acquire">Acquire</link> methods below.
483</para>
484</tip>
485</section>
486
487<section><title>Save</title>
488<para>
489Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Save</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Save</guibutton>.
490</para>
491<para>
492If the current opened file is <emphasis>Viking</emphasis> file, this save will simply update it.
493If it is a new file or the file loaded was an external type (i.e. GPX or KML), then this will ask for a <emphasis>new name</emphasis> to save as a <emphasis>Viking</emphasis> file.
494</para>
495</section>
496
497<section><title>Save As</title>
498<para>
499Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Save As</guisubmenu></menuchoice> menu only.
500</para>
501<para>
502This will ask for a <emphasis>new name</emphasis> to save as a <emphasis>Viking</emphasis> file (even it was already a <emphasis>Viking</emphasis> file).
503</para>
504</section>
505
506<section><title>Append</title>
507<para>
508Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Append</guisubmenu></menuchoice> menu only.
509</para>
510<para>
511Selecting a <emphasis>Viking</emphasis> file from this method will join the file contents to the current window (instead of creating a new one).
512GPX and KML files may also be appended, but this is exactly the same as the normal file open method.
513</para>
514</section>
515
fef1084a 516<section id="acquire" xreflabel="acquire"><title>Acquire</title>
7bb499bc
RN
517
518<para>
c025f801 519Available on the <menuchoice><guimenu>File</guimenu><guisubmenu>Acquire</guisubmenu></menuchoice> menu and from the <xref linkend="TrackWaypoint"/> layer menu.
7bb499bc
RN
520</para>
521<para>
9cc13848 522If used from the <guimenu>File</guimenu> menu these methods place the results in a new TrackWaypoint layer.
c025f801
RN
523</para>
524<para>
525If used from the <xref linkend="TrackWaypoint"/> layer menu these methods place the results in that TrackWaypoint layer.
7bb499bc
RN
526</para>
527
528<section>
529<title>From GPS</title>
530<para>
531<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
532Probably the easiest way of getting information from a GPS Device.
533</para>
534<para>
535Select the GPS Device communication settings and then hit <guibutton>OK</guibutton>.
536See the <link linkend="method_c">Getting Started</link> section for more info about the settings.
537</para>
538<note>
539<para>
540Some GPS devices (such as the <trademark>Garmin Nuvi 255</trademark>) support a native file system and write information to a <filename>Current.gpx</filename> file or similar. You will have to browse the file system on the device and open it directly.
541</para>
542</note>
543</section>
544
545<section>
546<title>Import File With GPSBabel</title>
547<para>
548<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel</guimenuitem></menuchoice>
549</para>
550<para>
551Other formats can be imported that are supported by GPSBabel.
552</para>
553<para>
554You need to select the file <emphasis>and</emphasis> the type of the file that is going to be opened,
555since there is no automatic detection of the file kind.
556</para>
557</section>
558
559<section>
560<title>OSM Traces</title>
561<para>
562<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>OSM Traces</guimenuitem></menuchoice>
5f526098
RN
563</para>
564<para>
565See <xref linkend="osm_dl"/> section for more information.
566</para>
567</section>
568
569<section>
570<title>My OSM Traces</title>
571<para>
572<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>My OSM Traces</guimenuitem></menuchoice>
573</para>
574<para>
575See <xref linkend="osm_my_dl"/> section for more information.
7bb499bc
RN
576</para>
577</section>
578
579<section>
580<title>From Geotagged Images</title>
581<para>
582<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Geotagged Images</guimenuitem></menuchoice>
583Enables automatic creation of waypoints from geotagged images.
584</para>
585<para>
586This menu opens a dialog to select such image files.
c025f801 587If the image files have geotag information in them, then a <xref linkend="TrackWaypoint"/> layer with named waypoints positioned at the location of each image with a thumbnail of that image is created.
7bb499bc
RN
588</para>
589</section>
590
075d1614
RN
591<section>
592<title>From Wikipedia Waypoints</title>
593<para>
594<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Wikipedia Waypoints</guimenuitem></menuchoice>
595</para>
596<para>
84017394 597This gets <emphasis>interesting</emphasis> points from Wikipedia for the specified view: either within the extent of layer bounds or within the current viewport boundary.
075d1614
RN
598</para>
599</section>
600
7f95fd54
GB
601<section>
602<title>From Routing</title>
603<para>
604<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Directions</guimenuitem></menuchoice>
605</para>
606<para>
607This gets a route from given directions.
608</para>
609</section>
610
c6acf18d
RN
611<section>
612<title>From URL</title>
613<para>
614<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From URL</guimenuitem></menuchoice>
615</para>
616<para>
617This gets a file from the entered URL.
618File formats that can be opened are those supported by GPSBabel.
619</para>
620<note>
621<para>
622You need to select the type of the file that is going to be returned, since there is no automatic detection of the file kind.
623</para>
624</note>
625</section>
626
c0c5893f
RN
627<section>
628<title>Import GeoJSON File</title>
629<para>
630<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import GeoJSON File</guimenuitem></menuchoice>
631</para>
632<para>
633This uses the program <ulink url="https://github.com/tyrasd/togpx">togpx</ulink> to load .geojson files.
634If the program is not detected on your system, then this option will not be available.
635See <ulink url="https://www.npmjs.org/package/togpx">here</ulink> for the installation method.
636</para>
637<para>
638The current version (1.4.4) of GPSBabel does not support the <ulink url="http://geojson.org/">GeoJSON</ulink> file format.
639</para>
640</section>
641
7bb499bc
RN
642</section> <!-- End Acquire -->
643
644<section><title>Print</title>
645<para>
646Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Print</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Print</guibutton>.
647</para>
648<para>
649Print uses what is displayed on the current map view for printing: i.e. what ever map, tracks and waypoints that are in view, including the
650cross hairs and the scale.
651</para>
652<para>
653It uses a standard system print dialog using an image the size of the current viewport in pixel terms.
654On the <emphasis>Image Settings</emphasis> you can move the image around the page and scale the image up / or down.
655</para>
656</section>
657
658<section><title>Generate Image File</title>
659<para>
660Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Generate Image File</guisubmenu></menuchoice> menu only.
661</para>
662<para>
663Allows generation of larger (pixel) area images than the standard Print method above.
664From the generated image you can use the facilities of the <application>Operating System</application> to print the image
665or perform other actions.
666</para>
667<para>
668You should have previously downloaded the tile images for the chosen zoom level,
669otherwise the image produced will have missing sections.
670</para>
671<warning>
672<para>
673Using large areas takes some time to process and due to the method used it may run out of memory to complete the operation.
674Unfortunately under <trademark>Windows</trademark> systems it can not detect this failure and may crash the program.
675So the maximum size is dependent on the capabilities of your system.
676For instance the largest successful image generated on my (RN) Debian system is a pixel area of 20,000 x 20,000.
677</para>
678</warning>
679</section>
680
681<section><title>Generate Directory of Images</title>
682<para>
683Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Generate Directory of Images</guisubmenu></menuchoice> menu only.
684</para>
4e859f76 685<note>
7bb499bc
RN
686<para>
687This is only available in UTM mode.
688</para>
4e859f76 689</note>
7bb499bc
RN
690</section>
691
692</section> <!-- End File Types -->
693
6928e16b 694<section><title>Layers</title>
036c28fc 695
28f39a51
RN
696<para>
697Layers supported by &appname; are:
698</para>
699<itemizedlist>
6a997af7
RN
700<listitem><para><xref linkend="Aggregate"/></para></listitem>
701<listitem><para><xref linkend="TrackWaypoint"/></para></listitem>
702<listitem><para><xref linkend="GPS"/></para></listitem>
703<listitem><para><xref linkend="DEM"/></para></listitem>
704<listitem><para><xref linkend="Coordinate"/></para></listitem>
705<listitem><para><xref linkend="Maps"/></para></listitem>
706<listitem><para><xref linkend="GeoRef"/></para></listitem>
e5ee3c87 707<listitem><para><xref linkend="MapnikRendering"/></para></listitem>
28f39a51
RN
708</itemizedlist>
709<para>
710For each layer there are a few standard options:
711</para>
712<itemizedlist>
713<listitem><para>Properties - Layer setup / configuration settings</para></listitem>
714<listitem><para>Cut</para></listitem>
715<listitem><para>Copy</para></listitem>
716<listitem><para>Paste</para></listitem>
717<listitem><para>Delete</para></listitem>
718<listitem><para>Visibility - This checkbox on the Layers Panel controls whether the layer is shown in the viewport or not</para></listitem>
719</itemizedlist>
720<para>
721The cut/copy/paste options can be accessed in a variety of ways once the layer has been selected:
722</para>
723<itemizedlist>
724<listitem><para>Standard keys: <keycap>Ctrl+x|c|v</keycap></para></listitem>
725<listitem><para>Main menu <guimenuitem>Edit</guimenuitem></para></listitem>
726<listitem><para>From the right click menu</para></listitem>
727<listitem><para>Buttons at the bottom of the Layers Panel</para></listitem>
728</itemizedlist>
729<para>
2ed09ddf
RN
730Default values used for each layer's properties can be altered via the <menuchoice><guimenu>Edit</guimenu><guisubmenu>Layer Defaults</guisubmenu></menuchoice> menu options.
731</para>
732<para>
28f39a51
RN
733See the individual section for detail about each layer.
734</para>
6a997af7 735</section>
28f39a51 736
c025f801 737<section id="TrackWaypoint" xreflabel="TrackWaypoint"><title>TrackWaypoint Layer</title>
6928e16b 738<para>
c3eb4a65 739TrackWaypoint layers display GPS data (tracks, routes and waypoints).
6928e16b 740</para>
7233fcb6 741<para>One way to create new waypoints is to copy a
6928e16b 742latitude/longitude coordinate pair, such as the one shown on most
0ef60ec1
GB
743geocaches, and paste it into an active TrackWaypoint layer. &appname; can
744automatically recognize several variations of the lat/lon format.
745</para>
6928e16b 746<para>
c3a02429 747By right-clicking on tracks, routes or waypoints in the <xref linkend="gc_layers_panel"/>, you can access many commands on them.
c3eb4a65
RN
748You can easily find a specific track, route or waypoint by expanding the appropriate containing Tracks, Routes or Waypoints sublayer in the
749layers panel to show all the individual items and then typing the name of the track, route or waypoint.
750</para>
751
752<para>
753The containing Tracks, Routes or Waypoints sublayers are only shown when items of that type exist.
754To start creating them enter into a create mode via either the <guibutton>Create</guibutton> toolbar commands or the <guimenuitem>New</guimenuitem> menu commands.
755</para>
756
179bfc90
RN
757<para>
758The sublayers also offer right click menu options.
759These are the same as those available at the TrackWaypoint level, but only those that relate to the sublayer type.
760</para>
761
c3eb4a65
RN
762<para>
763By default routes are coloured red. Tracks are automatically assigned a spread of colours.
764</para>
765
766<para>
9f30939a 767Most operations available on tracks are available on routes, except for functionality that relies on having timestamps - since routes by definition have no timing information. Thus for example, uploading a route to OpenStreetMap Traces is not available nor is Geotagging on a route.
c3eb4a65 768It is possible to convert between Tracks and Routes, although converting from a Track to a Route may involve a loss of information (hence you are required to confirm this operation before it happens).
6928e16b 769</para>
036c28fc 770
6928e16b
GB
771<section><title>Layer Operations</title>
772<para>
773The layer has a context menu with several operations.
774</para>
036c28fc
RN
775
776<section><title>View Layer</title>
777<para>
c3eb4a65 778Version1.1+: This will automatically move the viewport and select the best zoom level to see the whole layer (i.e. all tracks, routes and waypoints).
036c28fc
RN
779</para>
780</section>
781
c3eb4a65
RN
782<section><title>View</title>
783
179bfc90 784<section id="track_view_all"><title>View All Tracks</title>
036c28fc 785<para>
c3eb4a65
RN
786Version1.1+: This will automatically move the viewport and select the best zoom level to see the all the tracks in the layer (ignoring positions of any routes or waypoints).
787</para>
788</section>
789
179bfc90 790<section id="route_view_all"><title>View All Routes</title>
c3eb4a65
RN
791<para>
792Version1.4+: This will automatically move the viewport and select the best zoom level to see the all the routes in the layer (ignoring positions of any tracks or waypoints).
036c28fc
RN
793</para>
794</section>
795
179bfc90 796<section id="wp_view_all"><title>View All Waypoints</title>
036c28fc 797<para>
c3eb4a65 798Version1.1+: This will automatically move the viewport and select the best zoom level to see the all the waypoints in the layer (ignoring positions of any tracks or routes).
036c28fc
RN
799</para>
800</section>
801
c3eb4a65
RN
802</section>
803
036c28fc
RN
804<section><title>Goto Center of Layer</title>
805<para>
c3eb4a65 806This will automatically move the viewport to see the whole layer (i.e. tracks, routes and waypoints). It does not adjust the zoom level.
036c28fc
RN
807</para>
808</section>
809
179bfc90 810<section id="wp_goto"><title>Goto Waypoint</title>
036c28fc
RN
811<para>
812This opens a dialog box to enter a name of waypoint to search for. If it is found the viewport is centred on it.
813</para>
814<note>
815<para>
816Note this search is not very clever and only finds exact matches.
817You are probably better off expanding the waypoint list and directly start typing, as mentioned above, which finds a match based on each letter typed.
818</para>
819</note>
820</section>
821
822<section><title>Export Layer</title>
823<para>
1ca082d7
RN
824The layer (all tracks, routes and waypoints) can be exported to following file formats:
825</para>
826<orderedlist>
827 <listitem>
828 <para>GPX</para>
829 </listitem>
830 <listitem>
831 <para>GPSPoint</para>
832 </listitem>
833 <listitem>
834 <para>GPSMapper</para>
835 </listitem>
836 <listitem>
837 <para>Google's KML</para>
838 </listitem>
839 <listitem>
840 <para>Any GPSBabel <ulink url="http://www.gpsbabel.org/capabilities.html">File Formats</ulink></para>
841 </listitem>
842 <listitem>
843 <para>GeoJSON. Via the program <ulink url="https://github.com/mapbox/togeojson">togeojson</ulink></para>
844 <para>This option will not be available if the program is not detected on your system.
845 See <ulink url="https://www.npmjs.org/package/togeojson">here</ulink> for the installation method.</para>
846 </listitem>
847</orderedlist>
036c28fc
RN
848<para>
849Version1.1+: An individual track can be exported to a GPX file via the track menu.
850</para>
851</section>
852
333ad216 853<section id="finish_track"><title>Finish Track or Route</title>
179bfc90 854<para>
179bfc90
RN
855Selecting this option ends the creation of that individual track or route.
856</para>
4e859f76
GB
857<note>
858<para>
859This is only available when a track or route is being created by the <xref linkend="track_create"/> or <xref linkend="route_create"/> tools.
860</para>
861</note>
179bfc90
RN
862</section>
863
864<section><title>New</title>
cc1083b3 865<section id="new_wp"><title>New Waypoint</title>
036c28fc
RN
866<para>
867This opens a dialog box to create a new waypoint. A default name will be suggested and the default position is the center of the viewport.
868</para>
869</section>
179bfc90
RN
870<section id="new_track"><title>New Track</title>
871<para>
872This turns on the <xref linkend="track_create"/> tool.
873</para>
874</section>
875<section id="new_route"><title>New Route</title>
876<para>
877This turns on the <xref linkend="route_create"/> tool.
878</para>
879</section>
880</section>
036c28fc 881
dae48936
RN
882<section><title>Geotag Images</title>
883<para>
884This starts the Geotagging Images dialog against all tracks in the layer.
885See <link linkend="geotagging">Geotagging</link> for further detail.
886</para>
887</section>
888
7bb499bc
RN
889<section><title>Acquire</title>
890<para>
fef1084a 891This offers the same choice from <xref linkend="acquire"/> methods as on the <guimenu>File</guimenu> menu.
7bb499bc
RN
892However when invoked from here, the results will be stored in this layer (instead of creating a new one).
893</para>
894</section>
895
364f9e0a
RN
896<section><title>Upload</title>
897
898<section id="gps_upload"><title>Upload to GPS</title>
899<para>
900This opens a dialog to select the GPS Device and port to which the layer information will be transferred.
901</para>
902<para>
c3eb4a65 903The types of GPS information (tracks, routes or waypoints) to be transferred can be selected.
364f9e0a
RN
904</para>
905<para>
c3eb4a65 906Tracks, Routes or Waypoints that are invisible will not be transferred.
364f9e0a
RN
907</para>
908</section>
909
fef1084a 910<section id="osm_upload" xreflabel="Upload To OSM" ><title>Upload To OSM</title>
036c28fc 911<para>
3e8e3227 912This opens a dialog to upload all tracks and waypoints to <ulink url="http://openstreetmap.org/">OpenStreetMap</ulink> traces.
fef1084a 913Useful if you are an OpenStreetMap contributor (you will need an OpenStreetMap account), these details can be stored in &appname; <xref linkend="prefs_osm"/>
036c28fc 914</para>
6928e16b 915<para>
3e8e3227 916 &appname; allows you to edit a track, e.g. remove duplicate points, perhaps remove track points leading to your home and then upload it to OpenStreetMap.
6928e16b 917</para>
7bb499bc 918<warning>
6928e16b 919<para>
4cdc9eb3 920The password is transferred <emphasis role="bold">unencrypted</emphasis> in every request sent to the OpenStreetMap server. This is due to the use of OpenStreetMap's basic authentication method.
6928e16b 921</para>
4cdc9eb3 922<para>Currently &appname; does not support the <ulink url="http://oauth.net/">OAuth</ulink> mechanism.</para>
7bb499bc 923</warning>
036c28fc 924</section>
6928e16b 925
364f9e0a
RN
926</section>
927
179bfc90
RN
928<section><title>Delete</title>
929<para>Offers deletion of various parts of a TrackWaypoint layer:</para>
930<section id="delete_all_tracks"><title>Delete All Tracks</title>
931<para>Deletes all the tracks in this layer.</para>
932</section>
933<section id="delete_selection_tracks"><title>Delete Tracks from Selection</title>
934<para>Opens a dialog with list of all the tracks from this layer to choose the ones to delete.</para>
935</section>
936<section id="delete_all_routes"><title>Delete All Routes</title>
937<para>Deletes all the routes in this layer.</para>
938</section>
939<section id="delete_selection_routes"><title>Delete Routes from Selection</title>
940<para>Opens a dialog with list of all the routes from this layer to choose the ones to delete.</para>
941</section>
942<section id="delete_all_waypoints"><title>Delete All Waypoints</title>
943<para>Deletes all the waypoints in this layer.</para>
944</section>
945<section id="delete_selection_waypoints"><title>Delete Waypoints from Selection</title>
946<para>Opens a dialog with list of all the waypoints from this layer to choose the ones to delete.</para>
947</section>
948</section>
949
036c28fc
RN
950<section><title>Filter</title>
951<section><title>Simplify All Tracks</title>
952<para>
953This opens dialog to request the number of points each track will be simplified using <application>GPSBabel</application>. The result is put into a new layer. The simplification method removes points considered to be in a 'near straight line', thus reducing the number of points and attempting to keep the most important turning points.
954</para>
955</section>
b4295f59
RN
956<section><title>Compress Tracks</title>
957<para>
958Enables compression of tracks and routes via <application>GPSBabel</application>'s <emphasis>Crosstrack</emphasis> simplify method.
959It opens a dialog to request the Error factor value which is the maximum allowable error that may be introduced by removing a single point.
960It is expressed a distance in units as specified by the <xref linkend="prefs"/> distance option.
961Thus a higher value will remove more points.
962The result is put into a new layer.
963</para>
964</section>
036c28fc
RN
965<section><title>Remove Duplicate Waypoints</title>
966<para>
967Remove Duplicate Waypoints - fairly self explainatory, with the results created in a new layer.
968</para>
969<note>
970<para>
971However it only considers a precise position (waypoints only 1 metre away from each other are considered different) and also doesn't consider if the waypoints have different comments, symbols or images.
972</para>
973</note>
974</section>
6928e16b
GB
975</section>
976
036c28fc
RN
977<section id="filter_with_track"><title>Filter With <emphasis>Trackname</emphasis></title>
978<para>
979This runs <application>GPSBabel</application> on the layer using information from a previously selected track (select via the track menu "Use With Filter" option) with the following command types:
980</para>
981<itemizedlist>
982<listitem><para>Waypoints Inside This</para></listitem>
983<listitem><para>Waypoints Outside This</para></listitem>
984</itemizedlist>
985<para>
986The result is generated in a new Track/Waypoint layer.
987</para>
6928e16b 988</section>
036c28fc 989
dae48936
RN
990<section><title>Geotag Images</title>
991<para>
992This starts the Geotagging Images dialog using the specific track.
993See <link linkend="geotagging">Geotagging</link> for further detail.
994</para>
995</section>
996
f85716b8
RN
997<section><title>List Tracks or Routes</title>
998<para>
999Opens a new dialog with the list. As described in the Aggregrate layer <xref linkend="track_list"/>
1000</para>
1001</section>
1002
1003<section><title>List Waypoints</title>
1004<para>
1005Opens a new dialog with the list. As described in the Aggregrate layer <xref linkend="waypoint_list"/>
1006</para>
1007</section>
1008
036c28fc
RN
1009</section><!-- End TRW Layer Options -->
1010
179bfc90
RN
1011<section><title>Track and Route Sublayer Options</title>
1012<para>Repeats options available at the TrackWaypoint level, but only those for tracks and routes:</para>
1013<itemizedlist>
1014<listitem><para>Finish Track or Route. Same as the layer <link linkend="finish_track">Finish Track or Route</link></para></listitem>
1015<listitem><para>New Track or Route. Same as the layer <link linkend="new_track">New Track</link> or <link linkend="new_route">New Route</link></para></listitem>
1016<listitem><para>View All Tracks or Routes. Same as the layer <link linkend="track_view_all">View All Tracks</link> or <link linkend="route_view_all">View All Routes</link></para></listitem>
1017<listitem><para>Delete All Tracks or Routes. Same as the layer <link linkend="delete_all_tracks">Delete All Tracks</link> or <link linkend="delete_all_routes">Delete All Routes</link></para></listitem>
1018<listitem><para>Delete Tracks or Routes from Selection. Same as the layer <link linkend="delete_selection_tracks">Delete Tracks from Selection</link> or <link linkend="delete_selection_routes">Delete Routes from Selection</link></para></listitem>
f85716b8
RN
1019<listitem><para>List Tracks or Routes. Opens a new dialog with the list. As described in the Aggregrate layer <xref linkend="track_list"/></para></listitem>
1020</itemizedlist>
1021<para>Also gives other options for handling multiple items:</para>
1022<itemizedlist>
03c97bc3 1023<listitem><para>Sort. Gives the ability to sort the items in the treeview alphabetically or by date.</para></listitem>
f85716b8 1024<listitem><para>Visibility. Offers options to quickly control the visibility of all items within the sublayer, as per <xref linkend="vis_options"/></para></listitem>
179bfc90
RN
1025</itemizedlist>
1026</section>
1027
0f29139c 1028<section xreflabel="Track and Route Properties"><title>Track and Route Properties</title>
6928e16b 1029<para>
0f29139c
RN
1030This shows several tabs for properties and useful statistics about a track or a route, including elevation-distance and speed-time graphs (if data is available).
1031Moving the mouse pointer over the graph displays values related to that point along the track.
1032You can click on these graphs to jump to the point in the track.
1033You can reverse it, delete duplicates, split at marked position or split a track from its component segments (discontinuous breaks in a track) into separate tracks.
1034</para>
1035<section id='track_properties' xreflabel="Track and Route Properties"><title>Track and Route Properties Tab</title>
1036<para>
1037<figure>
1038<title>Properties Tab: Example</title>
1039<screenshot>
1040 <graphic format="PNG" fileref="figures/Track_properties.png"/>
1041</screenshot>
1042</figure>
1043</para>
1044</section>
1045<section id='track_statistics' xreflabel="Track and Route Statistics"><title>Track and Route Statistics Tab</title>
1046<para>
1047<figure>
1048<title>Statistics Tab: Example</title>
1049<screenshot>
1050 <graphic format="PNG" fileref="figures/Track_statistics.png"/>
1051</screenshot>
1052</figure>
1053</para>
1054</section>
1055<section id='track_elev_graphs' xreflabel="Track Elevation Graph"><title>Track Elevation Graph</title>
1056<para>
1057<figure>
1058<title>Elevation Distance Tab: Example</title>
1059<screenshot>
1060 <graphic format="PNG" fileref="figures/Track_elevation_graph.png"/>
1061</screenshot>
1062</figure>
6928e16b
GB
1063</para>
1064<para>
1065The following colors are used in the elevation-distance graph:
1066</para>
0ef60ec1
GB
1067<variablelist>
1068<varlistentry>
84017394 1069<term><emphasis>Main</emphasis> colour - this is dependent on your Desktop theme - often blue by default</term>
0ef60ec1
GB
1070<listitem><para>elevation data in graph</para></listitem>
1071</varlistentry>
1072<varlistentry>
1073<term>Yellow</term>
6928e16b 1074<listitem>
0ef60ec1 1075<para>no elevation data</para>
6928e16b 1076</listitem>
0ef60ec1
GB
1077</varlistentry>
1078<varlistentry>
1079<term>Green</term>
6928e16b 1080<listitem>
0ef60ec1 1081<para>elevation data from DEM</para>
6928e16b 1082</listitem>
0ef60ec1
GB
1083</varlistentry>
1084<varlistentry>
1085<term>Red</term>
6928e16b 1086<listitem>
0ef60ec1 1087<para>speed</para>
6928e16b 1088</listitem>
0ef60ec1
GB
1089</varlistentry>
1090</variablelist>
0f29139c 1091</section>
6928e16b 1092</section>
d45662d5 1093
c3eb4a65 1094<section><title>Track and Route Operations</title>
d45662d5 1095
179bfc90
RN
1096<section><title>Finish Track</title>
1097<para>
179bfc90
RN
1098Selecting this option ends the creation of the individual track.
1099</para>
4e859f76
GB
1100<note>
1101<para>
1102This is only available when a track is being created by the <xref linkend="track_create"/> tool.
1103</para>
1104</note>
179bfc90
RN
1105</section>
1106
d45662d5
RN
1107<section><title>Goto</title>
1108<para>
1109This centers the viewport on the selected position on the track:
1110</para>
1111<itemizedlist>
1112<listitem><para>Startpoint</para></listitem>
1113<listitem><para>"Center" - the notional center from the bounds of the track</para></listitem>
1114<listitem><para>Endpoint</para></listitem>
1115<listitem><para>Version1.1+: Highest Altitude</para></listitem>
1116<listitem><para>Version1.1+: Lowest Altitude</para></listitem>
c3eb4a65 1117<listitem><para>Version1.1+: Maximum Speed (Not Available on Routes)</para></listitem>
d45662d5
RN
1118</itemizedlist>
1119</section>
1120
1121<section><title>View</title>
1122<para>
1123Version1.1+: This centers the viewport on the track and selects the best zoom level to see it.
1124</para>
1125</section>
1126
9552af08 1127<section><title>Combine</title>
d45662d5 1128<section><title>Merge By Time</title>
0ef60ec1
GB
1129<para>
1130This operation repeatedly tries to merge the right-clicked track
6928e16b
GB
1131with tracks in the same TrackWaypoint layer. The tracks which are
1132merged are those which have at least one trackpoint less than some
1133threshold time away. This way, if you somehow end up with lots of small
1134segments (say, caused by turning the GPS on and off) you can merge them
0ef60ec1
GB
1135easily into one track.
1136</para>
4e859f76 1137<note>
c3eb4a65
RN
1138<para>
1139This is not available on routes as they have no timestamps.
1140</para>
4e859f76 1141</note>
d45662d5 1142</section>
6928e16b 1143
d45662d5
RN
1144<section><title>Merge With Other Tracks</title>
1145<para>
1146This opens a dialog listing the other tracks in the same TrackWaypoint layer, from which one can select the other tracks to merge with.
1147</para>
6928e16b 1148</section>
d45662d5 1149
9552af08
RN
1150<section><title>Merge Segments</title>
1151<para>
1152Combines track segments. Effectively removing track segment markers to leave one segment for the whole track.
1153</para>
1154</section>
1155
c3eb4a65 1156<section><title>Append Track or Route</title>
9552af08
RN
1157<para>
1158Enable joining of a single track to the end of the current track.
1159This opens a dialog listing the other tracks in the same TrackWaypoint layer from which one can make the selection.
1160</para>
1161</section>
1162</section>
1163
1164<section><title>Split</title>
d45662d5 1165<section><title>Split By Time</title>
6928e16b
GB
1166<para>
1167This operation will split a single track into segments wherever the
1168time interval between successive trackpoints is larger than some
1169threshold. This is useful when processing raw NMEA GPS data, especially
0ef60ec1
GB
1170taken over a long time.
1171</para>
4e859f76 1172<note>
c3eb4a65
RN
1173<para>
1174This is not available on routes as they have no timestamps.
1175</para>
4e859f76 1176</note>
6928e16b 1177</section>
d45662d5 1178
43e67498
RN
1179<section><title>Split By Number of Points</title>
1180<para>
1181Version1.2+: This operation will split a single track into segments by the number of points specified.
1182This can be useful with devices which may have limits on the number of points it supports.
1183</para>
1184</section>
1185
9552af08
RN
1186<section><title>Split Segments</title>
1187<para>
1188Splits track segments into new tracks.
1189</para>
4e859f76 1190<note>
c3eb4a65
RN
1191<para>
1192This is not available on routes as they do not have route segments.
1193</para>
4e859f76 1194</note>
9552af08
RN
1195</section>
1196
468f536d 1197<section id='trkpt_split' xreflabel="Split at Trackpoint"><title>Split at Trackpoint</title>
9552af08 1198<para>
4e859f76
GB
1199Splits the track at the currently selected trackpoint.
1200</para>
468f536d
RN
1201<para>
1202The current track will finish at this trackpoint.
1203A new track will start from a copy of this trackpoint.
1204</para>
4e859f76
GB
1205<note>
1206<para>
1207This is only enabled when a trackpoint is selected.
9552af08 1208</para>
4e859f76 1209</note>
9552af08
RN
1210</section>
1211</section>
1212
ec71b5b6
RN
1213<section><title>Insert Points</title>
1214<note>
1215<para>
1216These options are only enabled when a trackpoint is selected.
1217</para>
1218</note>
1219<section><title>Insert Point Before Selected Point</title>
1220<para>
1221Inserts a track point halfway between the previous track point and the current track point.
1222All track point properties are interpolated between the two points.
1223</para>
1224</section>
1225<section><title>Insert Point After Selected Point</title>
1226<para>
1227Inserts a track point halfway between the current track point and the next track point.
1228All track point properties are interpolated between the two points.
1229</para>
1230</section>
1231</section>
1232
9552af08 1233<section><title>Delete Points</title>
ec71b5b6
RN
1234<section><title>Delete Selected Point</title>
1235<para>
1236Deletes the currently selected track point.
1237</para>
1238<note>
1239<para>
1240This is only enabled when a trackpoint is selected.
1241</para>
1242</note>
1243</section>
9552af08
RN
1244<section><title>Delete Points With the Same Position</title>
1245<para>
1246Deletes subsequent points that have the same position (but have different timestamps).
1247</para>
1248</section>
1249<section><title>Delete Points With the Same Time</title>
1250<para>
1251Deletes subsequent points that have the same time stamp (but may have different positions).
1252</para>
4e859f76 1253<note>
c3eb4a65
RN
1254<para>
1255This is not available on routes as they have no timestamps.
1256</para>
4e859f76 1257</note>
9552af08
RN
1258</section>
1259
1260</section>
1261
62320d37 1262<section id="transform" xreflabel="Transform"><title>Transform</title>
c2368fa6
RN
1263<para>
1264These options alter the data of trackpoints of a track but not add or remove trackpoints.
1265And don't seem to fit any other category :)
1266</para>
6928e16b
GB
1267<section><title>Apply DEM data</title>
1268<para>
1269If any DEM data is loaded, this will apply the DEM data to give the track elevation data.
c2368fa6
RN
1270Two ways of applying DEM data are offered:
1271<orderedlist>
1272<listitem><para>Keep. Retains the existing elevation data of trackpoints and only those missing an elevation value are set.</para></listitem>
1273<listitem><para>Overwrite. Elevation data are set on all trackpoints even if they already elevation values.</para></listitem>
1274</orderedlist>
1275</para>
1276</section>
1277<section><title>Smooth Missing Elevation data</title>
1278<para>
1279In various locations across the world, there are missing DEM values (AKA DEM Holes) from the SRTM data.
1280This is particularly noticeable in mountainous areas.
1281Two ways of applying elevation data to trackpoints that do not have elevation values are offered:
1282<orderedlist>
1283<listitem><para>Interpolated. Missing elevation data is interpolated between the previous and next known values.</para></listitem>
1284<listitem><para>Flat. Elevation data is filled in from the last previously known value.</para></listitem>
1285</orderedlist>
1286</para>
1287</section>
1288<section>
1289<title>Convert to Track or Route</title>
1290<para>
1291If this is a Route then it will convert it to a Track.
1292</para>
1293<para>
1294If this is Track then convert it to a Route.
1295</para>
c2368fa6 1296<note>
6d07b697 1297<para>
c2368fa6 1298Converting from a Track to a Route may involve a loss of information, in particular timestamp values (hence you are required to confirm this operation before it happens).
6928e16b 1299</para>
6d07b697 1300</note>
d45662d5 1301</section>
c2368fa6
RN
1302<section>
1303<title>Anonymize Times</title>
1304<para>
1305Timestamp information of a track can be shifted to be all offset from 1901-01-01.
1306</para>
1307<para>
1308Thus the timestamps themselves will no longer reveal exactly when a track was taken.
1309However the relative difference between the timestamps is kept thus one is still able to calculate some properties such as speeds along the track.
1310</para>
c2368fa6 1311<note>
6d07b697 1312<para>
c2368fa6 1313This is not available for routes, as they have no timestamps.
c2368fa6 1314</para>
6d07b697 1315</note>
c2368fa6 1316</section>
38416654
RN
1317<section>
1318<title>Interpolate Times</title>
1319<para>
1320Trackpoint timestamps between the first and last points are calculated such that track is travelled at equal speed.
1321This is mostly useful when tracks don't have timestamps and you wish to recreate your trip (e.g. you've forgotten to turn on your GPS or the batteries have run out)
1322Thus edit the first and last trackpoints to set the approximate times of your trip and then use this to give approximate times along the track.
1323When used on tracks with timestamps this will overwrite the existing timestamps.
1324</para>
1325<note>
1326<para>
1327This is not available for routes, as they have no timestamps.
1328</para>
1329</note>
1330</section>
c2368fa6 1331</section>
6928e16b 1332
d45662d5
RN
1333<section><title>Export Track as GPX</title>
1334<para>
1335Version1.1+: This allows exporting the track as a GPX file by opening a file save dialog.
1336</para>
6928e16b 1337</section>
d45662d5
RN
1338
1339<section><title>Extend Track End</title>
6928e16b 1340<para>
d45662d5 1341Changes the current tool to add trackpoints to the end of the track.
6928e16b 1342</para>
d45662d5 1343</section>
6928e16b 1344
0db79fc5 1345<section><title>Extend Using Route Finder</title>
d45662d5 1346<para>
9f30939a 1347Enables the Route Finder tool. Thus on a subsequent left click in the viewport, a route is calculated from the end of track to that point using the default route service and applied to the track.
d45662d5 1348</para>
6928e16b 1349</section>
d45662d5 1350
364f9e0a
RN
1351<section><title>Upload</title>
1352
1353<section><title>Upload to GPS</title>
1354<para>
1355Same as the layer <link linkend="gps_upload">Upload to GPS</link> command, but only applies to the track.
1356</para>
1357</section>
1358
6928e16b
GB
1359<section><title>Upload to OSM</title>
1360<para>
73919102 1361Same as the layer <link linkend="osm_upload">Upload to OSM</link> command, but only applies to the track.
6928e16b 1362</para>
d45662d5 1363</section>
6928e16b 1364
364f9e0a
RN
1365</section>
1366
d45662d5
RN
1367<section><title>Use With Filter</title>
1368<para>
1369This selects the track to be used in the <link linkend="filter_with_track">Filter With <emphasis>Trackname</emphasis></link> feature.
1370</para>
4e859f76 1371<note>
c3eb4a65
RN
1372<para>
1373This is not available on routes.
1374</para>
4e859f76 1375</note>
6928e16b 1376</section>
d45662d5 1377
468f536d
RN
1378<section><title>Edit Trackpoint</title>
1379<para>
1380This opens the Trackpoint edit dialog. See <xref linkend="Trackpoint_edit"/>.
1381</para>
1382<note>
1383<para>
1384This is only enabled when a trackpoint is selected.
1385</para>
1386</note>
1387</section>
1388
1a3be6a8
GB
1389<section><title>Refine Route...</title>
1390<para>
1391This function allows to request a Routing Engine in order to refine a given route.
1392By "refining" we mean computing all real intermediates points between some given major points.
1393This could be useful to compute a trip giving only the wished important steps.
1394</para>
1395<note>
1396<para>
1397This is only available on routes.
1398</para>
1399</note>
1400</section>
1401
6928e16b 1402<section><title>View Google Directions</title>
0ef60ec1 1403<para>
0db79fc5 1404This option is only available on a track created using the Route Finder tool.
d45662d5
RN
1405</para>
1406<para>
1407Launch a web browser to see the Google directions page which yielded the route.
0ef60ec1
GB
1408</para>
1409<note>
1410<para>
0db79fc5 1411The record of the Google route is stored in the track's comment, so if the comment is changed (or the route was created by something other than the Route Finder tool) this will not work correctly.
6928e16b 1412</para>
0ef60ec1 1413</note>
6928e16b 1414</section>
55340efa 1415
d45662d5 1416</section><!-- End Track Options -->
cc1083b3 1417
179bfc90
RN
1418<section><title>Waypoint Sublayer Options</title>
1419<para>Repeats options available at the TrackWaypoint level, but only those for waypoints:</para>
1420<itemizedlist>
1421<listitem><para>New Waypoint. Same as the layer <link linkend="new_wp">New Waypoint</link></para></listitem>
1422<listitem><para>View All Waypoints. Same as the layer <link linkend="wp_view_all">View All Waypoints</link></para></listitem>
1423<listitem><para>Goto Waypoint. Same as the layer <link linkend="wp_goto">Goto Waypoint</link></para></listitem>
1424<listitem><para>Delete All Waypoints. Same as the layer <link linkend="delete_all_waypoints">Delete All Waypoints</link></para></listitem>
1425<listitem><para>Delete Waypoints from Selection. Same as the layer <link linkend="delete_selection_waypoints">Delete Waypoints from Selection</link></para></listitem>
f85716b8 1426<listitem><para>List Waypoints. Opens a new dialog with the list. As described in the Aggregrate layer <xref linkend="waypoint_list"/></para></listitem>
179bfc90 1427</itemizedlist>
03c97bc3
RN
1428<para>Also gives other options for handling multiple items:</para>
1429<itemizedlist>
1430<listitem><para>Sort. Gives the ability to sort the items in the treeview alphabetically or by date.</para></listitem>
1431<listitem><para>Visibility. Offers options to quickly control the visibility of all items within the sublayer, as per <xref linkend="vis_options"/></para></listitem>
1432</itemizedlist>
179bfc90
RN
1433</section>
1434
440ef68c
RN
1435<section><title>Waypoint Properties</title>
1436
1437<para>
1438This shows a dialog with detailed information for the waypoint. Many properties of the waypoint can changed here, such as the comment, the symbol used in drawing or the image (normally a photograph taken at this position) assiocated with it. When a waypoint has an image, a thumbnail of it is drawn in the viewport for the waypoint (in preference to the symbol).
1439</para>
dae48936
RN
1440<para>
1441If the waypoint has an associated image, then the Geotag information may be updated, either with updating the file's modification timestamp or not.
1442This can be useful when the waypoint has been moved.
1443</para>
440ef68c
RN
1444
1445</section><!-- WP Prop END -->
1446
6928e16b 1447<section><title>Waypoint Operations</title>
cc1083b3
RN
1448
1449<section><title>Goto</title>
6928e16b 1450<para>
cc1083b3 1451This centers the viewport on the selected waypoint.
6928e16b 1452</para>
cc1083b3 1453</section>
6928e16b 1454
41f4abac
RN
1455<section><title>Geotag Images...</title>
1456<para>
1457This opens the <link linkend="geotagging">Geotag Dialog</link> to allow Geotagging multiple images to the position of this waypoint.
1458In this circumstance creation of waypoint options are disabled and only the options related to writing the EXIF information are available.
1459</para>
1460</section>
1461
62320d37
RN
1462<section><title>Transform</title>
1463<para>
1464Offers a subset of the track <xref linkend="transform"/> utilities.
1465Currently only setting the altitude from DEM data methods are available.
1466</para>
1467</section>
1468
179bfc90
RN
1469<section><title>Visit Webpage</title>
1470<para>
84017394 1471If the waypoint's comment (or description) starts with <literal>http:</literal> then this option is available and allows launching a web browser to go to the webpage.
179bfc90
RN
1472</para>
1473</section>
1474
cc1083b3
RN
1475<section><title>Visit Geocache Webpage</title>
1476<para>
179bfc90 1477If the waypoint's name is in Geocache form (GCXXXXX) then this option is available and allows launching a web browser to go to the Geocache page.
cc1083b3 1478</para>
6928e16b
GB
1479</section>
1480
cc1083b3
RN
1481<section><title>New Waypoint</title>
1482<para>
1483Same as the layer <link linkend="new_wp">New Waypoint</link>.
1484</para>
6928e16b
GB
1485</section>
1486
cc1083b3
RN
1487</section><!-- WP END -->
1488
fef1084a 1489<section id="geotagging" xreflabel="Geotagging"><title>Version1.3+: Geotag Images</title>
dae48936 1490<para>
41f4abac 1491This dialog allows geotagging images (normally taken with a digital camera) against a specific waypoint or via interpolation against a specific track or all tracks in the TrackWaypoint layer - depending on how it is invoked.
dae48936
RN
1492</para>
1493<para>
41f4abac 1494When geotagging against tracks, images need to have an EXIF DATE_TIME_ORIGINAL (nearly always set by a camera). This timestamp is then used to find the location when the image(s) was taken by searching through the track(s) to find the nearest time - interpolating between points if necessary to set the location.
dae48936
RN
1495</para>
1496<note>
1497<para>
1498Generally it is good policy to synchronize your camera's clock with your GPS clock before taking photographs. However the times can be adjusted afterwards (if necessary) to take into consideration clock differences.
1499</para>
1500</note>
1501<para>
1502Various options allow control of how the geotagging process is performed:
1503</para>
1504<itemizedlist>
1505<listitem><para>Images - Add the images used for geotagging</para></listitem>
1506<listitem><para>Create Waypoints</para></listitem>
269865aa 1507<listitem><para>Overwrite Existing Waypoints</para></listitem>
dae48936
RN
1508<listitem><para>Write EXIF</para></listitem>
1509<listitem><para>Overwrite Existing GPS Information</para></listitem>
1510<listitem><para>Interpolate Between Track Segments</para></listitem>
1511<listitem><para>Image Time Offset - The number of seconds to ADD to the photos time to make it match the GPS data. Calculate this with (GPS - Photo). Can be negative or positive. Useful to adjust times when a camera's timestamp was incorrect.</para></listitem>
1512<listitem><para>Image Timezone - The timezone that the used when the images were created. For example, if a camera is set to AWST or +8:00 hours. Enter +8:00 here so that the correct adjustment to the images' time can be made. GPS data is always in UTC.</para></listitem>
1513</itemizedlist>
1514</section>
1515
036c28fc
RN
1516</section><!-- TRW Layer END -->
1517
6a997af7 1518<section id="GPS" xreflabel="GPS"><title>GPS Layer</title>
0ef60ec1 1519<para>
7233fcb6 1520The GPS layer is responsible for uploading and downloading GPS data
6928e16b 1521from a GPS device. It also is responsible for realtime GPS tracking.
c025f801 1522Expand the GPS layer in the layers panel to see the two <xref linkend="TrackWaypoint"/> layers it
6928e16b 1523uses for uploading and downloading. To upload, download, or use
7233fcb6 1524realtime tracking, right-click the GPS layer and click the appropiate
6928e16b
GB
1525menu item.
1526</para>
0ef60ec1 1527
6928e16b
GB
1528<section><title>Download</title>
1529<para>
7233fcb6 1530To download data from the GPS, right-click the GPS layer and click <guimenuitem>Download from GPS</guimenuitem>.
6928e16b 1531</para>
6928e16b 1532</section>
ca2f3f23 1533
6928e16b 1534<section><title>Upload</title>
0ef60ec1
GB
1535<para>
1536To upload data to the GPS, first populate the GPS Upload child
c3eb4a65
RN
1537layer of the GPS layer (either by creating waypoints/tracks/routes in it, or
1538copying and pasting or dragging waypoints/tracks/routes from another layer).
7233fcb6 1539Then right-click the GPS layer and click <guimenuitem>Upload to GPS</guimenuitem>.
6928e16b 1540</para>
6928e16b 1541</section>
ca2f3f23 1542
7233fcb6 1543<section><title>Realtime Tracking</title>
0ef60ec1
GB
1544<para>
1545You must set up gpsd correctly or use a GPSD server and put the
7233fcb6
RN
1546correct information in the GPS layer properties dialog. Then right-click
1547the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
6928e16b 1548</para>
6928e16b
GB
1549</section>
1550
ca2f3f23
RN
1551<section><title>Empty <emphasis>Item</emphasis></title>
1552<para>
1553There are several options to quickly delete a subsection of data:
1554</para>
1555<itemizedlist>
1556<listitem><para>Empty Realtime</para></listitem>
1557<listitem><para>Empty Upload</para></listitem>
1558<listitem><para>Empty Download</para></listitem>
1559<listitem><para>Empty All</para></listitem>
1560</itemizedlist>
6928e16b 1561</section>
ca2f3f23
RN
1562
1563</section><!-- End GPS -->
1564
6a997af7 1565<section id="DEM" xreflabel="DEM"><title>DEM (Digital Elevation Model) Layer</title>
6928e16b 1566<para>
6fa00cca 1567This layer provides elevation data from the <ulink url="http://www2.jpl.nasa.gov/srtm/">Shuttle Radar Topography Mission (SRTM)</ulink>
6928e16b 1568</para>
6fa00cca
RN
1569<para>
1570Elevation data can be useful in planning trips, as you many wish to avoid/minimise the hills encountered. [OSM Cyclemap is also useful this way too]
1571</para>
1572<para>
1573To download the data use the DEM Download tool (shown on the toolbar), and then click on a area of the viewport. Once files have been downloaded they can then be loaded from disk via the DEM properties in future application runs.
1574</para>
1575<para>
1576The current data server is: <ulink url="http://dds.cr.usgs.gov/srtm/version2_1/">NASA STRM 2.1</ulink>.
1577</para>
1578<para>
1579ATM &appname; does not auto download DEM data. If you want to get lots of data blocks, you may wish to use some other program get such as <application>curl</application> or <application>wget</application> to download them for an area.
1580</para>
1581<note>
1582<para>
1583Using many DEMs is CPU/memory intensive. Depending on your computer's capability, &appname; will be less responsive when about 50+ DEM blocks are loaded. It is probably unwise to attempt using 200+ blocks, so trying to use DEMs covering large countries/continents (USA, Australia etc...) is unlikely to work. In these conditions under Linux, &appname; may be automatically stopped by the "<ulink url="http://en.wikipedia.org/wiki/Out_of_memory/">OOM</ulink> Killer"
1584</para>
1585</note>
6928e16b 1586
6fa00cca 1587</section><!-- End DEM -->
6928e16b 1588
f1b908b1 1589
6a997af7 1590<section id="Maps" xreflabel="Maps"><title>Maps Layer</title>
f1b908b1 1591<para>
e6470810 1592This layer provides a single map resource, you may have multiple map layers but only top one (if enabled) will be visible (subject to the Alpha compositing property).
f1b908b1
RN
1593</para>
1594<para>
e6470810
RN
1595Some maps are continually improving over time (e.g. OpenStreetMap) thus &appname; employs a caching mechanism to avoid redownloading data (see <xref linkend="mapcache"/>).
1596However a forced refresh for the current view can be made via the <guilabel>Reload All Onscreen Maps</guilabel> option or <keycap>Ctrl+F5</keycap>.
f1b908b1 1597</para>
e6470810 1598<formalpara><title>Online Map Tile Providers</title>
f1b908b1 1599<para>
e6470810 1600You will need an open internet connection when you are downloading maps these following map types, but once downloaded they are available from the hard disk cache. When map are avaliable from the disk cache it is much faster and can be used offline.
263cedca 1601Inbuilt maps include various <ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> ones and more:
f1b908b1 1602</para>
e93a4034 1603</formalpara>
f1b908b1 1604<itemizedlist>
e2eb2a7b 1605<listitem><para>Bing Bird's Eye (Aerial) Maps (&appname; Version1.2+)</para></listitem>
f71b9997
RN
1606<listitem><para>OpenStreetMap (Mapquest) - This is the default (&appname; Version1.3+)</para></listitem>
1607<listitem><para>OpenStreetMap (Mapnik)</para></listitem>
f1b908b1 1608<listitem><para>OpenStreetMap (Cycle)</para></listitem>
f71b9997 1609<listitem><para>OpenStreetMap (Transport) (&appname; Version1.3+)</para></listitem>
263cedca 1610<listitem><para>OpenStreetMap (Humanitarian) (&appname; Version1.5+)</para></listitem>
f1b908b1 1611<listitem><para>NASA BlueMarble</para></listitem>
f1b908b1 1612</itemizedlist>
e6470810
RN
1613
1614<para>
1615&appname; can be configured to handle additional online map resources. See <xref linkend="extend_viking"/> for further detail.
1616</para>
1617
1618<formalpara><title>Offline Map Tilesets</title>
1619<para>
1620Some map types supported are for on disk tile formats:
1621</para>
e93a4034 1622</formalpara>
e6470810
RN
1623<itemizedlist>
1624<listitem>
1625 <para>On Disk OSM Tile Format</para>
1626 <para>This is equivalent to any map set with <emphasis>OSM</emphasis> Cache Layput.</para>
1627</listitem>
1628<listitem><para><ulink url="https://github.com/mapbox/mbtiles-spec">MBTiles File</ulink></para></listitem>
1629<listitem><para><ulink url="http://wiki.openstreetmap.org/wiki/Meta_tiles">OSM Metatiles</ulink></para></listitem>
1630</itemizedlist>
1631<para>
1632Of course you need to have acquired or generated these tilesets yourself.
1633</para>
f1b908b1 1634
e6470810 1635<section><title>Map Layer Properties</title>
f1b908b1 1636<para>
e6470810 1637Configurable properties:
f1b908b1 1638</para>
e6470810
RN
1639<itemizedlist>
1640<listitem>
1641 <para>Map Type. The kind of map this layer displays.</para>
1642 <note><para>Map types are dependent on the current <xref linkend="projection"/> mode.</para></note>
1643</listitem>
1644<listitem><para>Maps Directory. Not applicable for MBTiles Map type since it is a single file.</para></listitem>
1645<listitem><para>Cache Layout. Viking or OSM. See <xref linkend="mapcache"/>. Only applies to maps from online tile providers.</para></listitem>
1646<listitem><para>Map File. Ony applicable for MBTiles Map type since it is a single file.</para></listitem>
1647<listitem>
1648 <para>Alpha. Control the Alpha value for transparency effect using a value between 0 and 255 with the default being 255 for a fully solid image.</para>
1649 <para>Zero is fully transparent. A value of around 160 can be useful for blending views of multiple map layers (when applied to the upper most map layer).</para>
1650</listitem>
1651<listitem><para>Autodownload Maps. This can be useful to turn off when you are not online to avoid pointless download requests or may be keep a map in a 'historical' state.
1652e.g. perhaps in case a current map rendering is broken.</para></listitem>
1653<listitem><para>Autodownload Only Gets Missing Maps. Using this option avoids attempting to update already acquired tiles.
1654This can be useful if you want to restrict the network usage, without having to resort to manual control. Only applies when <emphasis>Autodownload Maps</emphasis> is on.</para></listitem>
1655<listitem><para>Zoom Level. Determines the method of displaying map tiles for the current zoom level.
1656<emphasis>Viking Zoom Level</emphasis> uses the best matching level, otherwise setting a fixed value will always use map tiles of the specified value regardless of the actual zoom level.</para></listitem>
1657</itemizedlist>
1658</section><!-- Map Prop END -->
1659
f1b908b1
RN
1660
1661<section><title>Layer Operations</title>
1662<section><title>Download Missing Onscreen Maps</title>
1663<para>
1664This requests map tiles for areas of the viewport that do not currently have one.
1665</para>
1666</section>
1667
1668<section><title>Download New Onscreen Maps</title>
1669<para>
1670This requests map tiles only if the maps are older than the Tile Age preference.
1671</para>
1672</section>
1673
1674<section><title>Reload All Onscreen Maps</title>
1675<para>
1676Force a refresh of all visible map tiles.
1677</para>
1678</section>
175e9bd0
RN
1679
1680<section><title>Download Maps in Zoom Levels</title>
1681<para>
1682This opens a dialog to enable requesting the download of maps for the region in the viewport over a specified number of zoom levels.
1683The download method type can be specified to help limit the number of requests.
1684</para>
1685<warning>
1686<para>
1687There are some inbuilt limits to prevent downloading large amounts of map tiles.
1688</para>
1689<para>
1690Please respect the usage policy of the tile set provider.
1691Such as <ulink url="http://wiki.openstreetmap.org/wiki/Tile_usage_policy"><citetitle>OSM Tile Usage Policy</citetitle></ulink>.
1692</para>
1693</warning>
1694<para>
1695<figure>
1696<title>Maps Download Dialog: Example</title>
1697<screenshot>
1698 <graphic format="PNG" fileref="figures/Maps_download_region_dialog.png"/>
1699</screenshot>
1700</figure>
1701</para>
1702</section>
f1b908b1
RN
1703</section>
1704
1705
1706</section><!-- End Maps -->
1707
6a997af7 1708<section id="Aggregate" xreflabel="Aggregate"><title>Aggregate Layer</title>
ce269944 1709<para>
8be6e73e 1710This layer is a container layer to hold other layers. There is always an initial and controlling <emphasis>Top Layer</emphasis> that can not be removed or renamed.
ce269944
RN
1711</para>
1712<para>
c025f801 1713This layer type is useful for grouping other layers, especially <xref linkend="TrackWaypoint"/> layers, in whatever categories are relevant to you: such as by activity, location or date.
ce269944
RN
1714Here are some suggestions:
1715<itemizedlist>
1716<listitem><para>Hiking</para></listitem>
1717<listitem><para>Mountain Biking</para></listitem>
1718<listitem><para>Road Cycling</para></listitem>
1719<listitem><para>Car Trips</para></listitem>
1720<listitem><para>Sailing</para></listitem>
1721<listitem><para>Holidays</para></listitem>
1722<listitem><para>UK Points of Interest</para></listitem>
1723<listitem><para>USA Points of Interest</para></listitem>
1724<listitem><para>etc...</para></listitem>
1725</itemizedlist>
1726</para>
1727<para>
1728Thus one can have a list of all your tracks, but groups can be shown or not using the relevant layers visibility checkbox.
1729</para>
1730
f85716b8 1731<section><title>Layer Operations</title>
ce269944 1732<para>
f85716b8 1733The following are available on Aggregate Layers:
ce269944 1734</para>
f85716b8 1735</section>
ce269944
RN
1736
1737<section><title>New Layer</title>
1738<para>
1739Add a new layer of the selected type.
1740</para>
1741</section>
1742
f85716b8
RN
1743<section id="sort_items" xreflabel="Sort"><title>Sort</title>
1744<para>
1745The list within the treeview can be sorted.
1746</para>
1747<para>
03c97bc3 1748Alphabetical and Date sorts are available.
f85716b8 1749</para>
03c97bc3
RN
1750<note>
1751<para>
1752Generally it is not useful to sort the Top most layer. Sort is mainly intended for Aggregate groups of TrackWaypoint layers.
1753</para>
1754</note>
f85716b8
RN
1755</section>
1756
1757<section id="track_list" xreflabel="Track List"><title>Track List</title>
1758<para>
1759Selecting this opens a dialog listing all the tracks in a table along side statistics such as track length and maximum speed.
1760Each column header is clickable and will reorder the list according to that particular column.
23a7ae3f 1761You can also rearrange the columns via dragging the column header to the new location.
f85716b8
RN
1762</para>
1763<para>
1764This table may be invoked from a variety of different layer levels and will then list only the relevant tracks (and/or routes).
1765<itemizedlist>
1766<listitem><para>Aggregate Layer: Lists Tracks and Routes and the TrackWaypoint Layer they are in</para></listitem>
1767<listitem><para>TrackWaypoint Layer: Lists Tracks and Routes</para></listitem>
1768<listitem><para>TrackWaypoint Track sublayer: Lists Tracks only</para></listitem>
1769<listitem><para>TrackWaypoint Route sublayer: Lists Routes only</para></listitem>
1770</itemizedlist>
1771</para>
1772<para>
1773<figure>
1774<title>Track List Dialog: Example</title>
af16464c
GB
1775<blockquote>
1776<para>
f85716b8
RN
1777This is showing all tracks and routes (although there are no actual routes here!) in multiple TrackWaypoint layers, that has been sorted by height.
1778Note that routes will not have timestamps or speeds, but may have elevations and should have some distance!
af16464c
GB
1779</para>
1780</blockquote>
f85716b8
RN
1781<screenshot>
1782 <graphic format="PNG" fileref="figures/LayersTracksList.png"/>
1783</screenshot>
1784</figure>
1785</para>
1786<para>
1787Hovering the mouse over an entry will show a tooltip of the comment or description if it is available.
1788</para>
1789<para>
1790Each entry in the track list can be selected and on mouse right click offers these options:
1791<itemizedlist>
1792<listitem><para>View. Move the viewport to the area of the item and highlight it.</para></listitem>
0f29139c 1793<listitem><para>Statistics. Opens the Properties dialog on the <xref linkend="track_statistics"/> tab. Note this will close the track list dialog.</para></listitem>
23a7ae3f 1794<listitem><para>Copy Data. Copy the data fields as text.</para></listitem>
f85716b8
RN
1795</itemizedlist>
1796</para>
23a7ae3f
RN
1797<para>
1798If multiple entries are selected the only right click option is <emphasis>Copy Data</emphasis>.
1799This copies the individual data fields as plain text separated by tab characters, ideal for pasting into other applications in particular spreadsheet programs.
1800Note that the order of the fields copied is the default column ordering (irrespective to how they may have been rearranged).
1801</para>
f85716b8
RN
1802</section>
1803
1804<section id="waypoint_list" xreflabel="Waypoint List"><title>Waypoint List</title>
1805<para>
1806Selecting this opens a dialog listing all the waypoints to give a overview of the waypoint information.
1807Each column header is clickable and will reorder the list according to that particular column.
23a7ae3f 1808You can also rearrange the columns via dragging the column header to the new location.
f85716b8
RN
1809</para>
1810<para>
1811This table may be invoked from a variety of different layer levels and will then list only the relevant waypoints.
1812<itemizedlist>
1813<listitem><para>Aggregate Layer: Lists Waypoints and the TrackWaypoint Layer they are in</para></listitem>
1814<listitem><para>TrackWaypoint Layer: : Lists Waypoints</para></listitem>
1815<listitem><para>TrackWaypoint Waypoint sublayer: Lists Waypoints</para></listitem>
1816</itemizedlist>
1817</para>
1818<para>
1819<figure>
1820<title>Waypoint List Dialog: Example</title>
af16464c
GB
1821<blockquote>
1822<para>
f85716b8 1823This was invoked on a TrackWaypoint layer and shows all waypoints from that single layer. It has been sorted by the symbols.
af16464c
GB
1824</para>
1825</blockquote>
f85716b8
RN
1826<screenshot>
1827 <graphic format="PNG" fileref="figures/WaypointsList.png"/>
1828</screenshot>
1829</figure>
1830</para>
1831<para>
1832Hovering the mouse over an entry will show a tooltip of the description if it is available.
1833</para>
1834<para>
1835Each entry in the list can be selected and on mouse right click offers these options:
1836<itemizedlist>
1837<listitem><para>View. Move the viewport to the area of the item and highlight it.</para></listitem>
1838<listitem><para>Properties. This will open the properties dialog. Note this will close the waypoint list dialog.</para></listitem>
1839<listitem><para>Show Picture. If enabled, this will open the associated image in an external Image Viewer program.</para></listitem>
23a7ae3f 1840<listitem><para>Copy Data. Copy the data fields as text.</para></listitem>
f85716b8
RN
1841</itemizedlist>
1842</para>
23a7ae3f
RN
1843<para>
1844If multiple entries are selected the only right click option is <emphasis>Copy Data</emphasis>.
1845This copies the individual data fields as plain text separated by tab characters, ideal for pasting into other applications in particular spreadsheet programs.
1846Note that the order of the fields copied is the default column ordering (irrespective to how they may have been rearranged).
1847</para>
f85716b8
RN
1848</section>
1849
1850<section id="vis_options" xreflabel="Visibility Options"><title>Visibility Options</title>
1851<para>
1852This offers a quick way to set all the visibilities of each item within the containing layer, rather than having to change each one individually.
1853<itemizedlist>
1854<listitem><para>Show All. Ensures all items are set to be visible.</para></listitem>
1855<listitem><para>Hide All. Ensures all items are set to be invisible. This is useful for then turning on single items afterwards so the display is not cluttered.</para></listitem>
1856<listitem><para>Toggle. Inverts the visibility status of each item.</para></listitem>
1857</itemizedlist>
1858</para>
1859</section>
1860
a77c32c8
RN
1861<section id="search_date" xreflabel="Search by Date"><title>Search by Date</title>
1862<para>
1863This opens calendar dialog to select a date to search by within this Aggregate layer.
1864The first item that is found on that date will be selected.
1865Tracks are searched first in preference over waypoints.
1866</para>
1867</section>
1868
ce269944
RN
1869</section><!-- End Agg -->
1870
8429176e 1871<xi:include href="georef_layer.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
ce269944 1872
e5ee3c87
RN
1873<xi:include href="mapnik_rendering_layer.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
1874
6a997af7 1875<section id="Coordinate" xreflabel="Coordinate"><title>Coordinate Layer</title>
ce269944
RN
1876<para>
1877This layer is allows drawing of grid lines on the viewport.
1878</para>
1879</section><!-- End Coord -->
1880
845a6b70 1881
fef1084a 1882<section id="tools" xreflabel="Tools"><title>Tools</title>
6928e16b 1883<para>
a2322aa1
RN
1884&appname;'s mouse actions on the viewport are controlled by which tool is active. Only one tool can be active at a time. The default mode is pan.
1885</para>
1886<para>
2348ca1b 1887You can use the scroll wheel, the middle-click, the middle-click+drag to zoom, center map at position and pan respectively no matter what tool you are using.
6928e16b
GB
1888</para>
1889<para>
0f67220f 1890<keycap>Scroll</keycap>: zoom in and out keeping the mouse over same location
6928e16b
GB
1891</para>
1892<para>
0f67220f 1893<keycap>Ctrl-scroll</keycap>: pan north-south (also <keycap>Ctrl-up</keycap>, <keycap>Ctrl-down</keycap>)
6928e16b
GB
1894</para>
1895<para>
0f67220f 1896<keycap>Shift-scroll</keycap>: pan east-west (also <keycap>Ctrl-left</keycap>, <keycap>Ctrl-right</keycap>)
6928e16b
GB
1897</para>
1898<para>
0f67220f 1899<keycap>Ctrl-shift-scroll</keycap>: zoom in and out, without changing the center (also <keycap>Ctrl+</keycap>, <keycap>Ctrl-</keycap> [*not* KeyPad +/-])
6928e16b
GB
1900</para>
1901<para>
0f67220f 1902<keycap>Middle-click</keycap>: make the clicked point on the map the center
6928e16b
GB
1903</para>
1904<para>
0f67220f 1905<keycap>Middle-click</keycap> and drag: pan
6928e16b 1906</para>
f95c9f7c 1907
e2eb2a7b
RN
1908<section><title>Pan</title>
1909<para>
a2322aa1
RN
1910This is the default mode of operation for &appname;.
1911</para>
1912<para>
1913This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/mover_22.png"/></guiicon>
1914</para>
1915<para>
e2eb2a7b
RN
1916Pan moves the viewpoint. A single click centers the viewport at that point, whereas click and drag dynamically moves the view around.
1917This is the default tool.
1918</para>
416c8737
RN
1919<para>
1920This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+P</keycap>
1921</para>
beb9d63a
RN
1922<para>
1923Double clicking the left mouse button will zoom the map in.
1924<keycap>Shift</keycap> + double clicking the left mouse button will zoom the map out.
1925Double clicking the right mouse button will also zoom the map out.
1926</para>
e2eb2a7b
RN
1927</section>
1928
6928e16b
GB
1929<section><title>Zoom</title>
1930<para>
a2322aa1
RN
1931This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/zoom_18.png"/></guiicon>
1932</para>
1933<para>
2eea9a36 1934Zooms in and out on the clicked part of the map or by the selected area.
6928e16b 1935</para>
416c8737
RN
1936<para>
1937This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+Z</keycap>
1938</para>
130ac805 1939<para>
0f67220f 1940<keycap>Ctrl</keycap> + left or right click: Zoom in/out and center the map on the clicked location
130ac805 1941</para>
2eea9a36 1942<para>
0f67220f 1943<keycap>Shift</keycap> (and hold) + left mouse button: Draws a bounding box area on which to zoom in. The zoom action is performed when the left mouse button is released.
2eea9a36 1944</para>
2067d6de
RN
1945<para>
1946<keycap>Shift</keycap> + left click button: Jump Zoom In by up to factor of 3 standard zooms.
1947</para>
1948<para>
1949<keycap>Shift</keycap> + right click button: Jump Zoom Out by up to factor of 3 standard zooms.
1950</para>
6928e16b 1951</section>
f95c9f7c 1952
6928e16b 1953<section><title>Ruler</title>
9ca89c29 1954<para>
a2322aa1
RN
1955This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/ruler_18.png"/></guiicon>
1956</para>
1957<para>
9ca89c29 1958The ruler is used to measure the bearing and distance between two points: Click on first point and then move the mouse point around - the values will be continually updated.
84017394 1959A second click will <emphasis>freeze</emphasis> the ruler at that point.
6928e16b 1960</para>
416c8737 1961<para>
6b59f63d 1962This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+U</keycap>
416c8737 1963</para>
6928e16b 1964</section>
f95c9f7c 1965
fef1084a 1966<section id="select" xreflabel="Select"><title>Version1.1+: Select</title>
e2eb2a7b 1967<para>
a2322aa1
RN
1968This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/select_18.png"/></guiicon>
1969</para>
1970<para>
e2eb2a7b
RN
1971The select tool allows one to choose any waypoint or track by clicking on it (or reasonably near) in the viewpoint.
1972</para>
1973<para>
1974ATM to select a track one must actually click on a trackpoint, which is also selected.
1975</para>
416c8737
RN
1976<para>
1977This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+S</keycap>
1978</para>
e2eb2a7b
RN
1979</section>
1980
6928e16b
GB
1981<section><title>TrackWaypoint Layer Tools</title>
1982<para>
6a997af7 1983You must have a <xref linkend="TrackWaypoint"/> Layer selected to use these tools.
6928e16b 1984</para>
fef1084a 1985<section id="createwptool" xreflabel="Create Waypoint"><title>Create Waypoint</title>
6928e16b 1986<para>
a2322aa1
RN
1987Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/addwp_18.png"/></guiicon>
1988</para>
1989<para>
f95c9f7c 1990Left click will open the new waypoint dialog using the specified position.
6928e16b 1991</para>
f95c9f7c
RN
1992</section>
1993
179bfc90 1994<section id="track_create" xreflabel="Create Track"><title>Create Track</title>
6928e16b 1995<para>
a2322aa1
RN
1996Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/addtr_18.png"/></guiicon>
1997</para>
1998<para>
f95c9f7c
RN
1999Left click to create a new trackpoint. If it's the initial trackpoint you will be asked to enter a name for the track.
2000If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
845a6b70 2001Right click or <keycap>Backspace</keycap>: undo one point.
6928e16b
GB
2002</para>
2003<para>
179bfc90
RN
2004Double click or <keycap>Escape</keycap>: to finish track creation.
2005Finishing the track is also available via the right click <xref linkend="TrackWaypoint"/> and track menus.
2006</para>
2007<para>
2008One must finish the current track to be able to create another track.
2009</para>
2010</section>
2011
2012<section id="route_create" xreflabel="Create Route"><title>Create Route</title>
2013<para>
2014Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/vik_new_route_18.png"/></guiicon>
2015</para>
2016<para>
2017This operates in exactly the same way as the <link linkend="track_create">Create Track</link> above.
2018</para>
2019<para>
2020One must finish the current route to be able to create another route.
6928e16b 2021</para>
d5b9bc1b
MH
2022<para>
2023One can switch between the <link linkend="route_create">Create Route</link> and <link linkend="route_finder">Route Finder</link> tools while editing routes.
2024</para>
2025</section>
2026
2027<section id="route_finder" xreflabel="Route Finder"><title>Create Route Using the Route Finder</title>
2028<para>
2029Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/route_finder_18.png"/></guiicon>
2030</para>
2031<para>
2032Requires an internet connection.
2033Left click to create a new trackpoint.
2034If it's the initial trackpoint you will be asked to enter a name for the route, otherwise the default routing engine will be queried to find a route to the new trackpoint.
2035Right click or <keycap>Backspace</keycap>: remove the last added route.
2036</para>
2037<para>
2038<keycap>Escape</keycap>: to finish route creation.
2039Finishing the track is also available via the right click <xref linkend="TrackWaypoint"/> and track menus.
2040</para>
2041<para>
2042One must finish the current route to be able to create another route.
2043</para>
2044<para>
2045One can switch between the <link linkend="route_create">Create Route</link> and <link linkend="route_finder">Route Finder</link> tools while editing routes.
2046</para>
6928e16b 2047</section>
f95c9f7c 2048
6928e16b
GB
2049<section><title>Edit Waypoint</title>
2050<para>
a2322aa1
RN
2051Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/edwp_18.png"/></guiicon>
2052</para>
2053<para>
f95c9f7c
RN
2054Left Click/drag: select/move a waypoint.
2055If <keycap>Ctrl</keycap> is held at the same time, it will jump the waypoint position to a nearby existing trackpoint.
2056If <keycap>Shift</keycap> is held at the same time, it will jump the waypoint position to a nearby existing waypoint.
6928e16b
GB
2057</para>
2058<para>Right-click on waypoint: opens a menu with waypoint actions (the
2059same menu accessed by right-clicking the waypoint in the layers panel)
2060</para>
6928e16b 2061</section>
f95c9f7c 2062
6928e16b
GB
2063<section><title>Edit Trackpoint</title>
2064<para>
a2322aa1
RN
2065Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/edtr_18.png"/></guiicon>
2066</para>
2067<para>
f95c9f7c
RN
2068Left click near a trackpoint (in screen pixel terms) to bring up the Track Point Edit dialog on that trackpoint.
2069Whilst the edit dialog is already open, left click again and drag enables moving of the trackpoint.
2070If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
6928e16b 2071</para>
468f536d 2072<section id="Trackpoint_edit" xreflabel="Edit Trackpoint Dialog"><title>Edit Trackpoint Dialog</title>
6928e16b 2073<para>
468f536d
RN
2074Editing options in the Trackpoint Edit dialog include:
2075<itemizedlist>
6d07b697
GB
2076<listitem><para>Edit the trackpoint name</para></listitem>
2077<listitem><para>Changing raw lat/long position and altitude</para></listitem>
2078<listitem><para>Forward (go to the next trackpoint)</para></listitem>
2079<listitem><para>Back (go to the previous trackpoint)</para></listitem>
2080<listitem><para>Delete</para></listitem>
2081<listitem><para>Insert. Inserts a point halfway to next trackpoint</para></listitem>
2082<listitem><para>Split. <xref linkend="trkpt_split"/></para></listitem>
468f536d
RN
2083</itemizedlist>
2084</para>
2085<para>
2086Several fields are read only for reference purposes, values are shown if the trackpoint has such information:
2087<itemizedlist>
6d07b697
GB
2088<listitem><para>Time.</para></listitem>
2089<listitem><para>Speed and course.</para></listitem>
2090<listitem><para>'Between' values: Speed, Time Difference and Distance Difference. When moving between trackpoints (via the Back and Forward buttons) these values are calculated.</para></listitem>
2091<listitem><para>GPS precision factors.</para></listitem>
468f536d
RN
2092</itemizedlist>
2093</para>
2094<para>
2095<figure>
2096<title>Trackpoint Edit Dialog: Example</title>
2097<screenshot>
2098 <graphic format="PNG" fileref="figures/Trackpoint_edit_dialog.png"/>
2099</screenshot>
2100</figure>
2101One must have been going downhill here to get a reasonable speed by bicycle!
6928e16b 2102</para>
6928e16b 2103</section>
468f536d 2104</section>
f95c9f7c 2105
6928e16b
GB
2106<section><title>Show Picture</title>
2107<para>
a2322aa1
RN
2108Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/showpic_18.png"/></guiicon>
2109</para>
2110<para>
f95c9f7c 2111Opens an image viewer with the picture associated with the waypoint.
73919102 2112By default this uses the default system image viewer.
fef1084a 2113For Linux you can override this with the setting in the <xref linkend="prefs_external"/>
6928e16b 2114</para>
6928e16b 2115</section>
f95c9f7c 2116
6928e16b 2117</section>
f95c9f7c 2118
31774047 2119<section id="georef_tools"><title>Georef Map Layer Tools</title>
6928e16b 2120<para>
6a997af7 2121You must have a <xref linkend="GeoRef"/> Map Layer selected to use these tools.
6928e16b
GB
2122</para>
2123<section><title>Georef zoom</title>
a2322aa1
RN
2124<para>
2125Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/geozoom_18.png"/></guiicon>
2126</para>
6928e16b 2127<para>Changes the zoom level of the georeferenced map and changes the
7233fcb6 2128&appname; zoom level accordingly. Useful if you are trying to match GPS
6928e16b
GB
2129data to a georeferenced map.
2130</para>
6928e16b 2131</section>
f95c9f7c 2132
6928e16b
GB
2133<section><title>Georef move</title>
2134<para>
a2322aa1
RN
2135Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/geomove_18.png"/></guiicon>
2136</para>
2137<para>
6928e16b
GB
2138Drag to move the georeferenced map.
2139</para>
6928e16b 2140</section>
6928e16b 2141</section>
f95c9f7c 2142
63396406 2143<section id="map_tool_dl" xreflabel="Map Download"><title>Map Download</title>
6928e16b 2144<para>
6a997af7 2145You must have a <xref linkend="Maps"/> Layer selected to use this.
f95c9f7c
RN
2146</para>
2147<para>
a2322aa1
RN
2148Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/mapdl_18.png"/></guiicon>
2149</para>
2150<para>
6928e16b
GB
2151Click to download a single tile. Drag to download tiles in the dragged rectangle area.
2152</para>
2153<para>
3988e165
RN
2154Right-click to redownload tiles via the selected method. Right-click and drag to redownload tiles in the dragged rectangle area by the selected method.
2155The possible methods to redownload one or more tiles are:
2156</para>
2157<para>
2158<itemizedlist>
2159<listitem><para>Bad - Only if the tile is corrupt in some way or missing, then this will download a new copy</para></listitem>
2160<listitem><para>New - Refresh the tile according to the local map cache and if server has a newer version</para></listitem>
2161<listitem><para>All - Redownload the tile</para></listitem>
2162</itemizedlist>
2163</para>
2164<formalpara><title>Map Tile Information</title>
2165<para>
5bcd6904 2166By right clicking on viewport and selecting <guimenu>Show Tile Information</guimenu> you can see the tile properties of this location for the current map layer and current zoom level.
3988e165
RN
2167This includes the remote source URL for the tile and the cached version on the local filesystem with timestamp details.
2168</para>
2169</formalpara>
2170<para>
2171<figure>
2172<title>Map Tile Info Dialog: Example</title>
2173<screenshot>
2174 <graphic format="PNG" fileref="figures/map_tile_info_dialog.png"/>
2175</screenshot>
2176</figure>
2177This is using MapQuest at &appname; zoom level 128 over the Isle of Wight, UK.
6928e16b 2178</para>
6928e16b 2179</section>
f95c9f7c 2180
6928e16b
GB
2181<section><title>DEM Download</title>
2182<para>
6a997af7 2183You must have a <xref linkend="DEM"/> Layer selected to use this.
f95c9f7c
RN
2184</para>
2185<para>
a2322aa1
RN
2186Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/demdl_18.png"/></guiicon>
2187</para>
2188<para>
6928e16b
GB
2189Click to download and import a DEM file.
2190</para>
131af8c0
RN
2191<formalpara><title>DEM File Information</title>
2192<para>
2193By right clicking on viewport and selecting <guimenu>Show DEM File Infomation</guimenu> you can see the file properties of the DEM file for this location.
2194This includes the remote source URL for the file and the cached version on the local filesystem with timestamp details.
2195</para>
2196</formalpara>
2197<para>
2198<figure>
2199<title>DEM File Info Dialog: Example</title>
2200<screenshot>
2201 <graphic format="PNG" fileref="figures/DEM_file_info_dialog.png"/>
2202</screenshot>
2203</figure>
2204This is for block 51N, 003W - covering Bristol in the UK.
2205</para>
6928e16b
GB
2206</section>
2207
7233fcb6 2208<section><title>Webtools</title>
5ab84304
GB
2209<para>
2210Many services are available only via a web browser (Google Maps, OpenStreetMap Potlach editor, etc.).
2211</para>
2212<para>
2213Jumping from &app; to such service can become annoying.
2214</para>
2215<para>
0ef60ec1 2216&appname; allows you to open such service directly at the position currently viewed in &app;.
5ab84304
GB
2217</para>
2218<para>
7233fcb6 2219This feature is called <guilabel>Webtools</guilabel>. It is also known as External Tools.
5ab84304 2220</para>
5ab84304
GB
2221</section>
2222
3e850af1 2223</section>
f95c9f7c 2224
0ef60ec1 2225<!-- Preferences -->
fef1084a 2226<section id="prefs" xreflabel="Preferences"><title>Preferences</title>
4cdc9eb3 2227<section><title>General</title>
3e850af1
GB
2228<section><title>Localisation</title>
2229<para>You can select units displayed by &appname; to best fit your usage.</para>
2230<figure>
2231<title>Properties dialog: units part</title>
2232<screenshot>
2233 <graphic format="PNG" fileref="figures/properties_units.png"/>
2234</screenshot>
2235</figure>
2236<para>Concerning degrees, you can select the way to display them:
2237<variablelist>
2238<varlistentry>
2239<term>DDD</term><listitem><para>decimal degree</para></listitem>
2240</varlistentry>
2241<varlistentry>
73919102 2242<term>DMM</term><listitem><para>partial sexagesimal display: degrees, minutes and decimal part of minutes</para></listitem>
3e850af1
GB
2243</varlistentry>
2244<varlistentry>
2245<term>DMS</term><listitem><para>sexagesimal display: degrees, minutes and seconds</para></listitem>
2246</varlistentry>
2247</variablelist>
2248</para>
2249<figure>
2250<title>Properties dialog: degree display options</title>
2251<screenshot>
2252 <graphic format="PNG" fileref="figures/properties_degree.png"/>
2253</screenshot>
2254</figure>
2255</section>
4cdc9eb3
RN
2256<section><title>Waypoint Icon Size</title>
2257<para>An option exists to control the icon (symbol) size used for waypoints
2258</para>
2259</section>
84017394
GB
2260<section><title><emphasis>Home</emphasis> Default Location: Latitude and Longitude</title>
2261<para>You can set the <emphasis>Home</emphasis> location directly by inputting the latitude and longitude in decimal degrees.
4cdc9eb3
RN
2262</para>
2263</section>
0d71f232
RN
2264<section><title>Time Display</title>
2265<para>This controls the reference timezone that times are shown in.</para>
2266<para><emphasis>Locale</emphasis> is the current user's system preference. This was how all times were shown up to version 1.5.</para>
2267<para><emphasis>World</emphasis> will attempt to determine the timezone at an object's position.</para>
2268<para><emphasis>UTC</emphasis> enforces this standard timezone.</para>
2269</section>
a067ca58
GB
2270<section><title>Tile's age</title>
2271<para>This age is used to decided wether or not a new request to tile server must be done.
2272</para>
2273<para>Changing this value, you will increase or decrese the network load.</para>
2274</section>
0d71f232 2275<section><title>Default map layer directory</title>
897e919b
GB
2276<para>This property sets the default directory of the tiles cache.
2277This value is used when you create a new map layer.
2278</para>
2279<para>You are still able to change this value in each map layer properties.</para>
2280</section>
4cdc9eb3
RN
2281<section><title>Map Cache Memory Size</title>
2282<para>This controls the amount of maps that are stored in memory, rather than having to reread from disk.
2283Generally if you have a system with lots of memory it's recommended to increase this value.
2284</para>
2285</section>
2286</section>
2287
fef1084a 2288<section id="prefs_external" xreflabel="Export/External Preferences"><title>Export/External</title>
4cdc9eb3
RN
2289<section><title>KML Export Units</title>
2290<para>Allows setting the units used when saved as the KML file type, such as Metric or Statue units</para>
2291</section>
fc8158c1
RN
2292<section><title>GPX Track Order</title>
2293<para>
2294 Other software may display tracks in a particular order (often the order saved into the file).
2295 This allows you to control the order they are saved when exporting to a GPX file.
2296</para>
2297</section>
2298<section><title>GPX Waypoint Symbols</title>
2299<para>Some GPS devices require waypoint symbols to be in a particular case.</para>
2300<para>E.g. On a Garmin Oregon 450 they must be in <emphasis>Title Case</emphasis> to be recognized.</para>
2301</section>
4cdc9eb3
RN
2302<section><title>Image Viewer (Not Windows)</title>
2303<para>Allows setting the program used to view images associated with Waypoints.</para>
73919102 2304<para>By default this is set to <application>xdg-open</application> which should open the system's default image viewer, however this can be overridden with this setting.</para>
4cdc9eb3
RN
2305<para>Note: for Windows systems, viewing images associated with Waypoints always uses the system's default image viewer.</para>
2306</section>
2307<section><title>External GPX programs</title>
c025f801 2308<para>Allows setting the programs invoked via the <xref linkend="TrackWaypoint"/> Layer menu <menuchoice><guimenu>Export Layer</guimenu><guisubmenu>Open With 'program'</guisubmenu></menuchoice></para>
4cdc9eb3 2309<para>Two options are given so that it can be configured for various uses such as:</para>
9d097bf5 2310<itemizedlist>
4cdc9eb3 2311<listitem><para>An OSM editor (default)</para></listitem>
4cdc9eb3 2312<listitem><para>Some other user defined program</para></listitem>
9d097bf5 2313</itemizedlist>
4cdc9eb3 2314</section>
f2e987af
RN
2315<section><title>GPSBabel</title>
2316<para>This allows setting the specific location of GPSBabel.</para>
2317<para>&appname; will need to be restarted for this setting to take effect.</para>
2318</section>
31774047
RN
2319<section><title>Auto Read World Files</title>
2320<para>If this is on, when a new image is selected for the GeoRef layer then the associated world file will be read to find the scale and positional properties.</para>
2321<para>The associated file is based on filename patterns; e.g. if the image is <filename>filename.jpg</filename> - then the world file may be <filename>filename.jpgw</filename> or <filename>filename.jgw</filename></para>
2322</section>
6928e16b 2323</section>
4cdc9eb3 2324
4265bed7
RN
2325<section id="prefs_advanced" xreflabel="Advanced Preferences"><title>Advanced</title>
2326<section><title>Save File Reference Mode</title>
2327<para>
2328 Files referenced within project files can be saved with either absolute or relative paths.
2329 Using relative paths can be useful when copying the project file and the associated files between different systems.
2330</para>
2331</section>
2332<section><title>Ask for Name before Track Creation</title>
2333<para>A setting to control whether an automatic name is used when creating a new track or route, or whether you are asked to enter a name.</para>
2334</section>
2335<section><title>Show Tooltip during Track Creation</title>
2336<para>A setting to control whether the tooltip with the cumulative track or route distance is shown when creating tracks and routes.</para>
2337</section>
2338<section><title>The number of recent files</title>
2339<para>
2340 The number of recent files shown in the <menuchoice><guimenu>File</guimenu><guisubmenu>Open Recent File</guisubmenu></menuchoice> menu.
2341 A value of -1 means all files. The new value applies to New Windows only (or on application restart).
2342</para>
2343</section>
2344</section>
2345
fef1084a 2346<section id="prefs_osm" xreflabel="OpenStreetMap Traces Preferences"><title>OpenStreetMap Traces</title>
4cdc9eb3 2347<section><title>OSM Username + Password</title>
fef1084a 2348<para>Store your OSM details here, so that you don't need to enter it in every time in the <xref linkend="osm_upload"/> procedure.</para>
9d097bf5
GB
2349<warning>
2350<para>
2351Your OSM password will be stored in plain text.
2352</para>
2353</warning>
4cdc9eb3
RN
2354</section>
2355</section>
2356
e5ee3c87
RN
2357<section id="prefs_mapnik" xreflabel="Mapnik Preferences"><title>Mapnik</title>
2358<note>
2359<para>If any changes to these settings are made, you will need to restart &appname; to make them be applied.
2360</para>
2361</note>
2362<section><title>Plugins Directory</title>
2363<para>The location of Mapnik plugins. An attempt is made to automatically determine the initial value,
2364 however if this is wrong or Mapnik is upgraded then the directory can be set here.</para>
2365</section>
2366<section><title>Fonts Directory</title>
2367<para>
2368The location of fonts for use with Mapnik. Normally it is best to simply use the System's font directory.
2369</para>
2370</section>
2371<section><title>Recurse Fonts Directory</title>
2372<para>Load fonts in any sub-directories of the main font directory.</para>
2373</section>
2374<section><title>Rerender Timeout</title>
2375<para>The time in hours before any tile is rerendered.</para>
2376<para>This is useful in case the underlying source data for the tiles changes (e.g. OSM data is continually evovling).
2377 &appname; normally has no way of knowing when the data has changed, so this simple timeout method is provided to maintain consistency of the tile images.</para>
2378</section>
2379<section><title>CartoCSS</title>
2380<para>This allows setting the specific location of the <emphasis>carto</emphasis> executable.</para>
2381</section>
a8374fcb
RN
2382<section><title>Threads</title>
2383<para>
2384 The number of threads to use for Mapnik rendering tasks.
2385 By default the value is set to the 1 in case of any multi-threading rendering code chain crashes.
2386 Otherwise trying setting the value to the number of the CPUs of the system minus one (so as not to overload the system), in order to minimise the overall rendering times.
2387</para>
2388</section>
e5ee3c87
RN
2389</section>
2390
9f30939a
GB
2391<section id="prefs_routing" xreflabel="Routing Preferences"><title>Routing</title>
2392<section><title>Routing engine</title>
2393<para>You can select the routing engine used by default, ie by features that do not propose a live selection, like <xref linkend="route_finder"/>.</para>
2394</section>
2395</section>
2396
6db85a50
RN
2397<section id="prefs_startup" xreflabel="Startup Preferences"><title>Startup</title>
2398<para>Naturally since these preferences effect the startup, the values will not be used until &appname; is restarted.</para>
2399<section><title>Restore Window Setup</title>
2400<para>When this is enabled, the main window size and layout (such as whether the statusbar or layers panel are shown) is restored to the values from last use.</para>
2401</section>
2402<section><title>Default Map Layer</title>
2403<para>When this is enabled, a map layer is automatically added whenever &appname; is opened and a &appname; file is not to be loaded.</para>
2404<para>The map layer used is defined by the map layer's default values.</para>
2405</section>
2406<section><title>Startup Method</title>
2407<para>Enables selection of how the startup position should be determined.</para>
2408<itemizedlist>
2409<listitem><para>Home Location (default) - Position as set by the <guilabel>Set the Default Location</guilabel></para></listitem>
2410<listitem><para>Last Location - Uses the last position viewed on the viewport</para></listitem>
2411<listitem><para>Specified File - Load the file as specified below</para></listitem>
2412<listitem><para>Auto Location - Use the web service <ulink url="http://www.hostip.info">hostip.info</ulink> to attempt to determine your location via IP lookup</para></listitem>
2413</itemizedlist>
2414</section>
2415<section><title>Startup File</title>
2416<para>Loads this specified file when the Startup method is set to <guilabel>Specified File</guilabel></para>
2417</section>
2418<section><title>Check For New Version</title>
2419<para>Periodically (no more than once every 14 days), check to see if there is a new version of &appname; available.</para>
2420</section>
2421</section>
2422
699c2a0a
RN
2423<section id="prefs_toolbar" xreflabel="Toolbar Preferences"><title>Toolbar</title>
2424<section><title>Append to Menu</title>
2425<para>Allows setting the toolbar on the same vertical space as the menu, thus increasing vertical space for the map.</para>
2426</section>
2427<section><title>Icon Size</title>
2428<para>Allows configuration of the icon size, including overiding the system's default preference to the setting desired just for &appname;</para>
2429</section>
2430<section><title>Icon Style</title>
2431<para>Allows configuration of the icon style, including overiding the system's default preference to the setting desired just for &appname;</para>
2432</section>
2433<section id="prefs_toolbar_customize" xreflabel="Customize Toolbar"><title>Customize</title>
2434<para>Opens the Customize Toolbar dialog.</para>
2435<para>From this dialog the items in the toolbar can be added, removed and reordered. Reordering of items is performed by drag and drop.</para>
2436<figure>
2437<title>Customize Toolbar dialog</title>
2438<screenshot>
2439 <graphic format="PNG" fileref="figures/customize_toolbar_dialog.png"/>
2440</screenshot>
2441</figure>
2442</section>
2443</section>
2444
4cdc9eb3
RN
2445</section>
2446
2447<!-- HOWTOS-->
b088c7a0 2448<section><title>Howto's</title>
519414cf 2449<section id="howto_start"><title>Getting Started</title>
6928e16b 2450<para>
6db85a50
RN
2451&appname; from version 1.5 has several features to ease the start up process.
2452On the very first run, you will be asked if you want to enable these features which make use of an Internet connection.
2453If you select no or you have upgraded from an earlier version you can choose to enable any of the startup options via the <xref linkend="prefs_startup"/>.
2454</para>
2455<para>
2456Some other general use cases for using &appname;, are as follows:
6928e16b
GB
2457</para>
2458<section><title>Go to an area of interest</title>
2459<para>
519414cf 2460&appname;'s default location is a Manhatten, New York, USA, so you may need to pick another place that interests you - such as where you live.
6928e16b 2461</para>
0ef60ec1
GB
2462<procedure>
2463<title>Method A</title>
2464<step>
6928e16b 2465<para>
519414cf 2466 Use the online location address/place search.
6928e16b 2467</para>
519414cf
RN
2468<para>
2469 Use the <guibutton>Go to Location</guibutton> toolbar button or from the menus
2470 <menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>.
2471 You can change the search location provider if desired.
2472 Enter the name of place you wish to go to (you may need to specify the country to refine the search).
2473 Also you can enter a post code or a ZIP code instead.
2474</para>
2475<note>
2476 <para>You will need an internet connection for this search to work</para>
2477</note>
0ef60ec1
GB
2478</step>
2479</procedure>
2480<procedure>
2481<title>Method B</title>
2482<step>
519414cf
RN
2483<para>
2484 If you know the coordinates of where you want to view:
2485</para>
2486<para>
2487Use <menuchoice><guimenu>View</guimenu></menuchoice> and select from either <menuchoice><guimenu>Go to Lat/Lon</guimenu></menuchoice> or <menuchoice><guimenu>Go to UTM</guimenu></menuchoice> and then enter in the specific coordinates.
2488</para>
2489</step>
2490</procedure>
2491<procedure>
7bb499bc 2492<title id="method_c">Method C</title>
519414cf 2493<step>
7233fcb6
RN
2494<para>Use the GPS Layer or <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
2495to load data directly from your GPS into &appname;.
519414cf 2496</para>
c3eb4a65 2497<para>You can specify the types of data to acquire: Tracks, Routes and/or Waypoints.
0ef60ec1 2498</para>
7233fcb6 2499<note>
519414cf
RN
2500<para>You must have write permission to the port used. For <trademark>Unix</trademark> like OS:</para>
2501<itemizedlist>
2502 <listitem><para>/dev/ttyS0 is the first serial port</para></listitem>
2503 <listitem><para>/dev/ttyUSB0 is the first USB port</para></listitem>
2504 <listitem><para>usb: is any USB port</para></listitem>
2505</itemizedlist>
2506<para>Depending on your distribution only one of the USB port types may work</para>
2507<para>For <trademark>Windows</trademark>:</para>
2508<itemizedlist>
2509 <listitem><para>com1: is the first serial port</para></listitem>
2510 <listitem><para>usb: is any USB port</para></listitem>
2511</itemizedlist>
2512</note>
2513<note>
2514 <para>The GPS devices supported are those supported by <application>GPSBabel</application>.</para>
2515 <para>Garmin and Magellan GPS devices supported by all versions, later versions of GPSBabel support more devices such as DeLorme and Navilink.</para>
7233fcb6 2516</note>
0ef60ec1
GB
2517</step>
2518</procedure>
2519<procedure>
519414cf 2520<title>Method D</title>
0ef60ec1 2521<step>
76b8a4e8
RN
2522<para>
2523Get data from files in GPX or KML format, which can be opened directly.
2524Use <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>
6928e16b
GB
2525</para>
2526<para>
76b8a4e8
RN
2527Other formats can be imported that are supported by GPSBabel.
2528<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel...</guimenuitem></menuchoice>
6928e16b 2529</para>
a364c076 2530<note>
6928e16b 2531<para>
a364c076 2532The viewport will be automatically moved and resized to view the contents of the file.
6928e16b 2533</para>
a364c076 2534</note>
0ef60ec1
GB
2535</step>
2536</procedure>
6928e16b 2537</section>
c3a02429 2538<section><title>Add a Map Layer</title>
6928e16b 2539<para>
c3a02429 2540Use <menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice>, and choose a suitable cache directory
0ef60ec1 2541where you would like to store your tracks and click <guilabel>OK</guilabel>. Zoom to a
6928e16b
GB
2542comfortable level (I suggest 4 mpp) by clicking the left and right
2543mouse buttons on the gray area where your tracks are. Now from the menu
c3a02429 2544choose the <xref linkend="map_tool_dl"/> Tool. Click where you would like to download a
6928e16b
GB
2545map. Regardless of what tool you are using, the middle mouse button
2546always pans. </para>
0ef60ec1 2547<note>
6928e16b 2548<para>
9ca89c29 2549You need an open internet connection when you are downloading maps.
6928e16b 2550</para>
0ef60ec1 2551</note>
6928e16b 2552<para>
c3a02429
RN
2553If you can no longer see your tracks or waypoints and only the map,
2554it is because the layer named <emphasis>Map</emphasis> is <emphasis>ABOVE</emphasis> your TrackWaypoint layer that your GPS data is in.
2555This means that it will be drawn last and on top of the other <xref linkend="gc_layers"/>.
2556Look at the <xref linkend="gc_layers_panel"/> to the left which shows this order.
2557Select the Map layer from the list and click the down arrow button beneath the list until the Map layer is below the TrackWaypoint layer.
2558Your tracks will now be drawn over the map.
2559</para>
519414cf 2560</section>
6928e16b 2561
519414cf
RN
2562<section><title>Set Your Home Location</title>
2563<para>
2564 You can save the current center position of the viewport as the default location AKA the Home Location by
2565 <menuchoice><guimenu>Edit</guimenu><guimenuitem>Set the Default Location</guimenuitem></menuchoice>.
2566</para>
2567<para>
2568 Then at any time you can return to this place by clicking on the <guibutton>Home</guibutton> icon on the toolbar.
2569</para>
2570<para>
fef1084a 2571 You can also set the default location via specifing the exact latitude and longitude in the <xref linkend="prefs"/>.
519414cf 2572</para>
6928e16b
GB
2573</section>
2574
2575</section>
7233fcb6 2576<section><title>From 1st startup to GPS track (including offline maps)</title>
6928e16b 2577<para>
7233fcb6 2578The first you'll see is an empty map, because &appname; in its default configuration will download maps only on demand.
84017394 2579Before fetching unneeded data, one can position to a location of interest, e.g. Stuttgart: <menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter <userinput>Stuttgart</userinput>.
6928e16b 2580</para>
6928e16b
GB
2581<section><title>Fetching the maps</title>
2582<para>
0ef60ec1 2583<emphasis role="bold">Map</emphasis>
6928e16b 2584</para>
0ef60ec1 2585<procedure>
7233fcb6 2586<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82 2587<step><para>in the layer properties dialogue choose e.g. <guilabel>OpenStreetMap (Mapnik)</guilabel>.</para></step>
0ef60ec1 2588<step>
4502fc82
GB
2589<para>For the moment, we keep the default <guilabel>Maps Directory</guilabel> (the directory in
2590which the maps will be stored and can be used for offline usage).</para>
0ef60ec1
GB
2591</step>
2592<step>
2593<para>Check <guilabel>Autodownload maps</guilabel> and keep the zoom level as <guilabel>Use Viking
2594Zoom Level</guilabel>.</para>
2595<note>
2596<para>
2597however, that these settings will play an important
2598role in the pre-fetch for offline usage discussed later
2599</para>
2600</note>
2601</step>
2602</procedure>
6928e16b 2603<para>You'll see a map of Stuttgart. Using the mouse wheel, you can
73919102 2604zoom in and out. The maps for the choosen resolution will be downloaded
6928e16b
GB
2605automatically.
2606</para>
2607<para>
7233fcb6 2608<emphasis role="bold">DEM Layer (Height Map)</emphasis>
4502fc82 2609</para>
0ef60ec1 2610<procedure>
7233fcb6
RN
2611<step><para>Zoom out to 512.</para></step>
2612<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New DEM Layer</guimenuitem></menuchoice></para></step>
4502fc82 2613<step><para>Keep the download source as is (SRTM Global 90m), hit <guilabel>OK</guilabel>.</para></step>
0ef60ec1 2614</procedure>
4502fc82 2615
6a997af7 2616<para>In the layer listing on the left, the <xref linkend="DEM"/> layer should reside
6928e16b 2617above the map layer. If this is not the case, highlight the DEM layer
0ef60ec1 2618an shift it one up (using the arrow up button).
4502fc82 2619</para>
0ef60ec1 2620<procedure>
4502fc82
GB
2621<step><para>highlight the DEM layer in the layer listing on the left</para></step>
2622<step><para>in the toolbar, check DEM layer download/import (the last symbol)</para></step>
2623<step><para>a left-click in the map window should then fetch the DEM data</para></step>
0ef60ec1 2624</procedure>
0ef60ec1 2625<para>
7233fcb6 2626This might take some time.
6928e16b
GB
2627</para>
2628<para>
2629Sometimes, a tile does not show up correctly (you might see only a
2630black frame in the map window) because it got corrupted during
0ef60ec1 2631transfer. In order to correct this, you can delete the corresponding
7233fcb6 2632datafile in the cache. <programlisting> right-click the DEM layer properties</programlisting>
6928e16b
GB
2633</para>
2634<para>
0ef60ec1 2635The <guilabel>DEM Files</guilabel> listing allows you to delete the specific tiles (alternatively do this from the command line).
6928e16b
GB
2636</para>
2637<para>
0ef60ec1 2638You can also alter the Min. and Max. elevation in this dialogue.
6928e16b
GB
2639</para>
2640
2641</section>
7233fcb6 2642<section><title>GPS Track with Height Profile</title>
0ef60ec1 2643<procedure>
6a997af7 2644<step><para>Uncheck the <xref linkend="DEM"/> layer (the map is shown again)</para></step>
7233fcb6 2645<step>
73919102
RN
2646 <para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New TrackWaypoint Layer</guimenuitem></menuchoice></para>
2647 <para>Ensure the new track layer is above the map layer.</para>
2648</step>
6a997af7 2649<step><para>Expand the <xref linkend="TrackWaypoint"/> layer, select <guimenuitem>Tracks</guimenuitem></para></step>
c3eb4a65 2650<step><para>In the tools menu choose <guiicon><inlinegraphic fileref="figures/addtr_18.png"/></guiicon> <guibutton>Create Track</guibutton>
7233fcb6 2651</para></step>
73919102
RN
2652<step><para>Leftclick in the map window, enter a name</para></step>
2653<step>
2654 <para>Click several times to generate a track (a right-click removes the last point).</para>
2655 <para>Height data is set automatically since DEM data is available</para>
2656</step>
2657<step><para>Expand tracks in the layer menu, your track should show up, select it</para></step>
2658<step><para>Right click your track, select <guimenuitem>Properties</guimenuitem></para></step>
2659<step><para>Click the tab <guilabel>Elevation-distance</guilabel> - enjoy the plot</para></step>
0ef60ec1 2660</procedure>
6928e16b 2661<para>
0ef60ec1 2662In order to save this setting for later usage
4502fc82 2663</para>
0ef60ec1 2664<procedure>
7233fcb6
RN
2665<step><para>click <guilabel>OK</guilabel> in the <guilabel>Track Properties</guilabel> dialog</para></step>
2666<step><para><menuchoice><guimenu>File</guimenu><guimenuitem>Save As</guimenuitem></menuchoice>, choose a name (you can open this <emphasis>view</emphasis> later via <menuchoice><guimenu>file</guimenu><guimenuitem>Open</guimenuitem></menuchoice>).</para></step>
0ef60ec1 2667</procedure>
6928e16b
GB
2668
2669</section>
2670<section><title>Usecase: offline data for holiday</title>
2671<para>
6a997af7 2672Suppose you want to have the <xref linkend="Maps"/> and <xref linkend="DEM"/> data offline for your holiday in Italy near Bologna.
0ef60ec1
GB
2673</para>
2674<procedure>
7233fcb6
RN
2675<step><para>Start a new &appname; session.</para></step>
2676<step><para><menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter Bologna</para></step>
2677<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82
GB
2678<step><para>Choose e.g. <guilabel>OpenStreetMap (mapnik)</guilabel>.</para></step>
2679<step><para>adapt the <guilabel>maps directory</guilabel> e.g. to <filename>/home/user/.viking-map-holiday/</filename>.
0ef60ec1 2680This allows you to delete the map stuff after holiday without purging the rest of your maps.
4502fc82
GB
2681</para></step>
2682<step><para>check <guilabel>autodownload map</guilabel></para></step>
2683<step><para>keep <guilabel>viking zoom level</guilabel></para></step>
7233fcb6 2684<step><para>zoom out to 1024</para></step>
6a997af7 2685<step><para>add a <xref linkend="DEM"/> layer (as discussed above)</para></step>
4502fc82 2686<step><para>download the DEM data</para></step>
0ef60ec1
GB
2687</procedure>
2688<para>In the &app; version discussed here, the DEM data automatically
2689are stored in <filename>/home/user/.viking-maps/</filename>. You can move the corresponding
2690tiles into <filename>.viking-map-holiday/</filename> if you like.
2691</para>
2692<para>
2693<emphasis role="bold">Download map data for all zoom levels</emphasis>
2694</para>
2695<procedure>
4502fc82
GB
2696<step><para>uncheck the DEM layer for the map to show up</para></step>
2697<step><para>navigate the map to be centered at Bologna</para></step>
7233fcb6 2698<step><para>choose the zoom such, that all regions of interest are displayed in the map window (e.g. 1024)</para></step>
0ef60ec1
GB
2699<step>
2700<para>follow this sequence until you have all tiles for all zoom levels you need</para>
2701<substeps>
7233fcb6 2702<step><para>right-click the map layer properties</para></step>
4502fc82 2703<step><para>set the zoomlevel explicitely one below the last (in the first cycle 512), hit OK</para></step>
7233fcb6
RN
2704<step><para>right click the map layer <guimenuitem>Download Missing Onscreen Maps</guimenuitem></para></step>
2705<step><para>wait until all tiles for that resolution have been downloaded</para></step>
0ef60ec1
GB
2706</substeps>
2707</step>
2708</procedure>
73919102 2709<para>This may take some time and some hard disk capacity.</para>
6928e16b
GB
2710<para>
2711Do not forget to save your configuration (as discussed above).
2712</para>
2713
2714</section>
2715
2716</section>
9c4555df
GB
2717<section><title>OpenStreetMap project</title>
2718<para>
2719<ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> is a collaborative project to create a free editable map of the world.
2720One of sources of data for this project is GPS tracks.
2721&appname; supports this project via the GPS Traces methods, both uploading and downloading such data.
2722</para>
5f526098
RN
2723<para>
2724Also see <ulink url="http://wiki.openstreetmap.org/wiki/API_v0.6#GPS_Traces"/> for further detail.
2725</para>
6928e16b
GB
2726<section><title>Uploading data to OpenStreetMap</title>
2727<para>
7233fcb6 2728It is possible to upload data directly from &appname; to OpenStreetMap.
6928e16b 2729</para>
0ef60ec1
GB
2730<formalpara>
2731<title>Upload a layer</title>
6928e16b 2732<para>
6a997af7 2733One solution is to upload whole a <xref linkend="TrackWaypoint"/> layer. To do this,
0ef60ec1
GB
2734simply select the layer and right click on it. Then, select <guimenuitem>Upload to
2735OSM</guimenuitem>.
6928e16b 2736</para>
0ef60ec1
GB
2737</formalpara>
2738<formalpara>
2739<title>Upload a single track</title>
6a997af7
RN
2740<para>Another solution is to upload an individual track. Simply select the track and right click on it.
2741Then select <guimenuitem>Upload to OSM</guimenuitem>.
6928e16b 2742</para>
0ef60ec1
GB
2743</formalpara>
2744<formalpara>
2745<title>Fill in the form</title>
6928e16b 2746<para>
7233fcb6 2747In both cases, &appname; will retain some information.
3e8e3227 2748The email field is the email you used to subscribed into OpenStreetMap.
6928e16b 2749The password field is the password you used with this account.
6928e16b 2750The filename is the name you want your upload has on the server. This information is displayed by the osm server.
6928e16b 2751The description is some descriptive information.
6a997af7 2752The tags field is a white separated list of tags.
0ef60ec1
GB
2753</para>
2754</formalpara>
6928e16b 2755</section>
5f526098
RN
2756
2757<section id="osm_dl" xreflabel="OpenStreetMap Traces Download"><title>Downloading Traces from OpenStreetMap</title>
9c4555df
GB
2758<para>
2759It is possible to download GPS traces directly from OpenStreetMap into &appname;.
2760This feature can be really useful for checking existing data before uploading new ones.
2761</para>
2762<formalpara>
2763<title>Download all visible tracks</title>
2764<para>One solution is to select
2765<menuchoice>
2766<guimenu>File</guimenu>
2767<guisubmenu>Acquire</guisubmenu>
2768<guimenuitem>OSM traces...</guimenuitem>
2769</menuchoice>.
2770Each request can get up to 5,000 points.
84017394 2771The dialog box allows setting which group of 5,000 points to get. These groups are known as <emphasis>Page Numbers</emphasis> which start at 0.
9c4555df 2772Increasing the page number parameter allows one to request the subsequent sets of point groups.
9c4555df
GB
2773</para>
2774</formalpara>
2775</section>
5f526098
RN
2776<section id="osm_my_dl" xreflabel="OpenStreetMap My Traces Download"><title>Downloading Your Own Traces from OpenStreetMap</title>
2777<para>
2778It is possible to download any of <emphasis>your personal</emphasis> GPS traces previously uploaded to OpenStreetMap into &appname;.
2779</para>
2780<para>
2781You will need to provide your OSM username and password to get the list of your OSM Traces.
2782From this list you can select which traces to retrieve.
2783This list can be sorted on each column so that it easier to find an individual trace or select a group of traces by similar properties.
2784</para>
2785</section>
2786
9c4555df
GB
2787</section>
2788
269865aa
RN
2789<section><title>Geotagging</title>
2790<para>
6a997af7 2791 This assumes you already have a <xref linkend="Maps"/> layer enabled for ease of use (if not see above to get one).
269865aa
RN
2792</para>
2793<section><title>Manual Positioning</title>
2794<para>
2795 This is useful for instances when you already know exactly where the image was taken (no need for tracklog).
2796 Or maybe you want to adjust an automatically generated waypoint for the position of the subject of the image rather than the location that the photograph is taken from.
2797 ATM this process only works on an individual image, so it will be tedious for handling lots of images.
2798</para>
2799<para>
c3a02429 2800 First create a <xref linkend="TrackWaypoint"/> layer or use an existing one; and select it in the <xref linkend="gc_layers_panel"/>.
269865aa
RN
2801 NB Make sure this layer is above the map layer in the Layers Panel list.
2802 Create a new waypoint (or move an existing one) to exact location desired:
2803<itemizedlist>
fef1084a
RN
2804 <listitem><para>Select the <xref linkend="createwptool"/> tool, then left click on the map at the location desired, choosing an image to associate with it in the new waypoint dialog</para></listitem>
2805 <listitem><para>Select the <xref linkend="select"/> tool, then left click on waypoint to be moved. Left click again and drag the waypoint to the location desired</para></listitem>
269865aa
RN
2806</itemizedlist>
2807 Then using the Select tool left click on waypoint to select it, then right click to access the Waypoint properties menu, then choose
2808 <menuchoice><guimenu>Update Geotag on Image</guimenu><guisubmenu>Update</guisubmenu></menuchoice>
2809</para>
2810<para>
2811 The <guilabel>Update Geotag on Image</guilabel> options are only available when a waypoint has an image associated with it.
2812</para>
2813</section>
2814
2815<section><title>Automatic Positioning Against a Tracklog</title>
2816<para>
2817 First you will need a tracklog with timestamps in it. Either load one from a previously saved file or freshly acquired from a GPS device -
2818 see <link linkend="howto_start">Getting Started</link>.
2819 It helps if this is the track that was recorded at the time you took some photographs!
2820</para>
2821<para>
fef1084a
RN
2822 Select the track either from the layers panel on the left or via the viewport using the <xref linkend="select"/> tool.
2823 Then right click on it and chose the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> leading you to the <xref linkend="geotagging"/> Dialog.
269865aa
RN
2824</para>
2825<para>
2826 Load some images that where taken around the time the track log was recorded. Confirm the other options in the dialog - normally the defaults should be alright and select OK.
2827 If things are succesful, new waypoints with thumbnail images of the photographs will appear.
2828 You should probably check they are really in the right place as often the timestamp of the camera may not be aligned to the GPS correctly leading to inferring incorrect locations.
2829</para>
2830<formalpara><title>Option: Overwrite Waypoints</title>
2831<para>
2832 This is particularly useful when one finds an attempt at geotagging gives wrong locations, often due to time offset issues.
2833 Simply try again with a new time offset (often 1 hour adjustments due to Daylight Savings or Summer Time times) and the old waypoints will be updated (instead of creating new ones).
2834</para>
2835</formalpara>
2836<para>
2837 If you have multiple tracks in a TrackWaypoint layer, then invoking the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> action on the layer
2838 will search all the tracks to find location matches.
2839</para>
2840</section>
2841</section>
2842
9eada844
RN
2843<section><title>GPS Real Time Location (Not <trademark>Windows</trademark>)</title>
2844<para>
2845 &appname; relies on <ulink url="http://www.catb.org/gpsd/">gpsd</ulink> to provide the current location from a real time feed from a GPS device.
2846 Unfortunately <application>gpsd</application> is not available on <trademark>Windows</trademark>,
2847 so currently this functionality is disabled in <trademark>Windows</trademark> builds of &appname;
2848</para>
2849<para>
6a997af7 2850 This assumes you already have a <xref linkend="Maps"/> layer enabled for ease of use (if not see above to get one).
9eada844
RN
2851</para>
2852<para>
2853 Turn on the GPS Device, ensure it has figured out it's location and plug it in to your computer.
2854</para>
2855<section><title>Set Up GPS Layer</title>
2856<para>
6a997af7 2857 You will need a <xref linkend="GPS"/> layer. One can be added via <menuchoice><guimenu>Layers</guimenu><guisubmenu>Add GPS Layer</guisubmenu></menuchoice>.
9eada844
RN
2858</para>
2859<para>
2860 Adjust the <emphasis>Realtime Tracking Mode</emphasis> settings to interface with <ulink url="http://www.catb.org/gpsd/">gpsd</ulink> as necessary. Normally the defaults should suffice.
2861</para>
2862<para>
2863 Current Linux distributions should run <application>gpsd</application> automatically when a GPS Device is plugged in. Otherwise you may have to run <application>gpsd</application> manually.
2864</para>
2865<para>
2866 Then right-click the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
2867 Hopefully the viewport should jump to the GPS location.
2868</para>
2869<para>
2870 Troubleshooting checklist:
2871</para>
2872<procedure><step><para>Confirm <application>gpsd</application> is running.</para></step></procedure>
2873<procedure><step><para>Confirm on the GPS device it has a location.</para></step></procedure>
2874<procedure><step><para>Confirm the <emphasis>Realtime Tracking Mode</emphasis> settings.</para></step></procedure>
2875</section>
2876</section>
2877
935bb09f
RN
2878<section><title>What to Do if &appname; Does Not Seem to Work</title>
2879<para>
2880In order to get some information about what &appname; is doing, start it in verbose debug mode via the command line:
2881<programlisting>viking -dV</programlisting>
2882</para>
2883<para>
2884For instance you can check the correct URLs &appname; is using in requesting remote data for DEMs or map tiles in the verbose debug output.
2885E.g. Something like this for DEMs:
2886<screen>
2887** (viking:28778): DEBUG: curl_download_uri: uri=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip
2888* About to connect() to dds.cr.usgs.gov port 80 (#0)
2889* Trying 152.61.128.95... * connected
2890* Connected to dds.cr.usgs.gov (152.61.128.95) port 80 (#0)
2891 GET /srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip HTTP/1.1
2892User-Agent: viking/0.9.8 libcurl/7.18.2 GnuTLS/2.4.2 zlib/1.2.3.3 libidn/1.8
2893Host: dds.cr.usgs.gov
2894Accept: */*
2895 HTTP/1.1 200 OK
2896 Date: Sun, 26 Jul 2009 18:13:38 GMT
2897 Server: Apache
2898 Last-Modified: Tue, 21 Jul 2009 19:57:35 GMT
2899 ETag: eac3f8-1828f5-46f3caa76070a
2900 Accept-Ranges: bytes
2901 Content-Length: 1583349
2902 Content-Type: application/zip
2903
2904* Connection #0 to host dds.cr.usgs.gov left intact
2905* Closing connection #0
2906** (viking:28778): DEBUG: dem_layer_add_file: /home/username/.viking-maps/srtm3-Eurasia/N48E008.hgt.zip
2907</screen>
2908Or for OSM Mapnik tile server:
2909<screen>
2910* About to connect() to tile.openstreetmap.org port 80 (#0)
2911* Trying 193.63.75.28... * connected
2912* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
2913 GET /13/4065/2748.png HTTP/1.1
2914User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2915Host: tile.openstreetmap.org
2916Accept: */*
2917
2918* HTTP 1.0, assume close after body
2919 HTTP/1.0 200 OK
2920 Date: Thu, 14 Oct 2010 22:18:42 GMT
2921 Server: Apache/2.2.8 (Ubuntu)
2922 ETag: "b66ff9d46474bab68262a3483428a232"
2923** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "b66ff9d46474bab68262a3483428a232"
2924 Content-Length: 17194
2925 Cache-Control: max-age=94805
2926 Expires: Sat, 16 Oct 2010 00:38:47 GMT
2927 Content-Type: image/png
2928 Age: 5153
2929 X-Cache: HIT from konqi.openstreetmap.org
2930 X-Cache-Lookup: HIT from konqi.openstreetmap.org:3128
2931 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
2932 Connection: close
2933
2934* Closing connection #0
2935* About to connect() to a.andy.sandbox.cloudmade.com port 80 (#0)
2936* Trying 178.63.75.195... ** (viking:16704): DEBUG: curl_download_uri: uri=http://tile.openstreetmap.org/13/4065/2749.png
2937* About to connect() to tile.openstreetmap.org port 80 (#0)
2938* Trying 193.63.75.28... * connected
2939* Connected to a.andy.sandbox.cloudmade.com (178.63.75.195) port 80 (#0)
2940 GET /tiles/cycle/13/4065/2747.png HTTP/1.1
2941User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2942Host: a.andy.sandbox.cloudmade.com
2943Accept: */*
2944
2945* connected
2946* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
2947 GET /13/4065/2749.png HTTP/1.1
2948User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2949Host: tile.openstreetmap.org
2950Accept: */*
2951
2952* HTTP 1.0, assume close after body
2953 HTTP/1.0 200 OK
2954 Date: Thu, 14 Oct 2010 23:44:35 GMT
2955 Server: Apache/2.2.8 (Ubuntu)
2956 ETag: "8e520ad47ce9c1b63430554886eb5fab"
2957** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "8e520ad47ce9c1b63430554886eb5fab"
2958 Content-Length: 18094
2959 Cache-Control: max-age=87742
2960 Expires: Sat, 16 Oct 2010 00:06:57 GMT
2961 Content-Type: image/png
2962 X-Cache: MISS from konqi.openstreetmap.org
2963 X-Cache-Lookup: MISS from konqi.openstreetmap.org:3128
2964 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
2965 Connection: close
2966</screen>
2967</para>
2968</section>
2969
2970</section>
2971<!-- End of Howtos -->
2972
fef1084a 2973<section id="extend_viking" xreflabel="Extending Viking">
ba322d06
GB
2974 <title>Extending Viking</title>
2975
2976 <para>Currently, &app; has some extention points based on configuration files. The file format is heavily inspired by the GtkBuilder file format: you specify the class of the GObject to build and set its properties. Technically, it is a XML file containing a "objects" root element. Inside this element, you set a collection of "object".</para>
2977 <para>Here is an example:
2978<programlisting><![CDATA[
2979<objects>
2980 <object class="ClassName">
2981 <property name="property_name1">Property value</property>
2982 <property name="property_name2">Property value</property>
2983 </object>
2984 ...
2985<objects>
2986]]>
2987</programlisting>
2988</para>
2989 <para>You can find more examples in the documentation part of the distribution.</para>
c12d4347 2990 <section id="map_source" xreflabel="Map Source Extensions">
ba322d06 2991 <title>Map Source</title>
2eb18edc 2992 <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename> for <trademark>UNIX</trademark> like systems, <filename>C:\Documents and Settings\<replaceable>username</replaceable>\.viking\maps.xml</filename> on <trademark>Windows XP</trademark> or <filename>C:\Users\<replaceable>username</replaceable>\.viking\maps.xml</filename> on <trademark>Windows 7</trademark> onwards.</para>
f1b908b1
RN
2993 <para>An example of the file is in the distribution <filename>doc/examples/maps.xml</filename>. Further examples and values are online in the <ulink url="http://sourceforge.net/apps/mediawiki/viking/index.php?title=Maps">Maps Wiki</ulink></para>
2994
f5ae8c7e 2995 <para>The <classname>VikSlippyMapSource</classname> allows to declare any map's source working like OpenStreetMap. It supports the following properties:
ba322d06
GB
2996 <variablelist>
2997 <varlistentry>
2998 <term>id</term>
2999 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
3000 </varlistentry>
2eb18edc
RN
3001 <varlistentry>
3002 <term>name</term>
3003 <listitem><para>a string (should be unique) that is used for the OSM style cache directory name when the Map Cache directory is the default (<filename>~/.viking-maps</filename>)</para></listitem>
3004 </varlistentry>
ba322d06
GB
3005 <varlistentry>
3006 <term>label</term>
3007 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
3008 </varlistentry>
3009 <varlistentry>
3010 <term>hostname</term>
3011 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
3012 </varlistentry>
3013 <varlistentry>
3014 <term>url</term>
413e9753
RN
3015 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png")</para></listitem>
3016 </varlistentry>
e633ddef
RN
3017 <varlistentry>
3018 <term>zoom-min (optional)</term>
3019 <listitem><para>The minimum zoom value supported by the tile server. The Default is 0 if not specified.</para></listitem>
3020 </varlistentry>
3021 <varlistentry>
3022 <term>zoom-max (optional)</term>
3023 <listitem>
3024 <para>The maximum zoom value supported by the tile server. The Default is 18 if not specified.</para>
3025 <para>See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
3026 </listitem>
3027 </varlistentry>
2113a507
RN
3028 <varlistentry>
3029 <term>lat-min (optional)</term>
3030 <listitem><para>The minimum latitude value in degrees supported by the tile server. The Default is -90 degrees if not specified.</para></listitem>
3031 </varlistentry>
3032 <varlistentry>
3033 <term>lat-max (optional)</term>
3034 <listitem><para>The maximum latitude value in degrees supported by the tile server. The Default is 90 degrees if not specified.</para></listitem>
3035 </varlistentry>
3036 <varlistentry>
3037 <term>lon-min (optional)</term>
3038 <listitem><para>The minimum longitude value in degrees supported by the tile server. The Default is -180 degrees if not specified.</para></listitem>
3039 </varlistentry>
3040 <varlistentry>
3041 <term>lon-max (optional)</term>
3042 <listitem><para>The maximum longitude value in degrees supported by the tile server. The Default is 180 degrees if not specified.</para></listitem>
3043 </varlistentry>
14b57d17
RN
3044 <varlistentry>
3045 <term>file-extension (optional)</term>
3046 <listitem>
3047 <para>The file extension of the files on disk. The default is <emphasis>.png</emphasis></para>
3048 <para>If the tile source URL ends in something other than .png, then this parameter will need to match it.</para>
3049 <para>This can also be useful in reading a tileset from other software which may name tiles in an alternative form,
3050 e.g. for Mobile Atlas creator it names them <emphasis>.png.tile</emphasis></para>
3051 <note><para>The file types actually usable are those supported by GDK Pixbuf Library, which includes at least PNG and JPEG.</para></note>
3052 <note><para>Remember to include the beginning <emphasis>'.'</emphasis> when specifying this parameter.</para></note>
3053 </listitem>
3054 </varlistentry>
e6470810
RN
3055 <varlistentry>
3056 <term>use-direct-file-access (optional)</term>
3057 <listitem>
3058 <para>Only use files on disk. The default is <emphasis>FALSE</emphasis></para>
3059 <para>This can also be useful for tilesets already on disk as it will avoid attempting to download any tiles.</para>
3060 <para>Thus with this type the <emphasis>hostname</emphasis> and <emphasis>url</emphasis> parameters are not necessary and are ignored.</para>
3061 </listitem>
3062 </varlistentry>
413e9753
RN
3063 <varlistentry>
3064 <term>switch-xy (optional)</term>
f2e8376a
RN
3065 <listitem>
3066 <para>Swap the X,Y values around in the URL parametrized ordering.</para>
3067 <para>The default is false.</para>
3068 </listitem>
3069 </varlistentry>
3070 <varlistentry>
3071 <term>check-file-server-time (optional)</term>
3072 <listitem>
3073 <para>Sends the timestamp of the tile to the server, so the server can decide whether it should send a new tile or not.</para>
3074 <para>The default is false.</para>
3075 </listitem>
3076 </varlistentry>
3077 <varlistentry>
3078 <term>use-etag (optional)</term>
3079 <listitem>
3080 <para>Use and compare the <ulink url="http://en.wikipedia.org/wiki/HTTP_ETag">ETag</ulink> value in determining whether to download a newer tile. The default is false.</para>
3081 <para>The ETag value is stored in a separate file in the same directory as the tile to enable checking the value across multiple runs of the program.</para>
3082 </listitem>
ba322d06
GB
3083 </varlistentry>
3084 </variablelist>
3085 </para>
f2e8376a 3086 <para>The <classname>VikTmsMapSource</classname> allows to declare any TMS service. It supports the following properties (as per VikSlippyMapSource above):
1b6659bd
GB
3087 <variablelist>
3088 <varlistentry>
e93a4034 3089 <term>id</term><listitem><para></para></listitem>
1b6659bd
GB
3090 </varlistentry>
3091 <varlistentry>
e93a4034 3092 <term>label</term><listitem><para></para></listitem>
1b6659bd
GB
3093 </varlistentry>
3094 <varlistentry>
e93a4034 3095 <term>hostname</term><listitem><para></para></listitem>
1b6659bd
GB
3096 </varlistentry>
3097 <varlistentry>
e93a4034 3098 <term>url</term><listitem><para></para></listitem>
f2e8376a
RN
3099 </varlistentry>
3100 <varlistentry>
e93a4034 3101 <term>check-file-server-time (optional)</term><listitem><para></para></listitem>
1b6659bd 3102 </varlistentry>
abc19988 3103 <varlistentry>
e93a4034 3104 <term>zoom-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3105 </varlistentry>
3106 <varlistentry>
e93a4034 3107 <term>zoom-max (optional)</term><listitem><para></para></listitem>
abc19988
RN
3108 </varlistentry>
3109 <varlistentry>
e93a4034 3110 <term>lat-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3111 </varlistentry>
3112 <varlistentry>
e93a4034 3113 <term>lat-max (optional)</term><listitem><para></para></listitem>
abc19988
RN
3114 </varlistentry>
3115 <varlistentry>
e93a4034 3116 <term>lon-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3117 </varlistentry>
3118 <varlistentry>
e93a4034 3119 <term>lon-max (optional)</term><listitem><para></para></listitem>
abc19988 3120 </varlistentry>
1b6659bd
GB
3121 </variablelist>
3122 </para>
f2e8376a 3123 <para>The <classname>VikWmscMapSource</classname> allows to declare any WMS or WMS-C service. It supports the following properties (as per VikSlippyMapSource above):
90f15672
GB
3124 <variablelist>
3125 <varlistentry>
e93a4034 3126 <term>id</term><listitem><para></para></listitem>
90f15672
GB
3127 </varlistentry>
3128 <varlistentry>
e93a4034 3129 <term>label</term><listitem><para></para></listitem>
90f15672
GB
3130 </varlistentry>
3131 <varlistentry>
e93a4034 3132 <term>hostname</term><listitem><para></para></listitem>
90f15672
GB
3133 </varlistentry>
3134 <varlistentry>
e93a4034 3135 <term>url</term><listitem><para></para></listitem>
f2e8376a
RN
3136 </varlistentry>
3137 <varlistentry>
e93a4034 3138 <term>check-file-server-time (optional)</term><listitem><para></para></listitem>
90f15672 3139 </varlistentry>
abc19988 3140 <varlistentry>
e93a4034 3141 <term>zoom-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3142 </varlistentry>
3143 <varlistentry>
e93a4034 3144 <term>zoom-max (optional)</term><listitem><para></para></listitem>
abc19988
RN
3145 </varlistentry>
3146 <varlistentry>
e93a4034 3147 <term>lat-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3148 </varlistentry>
3149 <varlistentry>
e93a4034 3150 <term>lat-max (optional)</term><listitem><para></para></listitem>
abc19988
RN
3151 </varlistentry>
3152 <varlistentry>
e93a4034 3153 <term>lon-min (optional)</term><listitem><para></para></listitem>
abc19988
RN
3154 </varlistentry>
3155 <varlistentry>
e93a4034 3156 <term>lon-max (optional)</term><listitem><para></para></listitem>
abc19988 3157 </varlistentry>
90f15672
GB
3158 </variablelist>
3159 </para>
4502fc82 3160 </section>
ba322d06 3161
4502fc82 3162 <section>
ba322d06
GB
3163 <title>Go-to search engines</title>
3164 <para>It is possible to add new new search engines for the "Go-To" feature. The file is <filename>~/.viking/goto_tools.xml</filename>.</para>
3165 <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
f5ae8c7e 3166 <para>Currently, there is a single object class available: <classname>VikGotoXmlTool</classname>. Such feature allows to declare any search engine using a XML format as result.</para>
ba322d06
GB
3167 <para>The related properties are:
3168 <variablelist>
3169 <varlistentry>
3170 <term>label</term>
3171 <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
3172 </varlistentry>
3173 <varlistentry>
3174 <term>url-format</term>
3175 <listitem><para>the parametrized address of the query, in the spirit of C <function>printf</function> format, with a single "%s" field (replaced by the query string)</para></listitem>
3176 </varlistentry>
3177 <varlistentry>
3178 <term>lat-path</term>
3179 <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
3180 </varlistentry>
3181 <varlistentry>
3182 <term>lat-attr (optional)</term>
3183 <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
3184 </varlistentry>
3185 <varlistentry>
3186 <term>lon-path</term>
3187 <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
3188 </varlistentry>
3189 <varlistentry>
3190 <term>lon-attr (optional)</term>
3191 <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
3192 </varlistentry>
3193 </variablelist>
3194 </para>
3195 <para>As a facility (or readability) it is possible to set both path and attribute name in a single property, like an XPath expression. To do so, simply set both info in lat-path (or lon-path) in the following format: <literal>/root/parent/elem@attribute</literal>.</para>
4502fc82 3196 </section>
ba322d06 3197
4502fc82 3198 <section>
29f1598c 3199 <title>External tools</title>
ba322d06
GB
3200 <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
3201 <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
f5ae8c7e 3202 <para>The <classname>VikWebtoolCenter</classname> allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
ba322d06
GB
3203 <para>The related properties are:
3204 <variablelist>
ba322d06
GB
3205 <varlistentry>
3206 <term>label</term>
3207 <listitem><para>the text displayed in the menu entry</para></listitem>
3208 </varlistentry>
3209 <varlistentry>
3210 <term>url</term>
3bdd680c
GB
3211 <listitem><para>the parametrized URL to open, in the spirit of C printf format, with 2 "%s" and a "%d" fields for X, Y and Z (zoom level) (eg. "http://hostname/?lat=%s&amp;lon=%s&amp;zoom=%d")</para></listitem>
3212 </varlistentry>
3213 </variablelist>
3214 </para>
f5ae8c7e 3215 <para>The <classname>VikWebtoolBounds</classname> allows to declare any Webtool using a logic based on bounds coordinates.</para>
3bdd680c
GB
3216 <para>The related properties are:
3217 <variablelist>
3bdd680c
GB
3218 <varlistentry>
3219 <term>label</term>
3220 <listitem><para>the text displayed in the menu entry</para></listitem>
3221 </varlistentry>
3222 <varlistentry>
3223 <term>url</term>
3224 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for left, right, bottom and top (eg. "http://hostname:8111/load_and_zoom?left=%s&amp;right=%s&amp;bottom=%s&amp;top=%s")</para></listitem>
ba322d06
GB
3225 </varlistentry>
3226 </variablelist>
3227 </para>
4502fc82 3228 </section>
29f1598c 3229
b44a5ac5
GB
3230 <section>
3231 <title>Routing engine</title>
3232 <para>It is possible to declare new routing engines. The file is <filename>~/.viking/routing.xml</filename>.</para>
3233 <para>An example of the file in the distribution <filename>doc/examples/routing.xml</filename>.</para>
3234 <para>The <classname>VikRoutingWebEngine</classname> allows to declare a routing engine available via HTTP.</para>
3235 <para>The related properties are:
3236 <variablelist>
3237 <varlistentry>
3238 <term>id</term>
3239 <listitem><para>a string, should be unique as it used to identify the routing engine</para></listitem>
3240 </varlistentry>
3241 <varlistentry>
3242 <term>label</term>
3243 <listitem><para>the text displayed in the menu entry</para></listitem>
3244 </varlistentry>
3245 <varlistentry>
3246 <term>url-base</term>
3247 <listitem><para>the base URL of the web service (eg. "http://hostname/service?")</para></listitem>
3248 </varlistentry>
3249 <varlistentry>
3250 <term>url-start-ll</term>
3251 <listitem><para>the part of the URL setting the starting point location, parametrized in the spirit of C printf format, with 2 "%s" for coordinates (eg. "&amp;start=%s,%s")</para></listitem>
3252 </varlistentry>
3253 <varlistentry>
3254 <term>url-stop-ll</term>
661703c0 3255 <listitem><para>the part of the URL setting the end point location, parametrized in the spirit of C printf format, with 2 "%s" for coordinates (eg. "&amp;stop=%s,%s")</para></listitem>
b44a5ac5 3256 </varlistentry>
1a3be6a8
GB
3257 <varlistentry>
3258 <term>url-via-ll</term>
3259 <listitem><para>the part of the URL setting via point location, parametrized in the spirit of C printf format, with 2 "%s" for coordinates (eg. "&amp;via=%s,%s")</para></listitem>
3260 </varlistentry>
7f95fd54
GB
3261 <varlistentry>
3262 <term>url-start-dir</term>
3263 <listitem><para>the part of the URL setting the starting point location for direction based routing, parametrized in the spirit of C printf format, with one "%s" for direction (eg. "&amp;start=%s")</para>
3264 <para>(Optional)</para></listitem>
3265 </varlistentry>
3266 <varlistentry>
3267 <term>url-stop-dir</term>
3268 <listitem><para>the part of the URL setting the end point location for direction based routing, parametrized in the spirit of C printf format, with one "%s" for direction (eg. "&amp;start=%s")</para>
3269 <para>(Optional)</para></listitem>
3270 </varlistentry>
b44a5ac5
GB
3271 <varlistentry>
3272 <term>referer</term>
3273 <listitem><para>an URL to serve as referer for the HTTP request (eg. "http://hostname/")</para></listitem>
3274 </varlistentry>
3275 <varlistentry>
3276 <term>follow-location</term>
3277 <listitem><para>the max depth of recursive redirections</para></listitem>
3278 </varlistentry>
3279 </variablelist>
3280 </para>
3281 </section>
3282
95272265
RN
3283 <section>
3284 <title>Remote File Datasources</title>
3285 <para>It is possible to add web references expected to return a file which can then be opened directly or converted via GPSBabel.</para>
3286 <para>The file is <filename>~/.viking/datasources.xml</filename>.</para>
3287 <para>An example of the file is in the source distribution <filename>doc/examples/datasources.xml</filename>.</para>
f5ae8c7e 3288 <para>The <classname>VikWebtoolDatasource</classname> allows to declare any URL using logic based on coordinates.</para>
95272265
RN
3289 <para>The related properties are:
3290 <variablelist>
3291 <varlistentry>
3292 <term>label</term>
3293 <listitem><para>the text displayed in the menu entry</para></listitem>
3294 </varlistentry>
3295 <varlistentry>
3296 <term>url</term>
3297 <listitem>
027ff770 3298 <para>the parametrized URL to open in the spirit of C printf format, with up to 9 "%s" values. e.g. <literal>http://hostname/getfile?lat=%s&amp;lon=%s</literal></para>
95272265
RN
3299 <para>The order and meaning of these parameters is given by the url_format_code below</para>
3300 </listitem>
3301 </varlistentry>
3302 <varlistentry>
3303 <term>url_format_code</term>
3304 <listitem>
3305 <para>A string describing the parametrized URL substitution parameters, each character represents how to translate each term.</para>
3306 <para>B = Bottom of the current view i.e. minimum latitude</para>
3307 <para>L = Left of the current view i.e. minimum longitude</para>
3308 <para>T = Top of the current view i.e. maximum latitude</para>
3309 <para>R = Right of the current view i.e. maximum longitude</para>
3310 <para>A = center lAtitude of the current view</para>
3311 <para>O = center lOngitude of the current view</para>
3312 <para>Z = OSM Zoom value of the current view. See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
027ff770
RN
3313 <para>P = selected Point's latitude</para>
3314 <para>N = selected poiNt's longitude</para>
94fb64a2 3315 <para>S = A user specified input string requested from the user via a dialog box</para>
95272265
RN
3316 <para>Thus for the url example above then the format code should be <emphasis>AO</emphasis></para>
3317 </listitem>
3318 </varlistentry>
3319 <varlistentry>
3320 <term>file_type</term>
3321 <listitem>
3322 <para>This value is passed on for the -i parameter in interfacing with GPSBabel.</para>
3323 <para>If it is not defined then the returned file is interpreted internally as a GPX file.</para>
63396406 3324 <para>Possible values such as 'kml', 'mapsource' etc.. can be used. See <ulink url="http://www.gpsbabel.org/capabilities.html">GPSBabel File Formats</ulink> for the full list.</para>
95272265
RN
3325 </listitem>
3326 </varlistentry>
94fb64a2
RN
3327 <varlistentry>
3328 <term>babel_filter_args</term>
3329 <listitem>
3330 <para>This value is passed on for the filter arguments interfacing with GPSBabel.</para>
3331 <para>E.g. "-x nuketypes,routes" can be used to filter all routes from the results.</para>
3332 </listitem>
3333 </varlistentry>
3334 <varlistentry>
3335 <term>input_label</term>
3336 <listitem>
3337 <para>This value is used when requesting input from the user.</para>
3338 <para>It is the label of the text input box.</para>
3339 </listitem>
3340 </varlistentry>
95272265
RN
3341 </variablelist>
3342 </para>
3343 </section>
3344
29f1598c
GB
3345 <section>
3346 <title>More</title>
95272265 3347 <para>Note that, on <trademark>UNIX</trademark> like systems, the extension files (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>, <filename>external_tools.xml</filename>, <filename>datasources.xml</filename>) are also searched in <filename>/etc/viking</filename> and <filename>/usr/share/viking</filename> directories (or related in your system).</para>
29f1598c 3348 <para>The <envar>XDG_DATA_DIRS</envar> environment variable can be used to change these directories.</para>
95272265 3349 <para>The <envar>XDG_DATA_HOME</envar> environment variable is also used (if set) to look for these extension files.</para>
29f1598c 3350 </section>
ba322d06 3351
78609471
RN
3352
3353 <section>
3354 <title>Miscellaneous Settings</title>
3355 <para>Various individual values are automatically saved between &app; sessions in the <filename>~/.viking/viking.ini</filename> file.</para>
3356 <para>This file is not intended to be manually edited, but since it is a plain text file it can be changed if desired.</para>
3357 <para>Some values in this file are <emphasis>read only</emphasis>, in the sense that there is no way to set it other than by manually entering in the keys and values (the key will not exist in the file otherwise). This allows some fine tuning of &app; behaviours, without resorting to recompiling the code. However is it not expected that these values should need to be changed for a normal user, hence no GUI options for these have been provided.</para>
3358 <para>Here is the list of the <emphasis>read only</emphasis> keys and their default values.</para>
3359 <orderedlist>
b9a07ebc
RN
3360 <listitem>
3361 <para>layers_create_trw_auto_default=false</para>
3362 <para>Create new TrackWaypoint layers without showing the layer properties dialog first.</para>
3363 </listitem>
78609471
RN
3364 <listitem>
3365 <para>maps_max_tiles=1000</para>
3366 </listitem>
3367 <listitem>
3368 <para>maps_min_shrinkfactor=0.0312499</para>
3369 </listitem>
3370 <listitem>
3371 <para>maps_max_shrinkfactor=8.0000001</para>
3372 </listitem>
3373 <listitem>
3374 <para>maps_real_min_shrinkfactor=0.0039062499</para>
3375 </listitem>
d1871cd2
RN
3376 <listitem>
3377 <para>maps_scale_inc_down=4</para>
3378 </listitem>
3379 <listitem>
3380 <para>maps_scale_inc_up=2</para>
3381 </listitem>
3382 <listitem>
3383 <para>maps_scale_smaller_zoom_first=true</para>
3384 </listitem>
e5ee3c87
RN
3385 <listitem>
3386 <para>mapnik_buffer_size=128 (in pixels)</para>
3387 </listitem>
78609471
RN
3388 <listitem>
3389 <para>background_max_threads=10</para>
3390 </listitem>
c75da936
RN
3391 <listitem>
3392 <para>background_max_threads_local=<emphasis>Number of CPUs</emphasis></para>
3393 </listitem>
78609471
RN
3394 <listitem>
3395 <para>window_menubar=true</para>
3396 </listitem>
7c8bddff
RN
3397 <listitem>
3398 <para>window_copy_centre_full_format=false</para>
3399 </listitem>
78609471
RN
3400 <listitem>
3401 <para>version_check_period_days=14</para>
3402 </listitem>
e3c19112
RN
3403 <listitem>
3404 <para>trackwaypoint_start_end_distance_diff=100.0</para>
3405 </listitem>
8549385f
RN
3406 <listitem>
3407 <para>gps_statusbar_format=GSA</para>
3408 <para>This string is in the Message Format Code</para>
3409 </listitem>
3410 <listitem>
b45865b4 3411 <para>trkpt_selected_statusbar_format=KEATDN</para>
8549385f
RN
3412 <para>This string is in the Message Format Code</para>
3413 </listitem>
0d71f232
RN
3414 <listitem>
3415 <para>utils_nearest_tz_factor=1.0</para>
3416 </listitem>
be5554c5
RN
3417 <listitem>
3418 <para>viewport_history_size=20</para>
3419 </listitem>
3420 <listitem>
3421 <para>viewport_history_diff_dist=500</para>
3422 <para>In metres.</para>
3423 <para>
3424 Go Back or Go Forward requests over this range from the last history location will move back to that position.
3425 If within this range it will skip over this location and move on to the next saved history location.
3426 </para>
3427 </listitem>
c9e2a471
RN
3428 <listitem>
3429 <para>external_diary_program=rednotebook</para>
3430 <para>Or in Windows it uses <filename>C:/Progra~1/Rednotebook/rednotebook.exe</filename> - This string value must use Unix separators and not have spaces.</para>
3431 </listitem>
e6d91291
RN
3432 <listitem>
3433 <para>external_astro_program=stellarium</para>
3434 <para>Or in Windows use <filename>C:/Progra~1/Stellarium/stellarium.exe</filename> - This string value must use Unix separators and not have spaces.
3435 Further note due to this <ulink url="https://bugs.launchpad.net/stellarium/+bug/1410529">Bug</ulink> in Stellarium means this does not actually work. You will need to reference a shortcut, rather than the executable directly.</para>
3436 </listitem>
78609471 3437 </orderedlist>
8549385f
RN
3438
3439 <section>
3440 <title>Message Format Code</title>
3441 <para>Currently for ease of implementation the message format code is a string of characters.</para>
3442 <para>Each character represents what should be inserted in relation to a Trackpoint.</para>
3443 <para>One day it might evolve into something more user friendly with a frontend to control it, perhaps allowing arbitary text too. However for now at least some control is offered :)</para>
3444 <para>
3445 <variablelist>
3446 <varlistentry>
3447 <term>Character Code</term>
3448 <listitem>
3449 <para>G = Some text to display at the start of the message - <emphasis>GPSD</emphasis></para>
3450 <para>K = Some text to display at the start of the message - <emphasis>Trkpt</emphasis></para>
3451 <para>A = Altitude of a Trackpoint</para>
3452 <para>S = Speed of a Trackpoint</para>
fee4e142 3453 <para>B = Vertical Speed (Climb)</para>
8549385f
RN
3454 <para>C = Course of a Trackpoint</para>
3455 <para>L = Location of a Trackpoint</para>
3456 <para>T = Time of a Trackpoint</para>
3457 <para>M = Time diff of a Trackpoint from the previous trackpoint</para>
3458 <para>X = Number of satellites used in the trackpoint fix</para>
3459 <para>D = Distance of the trackpoint from the start of a track (following along the track)</para>
62525c73 3460 <para>F = Distance of the trackpoint from the finish (end) of a track (following along the track)</para>
8549385f
RN
3461 <para>P = Distance difference of the trackpoint from the previous trackpoint</para>
3462 <para>N = Name of track to which the trackpoint belongs</para>
b45865b4 3463 <para>E = Name of the trackpoint</para>
8549385f
RN
3464 </listitem>
3465 </varlistentry>
3466 <varlistentry>
3467 <term>Output Notes</term>
3468 <listitem>
41e7014c
RN
3469 <para>If the output has <emphasis>*</emphasis> after it, then the value has been calculated via interpolation (such as speed when the Trackpoint does not contain a speed value).</para>
3470 <para>If the output has <emphasis>**</emphasis> after it, then difficulties were encountered in trying to work the value so probably a default of 0 will be shown.</para>
8549385f
RN
3471 </listitem>
3472 </varlistentry>
3473 </variablelist>
3474 </para>
3475 </section>
7b97b14c 3476
78609471
RN
3477 </section>
3478
7b97b14c
RN
3479 <section id="config_keys" xreflabel="Keyboard Shortcuts File">
3480 <title>Keyboard Shortcuts (Accelerator) Settings</title>
3481 <para>This is held in the file <filename>~/.viking/keys.rc</filename></para>
3482 <para>It is in the standard GTK Accelerator map format. Values are automatically read in and saved between &app; sessions.</para>
3483 <para>This file is not intended to be manually edited, but since it is a plain text file it can be changed if desired.</para>
3484 </section>
3485
ba322d06 3486</section>
935bb09f 3487<!-- End of Extending Viking -->
f8b8a0b5 3488
f2e987af 3489<xi:include href="recommends.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
12227063 3490
1a358f70
RN
3491<xi:include href="commandline.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
3492
e3332d41
RN
3493<xi:include href="attribution.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
3494
f8b8a0b5 3495</article>