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