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