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