]> git.street.me.uk Git - andy/viking.git/blame - help/C/viking.xml
Ignore new output from autotools build system.
[andy/viking.git] / help / C / viking.xml
CommitLineData
f8b8a0b5
GB
1<?xml version="1.0"?>
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY appname "Viking">
5 <!ENTITY app "<application>Viking</application>">
1b5f6653
RN
6 <!ENTITY appversion "1.4">
7 <!ENTITY manrevision "1.4">
8 <!ENTITY date "February 2013">
f8b8a0b5
GB
9]>
10<!--
11 (Do not remove this comment block.)
12 Maintained by the GNOME Documentation Project
13 http://live.gnome.org/DocumentationProject
14 Template version: 3.0 beta
15 Template last modified 2006-11-21
16
17-->
18<!-- =============Document Header ============================= -->
19<article id="index" lang="en">
20 <articleinfo>
21 <title>&app; Manual</title>
22 <abstract role="description">
23 <para>&app; is a free/open source program to manage GPS data.</para>
24 </abstract>
25
26 <copyright>
1b5f6653 27 <year>2013</year>
f8b8a0b5 28 <holder>Guilhem Bonnefille</holder>
bbfdcbed 29 <holder>Rob Norris</holder>
f8b8a0b5
GB
30 </copyright>
31
32 <!-- An address can be added to the publisher information. -->
33 <publisher role="maintainer">
34 <publishername>GNOME Documentation Project</publishername>
35 </publisher>
36
37 <xi:include href="legal.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
38 <!-- The file legal.xml contains link to license for the documentation,
39 and other legal stuff such as "NO WARRANTY" statement.
40 Please do not change any of this. -->
41
42 <authorgroup>
43 <author>
44 <firstname>Guilhem</firstname>
45 <surname>Bonnefille</surname>
46 </author>
25c0a45b
RN
47 <author>
48 <firstname>Rob</firstname>
49 <surname>Norris</surname>
50 </author>
a43e638f
RN
51 <!-- Contributors from the Wiki history -->
52 <author>
53 <firstname>username:</firstname>
54 <surname>Alexxy</surname>
55 </author>
56 <author>
57 <firstname>username:</firstname>
58 <surname>Vikingis</surname>
59 </author>
60 <author>
61 <firstname>username:</firstname>
62 <surname>Tallguy</surname>
63 </author>
64 <author>
65 <firstname>username:</firstname>
66 <surname>EliotB</surname>
67 </author>
68 <author>
69 <firstname>Alex</firstname>
70 <surname>Foobarian</surname>
71 </author>
72 <!-- END -->
f8b8a0b5
GB
73 </authorgroup>
74
75 <revhistory>
76 <revision>
77 <revnumber>&appname; Manual V&manrevision;</revnumber>
78 <date>&date;</date>
79 <revdescription>
80 <para role="author">Guilhem Bonnefille <email>guilhem.bonnefille@gmail.com</email></para>
bbfdcbed 81 <para role="author">Rob Norris <email>rw_norris@hotmail.com</email></para>
f8b8a0b5 82 <para role="publisher">GNOME Documentation Project</para>
bbfdcbed 83 <para>This document was generated on <?dbtimestamp format="Y-m-d"?>.</para>
f8b8a0b5 84 </revdescription>
845a6b70 85 </revision>
f8b8a0b5
GB
86 </revhistory>
87
4502fc82 88 <releaseinfo>This manual describes version &appversion; of &appname;.</releaseinfo>
f8b8a0b5
GB
89
90 <legalnotice>
91 <title>Feedback</title>
92 <para>To report a bug or make a suggestion regarding the &app; application or
93 this manual, follow the directions in the
94 <ulink url="ghelp:user-guide?feedback-bugs" type="help">Feedback section of the GNOME User Guide</ulink>.
95 </para>
96 </legalnotice>
97 </articleinfo>
98
99 <indexterm zone="index">
100 <primary>&app;</primary>
101 </indexterm>
102<!-- ============= Document Body ============================= -->
4502fc82 103<section id="introduction">
f8b8a0b5 104 <title>Introduction</title>
6928e16b 105<para>
7233fcb6
RN
106&appname; aims to be easy to use, yet powerful in accomplishing a wide
107variety of tasks. Some of the things you can use &appname; for are:
6928e16b
GB
108</para>
109<itemizedlist mark="opencircle"><listitem>
110<para>
c3eb4a65 111Uploading and downloading waypoints, tracks and routes to/from GPS.
6928e16b
GB
112</para>
113</listitem>
114<listitem>
c3eb4a65
RN
115<para>Preparing tracks, routes and waypoints for trips using maps from services such as OpenStreetMap (OSM) and/or Terrasever.
116The data is only needed to be uploaded to your GPS before you leave.
117The maps together with your tracks, routes and waypoints can also be printed and used during the trip.
6928e16b
GB
118</para>
119</listitem>
120<listitem>
121<para>
122After trips, tracks and waypoints from GPS can be downloaded, stored, managed and reused in your (or your friends') later trips.
123</para>
124</listitem>
125<listitem>
126<para>
9ca89c29 127Analyzing Off Highway Vehicle (OHV) and hiking trips, understanding where you went and how far you were from something.
6928e16b
GB
128</para>
129</listitem>
130<listitem>
c3eb4a65 131<para>Making waypoints, tracks and routes to follow to easily get someplace
9ca89c29 132you've never been before or don't have GPS data for but online
6928e16b
GB
133maps exist for it.
134</para>
135</listitem>
136<listitem>
137<para>
138Making maps with coordinate lines.
139</para>
140</listitem>
141<listitem>
142<para>
143Grouping data from multiple trips using a hierarchical data manager.
144</para>
145</listitem>
146<listitem>
147<para>
148Analyzing speed at different places (to some degree), adding waypoints where you forgot to mark one but did slow down or stop.
149</para>
150</listitem>
151<listitem>
152<para>
3e8e3227 153Downloading and storing OpenStreetMap and/or Terraserver maps on your hard drive and looking at them later.
6928e16b
GB
154</para>
155</listitem>
156<listitem>
157<para>
c3eb4a65 158Editing routes or tracks and their trackpoints, joining and splitting up tracks and routes.
6928e16b
GB
159</para>
160</listitem>
0ef60ec1 161<listitem>
6928e16b 162<para>
73919102 163Show the live GPS position on the map (for use on a mobile device - e.g. a laptop). Not <trademark>Windows</trademark> at the moment.
6928e16b
GB
164</para>
165</listitem>
76b8a4e8
RN
166<listitem>
167<para>
c3eb4a65 168Import track, route and waypoint files of various types via <application>GPSBabel</application>
76b8a4e8
RN
169</para>
170</listitem>
dae48936
RN
171<listitem>
172<para>
173View, create and update Geotagged Images (using EXIF data).
174</para>
175</listitem>
9ca89c29
RN
176</itemizedlist>
177<note>
6928e16b 178<para>
9ca89c29 179&appname; is under continual improvement: see the potential areas in the <ulink url="http://sourceforge.net/apps/mediawiki/viking/index.php?title=Main_Page#TODO_.2F_Ideas"><citetitle>Roadmap / Wishlist</citetitle></ulink>:
6928e16b 180</para>
9ca89c29 181</note>
d4a2cefb
RN
182<figure>
183<title>Screenshot: OSM Cycle Map and Many Tracks</title>
184<screenshot>
185 <graphic format="JPG" fileref="figures/Viking-OSM-CycleMap-ManyTracks.jpg"/>
186</screenshot>
187</figure>
4502fc82 188</section>
7233fcb6 189
6928e16b 190<section><title>General Concepts</title>
63396406 191<section id="gc_layers" xreflabel="Layers"><title>Layers</title>
7233fcb6 192<para>
84017394 193<emphasis>Layers</emphasis> is concept one may know from powerful graphics editors such as <application>Photoshop</application> or <application>GIMP</application>.
7233fcb6 194Instead of putting all the data on the same level, it is stacked (i.e. layered) with different data over one another.
73919102 195This can be useful for analysis and general handling of various sets of data.
7233fcb6
RN
196</para>
197<para>
198Unfortunately the downside of this complexity is remembering how differing layers of data can obscure other data.
199</para>
200<para>
201The Map layers have <ulink url="http://en.wikipedia.org/wiki/Alpha_compositing"><citetitle>Alpha Compositing</citetitle></ulink>,
202to create the appearance of partial transparency.
203By controlling this value one can see data below it in the layer heirarchy for interesting effects.
204</para>
205</section>
63396406 206<section id="gc_layers_panel" xreflabel="Layers Panel"><title>Layers Panel</title>
6928e16b
GB
207<para>
208The panel on the left is called the <emphasis role="bold">layers panel</emphasis>.
209It determines which layers and sublayers (such as tracks and waypoints)
c3a02429
RN
210are shown, and the order in which they are drawn. Layers on the
211top of the layers panel list are drawn last. You can change the order by
6928e16b
GB
212drag and drop, or by selecting a layer and using the up and down
213buttons at the bottom of the layers panel.
214</para>
7233fcb6
RN
215</section>
216<section><title>Viewport</title>
6928e16b 217<para>
7233fcb6 218The main &appname; area where the layer data is drawn, is called the <emphasis role="bold">viewport</emphasis>.
6928e16b 219</para>
6928e16b 220</section>
7233fcb6 221<section><title>Statusbar</title>
7233fcb6 222<para>This provides a readout of various information:</para>
eabf51fc
GB
223<itemizedlist>
224<listitem><para>The currently selected (mouse pointer) tool</para></listitem>
225<listitem><para>The number of items to process in the background - normally this the number in the map tile download queue</para></listitem>
226<listitem><para>The zoom factor</para></listitem>
227<listitem><para>The location of the mouse pointer (and potentially height information if DEM data is available)</para></listitem>
228</itemizedlist>
9a3538f5
GB
229<para>When creating a track/route, the statusbar also displays some information about the track/route.</para>
230<figure>
231<title>Statusbar</title>
232<screenshot>
233 <graphic format="PNG" fileref="figures/trw_statusbar.png"/>
234</screenshot>
235</figure>
236<para>This part of the statusbar displays:
237<itemizedlist>
238<listitem><para>The total distance of the track/route (including currently edited segment).</para></listitem>
239<listitem><para>The bearing of the currently edited segment.</para></listitem>
240<listitem><para>The distance of the currently edited segment.</para></listitem>
241</itemizedlist>
242</para>
c4b6a67d
GB
243<para>For convenience, a zoom selector can be opened from the status bar. Simply left-click on the zoom factor.</para>
244<figure>
245 <title>The zoom selector available from status bar</title>
246 <screenshot>
247 <graphic format="PNG" fileref="figures/zoom_status_popup.png"/>
248 </screenshot>
249</figure>
7233fcb6 250</section>
d587678a
GB
251
252<section><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>
76936a96 268
5d1c714b
RN
269<section><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>
fef1084a 283 If the age of the tile on disk is less than the specified tile age (see <xref linkend="prefs"/>),
5d1c714b
RN
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</section>
302
fef1084a 303<section id="shortcut_keys" xreflabel="Shortcut Keys"><title>Shortcut Keys</title>
76936a96
RN
304<para>
305&appname; has several shortcut keys or key combinations for commands as listed in the main window along side the command.
306</para>
307<para>
308Some function keys follow standard GUI behaviour:
309</para>
310<itemizedlist>
311<listitem><para><keycap>F1</keycap> Help (view this manual)</para></listitem>
6b59f63d 312<listitem><para><keycap>F5</keycap> or <keycap>Ctrl+R</keycap> Refresh the maps on screen</para></listitem>
76936a96
RN
313<listitem><para><keycap>F10</keycap> Select the Menubar (in built behaviour)</para></listitem>
314<listitem><para><keycap>F11</keycap> Full Screen</para></listitem>
6b59f63d 315<listitem><para><keycap>Ctrl+F5</keycap> or <keycap>Ctrl+Shift+R</keycap> Redownload the maps on screen</para></listitem>
76936a96 316</itemizedlist>
6b59f63d
RN
317<note>
318<para>
319Refresh attempts to get new maps only if the local tile cache time period has expired for any particular map tile.
320Redownload gets all on screen maps from the server, ignoring the local tile cache.
321</para>
322</note>
76936a96
RN
323<para>
324Other function keys control turn on/off visibility of various elements:
325</para>
326<itemizedlist>
327<listitem><para><keycap>F3</keycap> Toggle visibility of the Toolbar</para></listitem>
328<listitem><para><keycap>F4</keycap> Toggle visibility of the Menubar</para></listitem>
6b59f63d 329<listitem><para><keycap>Shift+F5</keycap> Toggle visibility of the Scale indicator on the viewport</para></listitem>
76936a96
RN
330<listitem><para><keycap>F6</keycap> Toggle visibility of the Center Crosshairs on the viewport</para></listitem>
331<listitem><para><keycap>F7</keycap> Toggle showing selected items (e.g. tracks or waypoints) in the highlight colour in the viewport</para></listitem>
332<listitem><para><keycap>F9</keycap> Toggle visibility of the Layers Panel</para></listitem>
333<listitem><para><keycap>F12</keycap> Toggle visibility of the Statusbar</para></listitem>
334</itemizedlist>
335<para>
336Standard shortcuts are provided for normal GUI operations: such as creating new files, opening, saving and exitting.
337Then there are shortcuts specific to &appname; to switch projection modes, zoom in/out, create layers and switch the active tool mode.
338For these combinations see the menu entry themselves.
339</para>
7233fcb6
RN
340</section>
341
c3eb4a65
RN
342<section><title>Tracks vs Routes</title>
343<para>
344In 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.
345</para>
346<para>
84017394 347Q. When planning a <emphasis>route</emphasis> what difference does it make if it's a route or a track?
c3eb4a65
RN
348</para>
349<para>
350A. One difference is in how a GPS device navigates following the route or track.
351Or you may want to consider interoperability with other software.
352Otherwise it is probably best to use tracks as they are a superset of the route functionality.
353</para>
354<para>
355For example on Garmin Etrex:
356</para>
357<itemizedlist>
358<listitem>
359<para>Route following: Uses navigation mode with compass and estimated time to next point.</para>
360<para>If following on road it can calculate a route on fly.</para>
361<para>I (RN) always use this mode to follow pre planned routes.</para>
362</listitem>
363<listitem>
364<para>Track following: Uses a <trademark>TracBack</trademark> mode</para>
365<para>I (RN) never use this so I can't comment on how it actually compares to the route mode.</para>
366</listitem>
367</itemizedlist>
368<note><para>
369There are often restrictions on the numbers of route points the GPS Device can handle - may be 250 or as little as 50.
370This generally not a problem for single day routes, but needs managing for multi-day events or for highly detailed routes.
371</para></note>
372</section>
373
76936a96
RN
374</section><!--General Concepts End-->
375
7bb499bc
RN
376<section><title>File Types and the Main Window</title>
377
378<para>
379&appname; has it's own file type traditionally marked by the <emphasis>.vik</emphasis> file extension.
380This 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...).
381</para>
382<para>
383Besides it's own file type, &appname; can open (and save to via export methods) GPX and KML file types.
384</para>
385<note>
386<para>
387&appname; does not handle GPX 1.1 particularly well - it prefers GPX 1.0
388</para>
389</note>
390<para>
6db85a50 391By default &appname; opens a default blank window centered on the home location. This behaviour can be changed by the <xref linkend="prefs_startup"/>.
7bb499bc 392Each window contains menus, a toolbar, a viewport, layers panel and a statusbar.
fef1084a 393Each section (apart from the viewport) can be hidden using the <xref linkend="shortcut_keys"/> or from the
7bb499bc
RN
394<menuchoice><guimenu>View</guimenu><guisubmenu>Show</guisubmenu></menuchoice> choices.
395</para>
396<para>
397One may consider each &appname; window to be a separate project - each with it's project <emphasis>Viking</emphasis> file.
398However generally one window is enough for most purposes!
399</para>
400<para>
401Several operations apply at the window level as follows next.
fef1084a 402Also see <xref linkend="tools"/> for the operational modes that generally work in conjunction with a selected layer.
7bb499bc
RN
403</para>
404
405<section><title>New</title>
406<para>
407Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu></menuchoice> menu and on the toolbar <guibutton>New</guibutton>.
408</para>
409<para>
410This creates a new window with the default settings.
411</para>
412</section>
413
414<section><title>Open</title>
415<para>
416Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Open</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Open</guibutton>.
417</para>
418<para>
419This opens a file chooser dialog to select one (or more) files of the supported GPS data file types:
420<itemizedlist>
421<listitem><para>Viking</para></listitem>
422<listitem><para>GPX</para></listitem>
423<listitem><para>KML</para></listitem>
424</itemizedlist>
425</para>
426<para>
427GPX and KML 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.
428</para>
429<tip>
430<para>
431&appname; handles more file types via the <link linkend="acquire">Acquire</link> methods below.
432</para>
433</tip>
434</section>
435
436<section><title>Save</title>
437<para>
438Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Save</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Save</guibutton>.
439</para>
440<para>
441If the current opened file is <emphasis>Viking</emphasis> file, this save will simply update it.
442If 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.
443</para>
444</section>
445
446<section><title>Save As</title>
447<para>
448Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Save As</guisubmenu></menuchoice> menu only.
449</para>
450<para>
451This 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).
452</para>
453</section>
454
455<section><title>Append</title>
456<para>
457Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Append</guisubmenu></menuchoice> menu only.
458</para>
459<para>
460Selecting a <emphasis>Viking</emphasis> file from this method will join the file contents to the current window (instead of creating a new one).
461GPX and KML files may also be appended, but this is exactly the same as the normal file open method.
462</para>
463</section>
464
fef1084a 465<section id="acquire" xreflabel="acquire"><title>Acquire</title>
7bb499bc
RN
466
467<para>
c025f801 468Available on the <menuchoice><guimenu>File</guimenu><guisubmenu>Acquire</guisubmenu></menuchoice> menu and from the <xref linkend="TrackWaypoint"/> layer menu.
7bb499bc
RN
469</para>
470<para>
c025f801
RN
471If used from the <guimenu>File</guimenu> menu and a TrackWaypoint layer is not currently selected, these methods place the results in a new TrackWaypoint layer. When a TrackWaypoint layer is selected, then using the <menuchoice><guimenu>File</guimenu><guisubmenu>Acquire</guisubmenu></menuchoice> will put the results into the selected TrackWaypoint layer.
472</para>
473<para>
474If used from the <xref linkend="TrackWaypoint"/> layer menu these methods place the results in that TrackWaypoint layer.
7bb499bc
RN
475</para>
476
477<section>
478<title>From GPS</title>
479<para>
480<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
481Probably the easiest way of getting information from a GPS Device.
482</para>
483<para>
484Select the GPS Device communication settings and then hit <guibutton>OK</guibutton>.
485See the <link linkend="method_c">Getting Started</link> section for more info about the settings.
486</para>
487<note>
488<para>
489Some 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.
490</para>
491</note>
492</section>
493
494<section>
495<title>Import File With GPSBabel</title>
496<para>
497<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel</guimenuitem></menuchoice>
498</para>
499<para>
500Other formats can be imported that are supported by GPSBabel.
501</para>
502<para>
503You need to select the file <emphasis>and</emphasis> the type of the file that is going to be opened,
504since there is no automatic detection of the file kind.
505</para>
506</section>
507
508<section>
509<title>OSM Traces</title>
510<para>
511<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>OSM Traces</guimenuitem></menuchoice>
5f526098
RN
512</para>
513<para>
514See <xref linkend="osm_dl"/> section for more information.
515</para>
516</section>
517
518<section>
519<title>My OSM Traces</title>
520<para>
521<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>My OSM Traces</guimenuitem></menuchoice>
522</para>
523<para>
524See <xref linkend="osm_my_dl"/> section for more information.
7bb499bc
RN
525</para>
526</section>
527
528<section>
529<title>From Geotagged Images</title>
530<para>
531<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Geotagged Images</guimenuitem></menuchoice>
532Enables automatic creation of waypoints from geotagged images.
533</para>
534<para>
535This menu opens a dialog to select such image files.
c025f801 536If the image files have geotag information in them, then a <xref linkend="TrackWaypoint"/> layer with named waypoints positioned at the location of each image with a thumbnail of that image is created.
7bb499bc
RN
537</para>
538</section>
539
075d1614
RN
540<section>
541<title>From Wikipedia Waypoints</title>
542<para>
543<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Wikipedia Waypoints</guimenuitem></menuchoice>
544</para>
545<para>
84017394 546This gets <emphasis>interesting</emphasis> points from Wikipedia for the specified view: either within the extent of layer bounds or within the current viewport boundary.
075d1614
RN
547</para>
548</section>
549
7f95fd54
GB
550<section>
551<title>From Routing</title>
552<para>
553<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From Directions</guimenuitem></menuchoice>
554</para>
555<para>
556This gets a route from given directions.
557</para>
558</section>
559
7bb499bc
RN
560</section> <!-- End Acquire -->
561
562<section><title>Print</title>
563<para>
564Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Print</guisubmenu></menuchoice> menu and on the toolbar <guibutton>Print</guibutton>.
565</para>
566<para>
567Print 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
568cross hairs and the scale.
569</para>
570<para>
571It uses a standard system print dialog using an image the size of the current viewport in pixel terms.
572On the <emphasis>Image Settings</emphasis> you can move the image around the page and scale the image up / or down.
573</para>
574</section>
575
576<section><title>Generate Image File</title>
577<para>
578Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Generate Image File</guisubmenu></menuchoice> menu only.
579</para>
580<para>
581Allows generation of larger (pixel) area images than the standard Print method above.
582From the generated image you can use the facilities of the <application>Operating System</application> to print the image
583or perform other actions.
584</para>
585<para>
586You should have previously downloaded the tile images for the chosen zoom level,
587otherwise the image produced will have missing sections.
588</para>
589<warning>
590<para>
591Using large areas takes some time to process and due to the method used it may run out of memory to complete the operation.
592Unfortunately under <trademark>Windows</trademark> systems it can not detect this failure and may crash the program.
593So the maximum size is dependent on the capabilities of your system.
594For instance the largest successful image generated on my (RN) Debian system is a pixel area of 20,000 x 20,000.
595</para>
596</warning>
597</section>
598
599<section><title>Generate Directory of Images</title>
600<para>
601Located on the <menuchoice><guimenu>File</guimenu><guisubmenu>Generate Directory of Images</guisubmenu></menuchoice> menu only.
602</para>
4e859f76 603<note>
7bb499bc
RN
604<para>
605This is only available in UTM mode.
606</para>
4e859f76 607</note>
7bb499bc
RN
608</section>
609
610</section> <!-- End File Types -->
611
6928e16b 612<section><title>Layers</title>
036c28fc 613
28f39a51
RN
614<para>
615Layers supported by &appname; are:
616</para>
617<itemizedlist>
6a997af7
RN
618<listitem><para><xref linkend="Aggregate"/></para></listitem>
619<listitem><para><xref linkend="TrackWaypoint"/></para></listitem>
620<listitem><para><xref linkend="GPS"/></para></listitem>
621<listitem><para><xref linkend="DEM"/></para></listitem>
622<listitem><para><xref linkend="Coordinate"/></para></listitem>
623<listitem><para><xref linkend="Maps"/></para></listitem>
624<listitem><para><xref linkend="GeoRef"/></para></listitem>
28f39a51
RN
625</itemizedlist>
626<para>
627For each layer there are a few standard options:
628</para>
629<itemizedlist>
630<listitem><para>Properties - Layer setup / configuration settings</para></listitem>
631<listitem><para>Cut</para></listitem>
632<listitem><para>Copy</para></listitem>
633<listitem><para>Paste</para></listitem>
634<listitem><para>Delete</para></listitem>
635<listitem><para>Visibility - This checkbox on the Layers Panel controls whether the layer is shown in the viewport or not</para></listitem>
636</itemizedlist>
637<para>
638The cut/copy/paste options can be accessed in a variety of ways once the layer has been selected:
639</para>
640<itemizedlist>
641<listitem><para>Standard keys: <keycap>Ctrl+x|c|v</keycap></para></listitem>
642<listitem><para>Main menu <guimenuitem>Edit</guimenuitem></para></listitem>
643<listitem><para>From the right click menu</para></listitem>
644<listitem><para>Buttons at the bottom of the Layers Panel</para></listitem>
645</itemizedlist>
646<para>
2ed09ddf
RN
647Default values used for each layer's properties can be altered via the <menuchoice><guimenu>Edit</guimenu><guisubmenu>Layer Defaults</guisubmenu></menuchoice> menu options.
648</para>
649<para>
28f39a51
RN
650See the individual section for detail about each layer.
651</para>
6a997af7 652</section>
28f39a51 653
c025f801 654<section id="TrackWaypoint" xreflabel="TrackWaypoint"><title>TrackWaypoint Layer</title>
6928e16b 655<para>
c3eb4a65 656TrackWaypoint layers display GPS data (tracks, routes and waypoints).
6928e16b 657</para>
7233fcb6 658<para>One way to create new waypoints is to copy a
6928e16b 659latitude/longitude coordinate pair, such as the one shown on most
0ef60ec1
GB
660geocaches, and paste it into an active TrackWaypoint layer. &appname; can
661automatically recognize several variations of the lat/lon format.
662</para>
6928e16b 663<para>
c3a02429 664By right-clicking on tracks, routes or waypoints in the <xref linkend="gc_layers_panel"/>, you can access many commands on them.
c3eb4a65
RN
665You can easily find a specific track, route or waypoint by expanding the appropriate containing Tracks, Routes or Waypoints sublayer in the
666layers panel to show all the individual items and then typing the name of the track, route or waypoint.
667</para>
668
669<para>
670The containing Tracks, Routes or Waypoints sublayers are only shown when items of that type exist.
671To start creating them enter into a create mode via either the <guibutton>Create</guibutton> toolbar commands or the <guimenuitem>New</guimenuitem> menu commands.
672</para>
673
179bfc90
RN
674<para>
675The sublayers also offer right click menu options.
676These are the same as those available at the TrackWaypoint level, but only those that relate to the sublayer type.
677</para>
678
c3eb4a65
RN
679<para>
680By default routes are coloured red. Tracks are automatically assigned a spread of colours.
681</para>
682
683<para>
9f30939a 684Most operations available on tracks are available on routes, except for functionality that relies on having timestamps - since routes by definition have no timing information. Thus for example, uploading a route to OpenStreetMap Traces is not available nor is Geotagging on a route.
c3eb4a65 685It is possible to convert between Tracks and Routes, although converting from a Track to a Route may involve a loss of information (hence you are required to confirm this operation before it happens).
6928e16b 686</para>
036c28fc 687
6928e16b
GB
688<section><title>Layer Operations</title>
689<para>
690The layer has a context menu with several operations.
691</para>
036c28fc
RN
692
693<section><title>View Layer</title>
694<para>
c3eb4a65 695Version1.1+: This will automatically move the viewport and select the best zoom level to see the whole layer (i.e. all tracks, routes and waypoints).
036c28fc
RN
696</para>
697</section>
698
c3eb4a65
RN
699<section><title>View</title>
700
179bfc90 701<section id="track_view_all"><title>View All Tracks</title>
036c28fc 702<para>
c3eb4a65
RN
703Version1.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).
704</para>
705</section>
706
179bfc90 707<section id="route_view_all"><title>View All Routes</title>
c3eb4a65
RN
708<para>
709Version1.4+: This will automatically move the viewport and select the best zoom level to see the all the routes in the layer (ignoring positions of any tracks or waypoints).
036c28fc
RN
710</para>
711</section>
712
179bfc90 713<section id="wp_view_all"><title>View All Waypoints</title>
036c28fc 714<para>
c3eb4a65 715Version1.1+: This will automatically move the viewport and select the best zoom level to see the all the waypoints in the layer (ignoring positions of any tracks or routes).
036c28fc
RN
716</para>
717</section>
718
c3eb4a65
RN
719</section>
720
036c28fc
RN
721<section><title>Goto Center of Layer</title>
722<para>
c3eb4a65 723This will automatically move the viewport to see the whole layer (i.e. tracks, routes and waypoints). It does not adjust the zoom level.
036c28fc
RN
724</para>
725</section>
726
179bfc90 727<section id="wp_goto"><title>Goto Waypoint</title>
036c28fc
RN
728<para>
729This opens a dialog box to enter a name of waypoint to search for. If it is found the viewport is centred on it.
730</para>
731<note>
732<para>
733Note this search is not very clever and only finds exact matches.
734You are probably better off expanding the waypoint list and directly start typing, as mentioned above, which finds a match based on each letter typed.
735</para>
736</note>
737</section>
738
739<section><title>Export Layer</title>
740<para>
c3eb4a65 741The layer (all tracks, routes and waypoints) can be exported to a file GPX, GPSPoint, GPSMapper or Google's KML format.
036c28fc
RN
742</para>
743<para>
744Version1.1+: An individual track can be exported to a GPX file via the track menu.
745</para>
746</section>
747
333ad216 748<section id="finish_track"><title>Finish Track or Route</title>
179bfc90 749<para>
179bfc90
RN
750Selecting this option ends the creation of that individual track or route.
751</para>
4e859f76
GB
752<note>
753<para>
754This is only available when a track or route is being created by the <xref linkend="track_create"/> or <xref linkend="route_create"/> tools.
755</para>
756</note>
179bfc90
RN
757</section>
758
759<section><title>New</title>
cc1083b3 760<section id="new_wp"><title>New Waypoint</title>
036c28fc
RN
761<para>
762This 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.
763</para>
764</section>
179bfc90
RN
765<section id="new_track"><title>New Track</title>
766<para>
767This turns on the <xref linkend="track_create"/> tool.
768</para>
769</section>
770<section id="new_route"><title>New Route</title>
771<para>
772This turns on the <xref linkend="route_create"/> tool.
773</para>
774</section>
775</section>
036c28fc 776
dae48936
RN
777<section><title>Geotag Images</title>
778<para>
779This starts the Geotagging Images dialog against all tracks in the layer.
780See <link linkend="geotagging">Geotagging</link> for further detail.
781</para>
782</section>
783
7bb499bc
RN
784<section><title>Acquire</title>
785<para>
fef1084a 786This offers the same choice from <xref linkend="acquire"/> methods as on the <guimenu>File</guimenu> menu.
7bb499bc
RN
787However when invoked from here, the results will be stored in this layer (instead of creating a new one).
788</para>
789</section>
790
364f9e0a
RN
791<section><title>Upload</title>
792
793<section id="gps_upload"><title>Upload to GPS</title>
794<para>
795This opens a dialog to select the GPS Device and port to which the layer information will be transferred.
796</para>
797<para>
c3eb4a65 798The types of GPS information (tracks, routes or waypoints) to be transferred can be selected.
364f9e0a
RN
799</para>
800<para>
c3eb4a65 801Tracks, Routes or Waypoints that are invisible will not be transferred.
364f9e0a
RN
802</para>
803</section>
804
fef1084a 805<section id="osm_upload" xreflabel="Upload To OSM" ><title>Upload To OSM</title>
036c28fc 806<para>
3e8e3227 807This opens a dialog to upload all tracks and waypoints to <ulink url="http://openstreetmap.org/">OpenStreetMap</ulink> traces.
fef1084a 808Useful if you are an OpenStreetMap contributor (you will need an OpenStreetMap account), these details can be stored in &appname; <xref linkend="prefs_osm"/>
036c28fc 809</para>
6928e16b 810<para>
3e8e3227 811 &appname; allows you to edit a track, e.g. remove duplicate points, perhaps remove track points leading to your home and then upload it to OpenStreetMap.
6928e16b 812</para>
7bb499bc 813<warning>
6928e16b 814<para>
4cdc9eb3 815The password is transferred <emphasis role="bold">unencrypted</emphasis> in every request sent to the OpenStreetMap server. This is due to the use of OpenStreetMap's basic authentication method.
6928e16b 816</para>
4cdc9eb3 817<para>Currently &appname; does not support the <ulink url="http://oauth.net/">OAuth</ulink> mechanism.</para>
7bb499bc 818</warning>
036c28fc 819</section>
6928e16b 820
364f9e0a
RN
821</section>
822
179bfc90
RN
823<section><title>Delete</title>
824<para>Offers deletion of various parts of a TrackWaypoint layer:</para>
825<section id="delete_all_tracks"><title>Delete All Tracks</title>
826<para>Deletes all the tracks in this layer.</para>
827</section>
828<section id="delete_selection_tracks"><title>Delete Tracks from Selection</title>
829<para>Opens a dialog with list of all the tracks from this layer to choose the ones to delete.</para>
830</section>
831<section id="delete_all_routes"><title>Delete All Routes</title>
832<para>Deletes all the routes in this layer.</para>
833</section>
834<section id="delete_selection_routes"><title>Delete Routes from Selection</title>
835<para>Opens a dialog with list of all the routes from this layer to choose the ones to delete.</para>
836</section>
837<section id="delete_all_waypoints"><title>Delete All Waypoints</title>
838<para>Deletes all the waypoints in this layer.</para>
839</section>
840<section id="delete_selection_waypoints"><title>Delete Waypoints from Selection</title>
841<para>Opens a dialog with list of all the waypoints from this layer to choose the ones to delete.</para>
842</section>
843</section>
844
036c28fc
RN
845<section><title>Filter</title>
846<section><title>Simplify All Tracks</title>
847<para>
848This 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.
849</para>
850</section>
851<section><title>Remove Duplicate Waypoints</title>
852<para>
853Remove Duplicate Waypoints - fairly self explainatory, with the results created in a new layer.
854</para>
855<note>
856<para>
857However 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.
858</para>
859</note>
860</section>
6928e16b
GB
861</section>
862
036c28fc
RN
863<section id="filter_with_track"><title>Filter With <emphasis>Trackname</emphasis></title>
864<para>
865This 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:
866</para>
867<itemizedlist>
868<listitem><para>Waypoints Inside This</para></listitem>
869<listitem><para>Waypoints Outside This</para></listitem>
870</itemizedlist>
871<para>
872The result is generated in a new Track/Waypoint layer.
873</para>
6928e16b 874</section>
036c28fc 875
dae48936
RN
876<section><title>Geotag Images</title>
877<para>
878This starts the Geotagging Images dialog using the specific track.
879See <link linkend="geotagging">Geotagging</link> for further detail.
880</para>
881</section>
882
036c28fc
RN
883</section><!-- End TRW Layer Options -->
884
179bfc90
RN
885<section><title>Track and Route Sublayer Options</title>
886<para>Repeats options available at the TrackWaypoint level, but only those for tracks and routes:</para>
887<itemizedlist>
888<listitem><para>Finish Track or Route. Same as the layer <link linkend="finish_track">Finish Track or Route</link></para></listitem>
889<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>
890<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>
891<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>
892<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>
893</itemizedlist>
894</section>
895
c3eb4a65 896<section><title>Track and Route Properties</title>
6928e16b 897<para>
c3eb4a65 898Show many useful statistics about a track or a route, including a
6928e16b
GB
899elevation-distance graph and a speed-time graph (if data is available).
900You can click these graphs to jump to the point in the track. You can
c3eb4a65 901also reverse it, delete duplicates, and split a track from its
6928e16b
GB
902component segments (discontinuous breaks in a track) into separate
903tracks.
904</para>
905<para>
906The following colors are used in the elevation-distance graph:
907</para>
0ef60ec1
GB
908<variablelist>
909<varlistentry>
84017394 910<term><emphasis>Main</emphasis> colour - this is dependent on your Desktop theme - often blue by default</term>
0ef60ec1
GB
911<listitem><para>elevation data in graph</para></listitem>
912</varlistentry>
913<varlistentry>
914<term>Yellow</term>
6928e16b 915<listitem>
0ef60ec1 916<para>no elevation data</para>
6928e16b 917</listitem>
0ef60ec1
GB
918</varlistentry>
919<varlistentry>
920<term>Green</term>
6928e16b 921<listitem>
0ef60ec1 922<para>elevation data from DEM</para>
6928e16b 923</listitem>
0ef60ec1
GB
924</varlistentry>
925<varlistentry>
926<term>Red</term>
6928e16b 927<listitem>
0ef60ec1 928<para>speed</para>
6928e16b 929</listitem>
0ef60ec1
GB
930</varlistentry>
931</variablelist>
6928e16b
GB
932
933</section>
d45662d5 934
c3eb4a65 935<section><title>Track and Route Operations</title>
d45662d5 936
179bfc90
RN
937<section><title>Finish Track</title>
938<para>
179bfc90
RN
939Selecting this option ends the creation of the individual track.
940</para>
4e859f76
GB
941<note>
942<para>
943This is only available when a track is being created by the <xref linkend="track_create"/> tool.
944</para>
945</note>
179bfc90
RN
946</section>
947
d45662d5
RN
948<section><title>Goto</title>
949<para>
950This centers the viewport on the selected position on the track:
951</para>
952<itemizedlist>
953<listitem><para>Startpoint</para></listitem>
954<listitem><para>"Center" - the notional center from the bounds of the track</para></listitem>
955<listitem><para>Endpoint</para></listitem>
956<listitem><para>Version1.1+: Highest Altitude</para></listitem>
957<listitem><para>Version1.1+: Lowest Altitude</para></listitem>
c3eb4a65 958<listitem><para>Version1.1+: Maximum Speed (Not Available on Routes)</para></listitem>
d45662d5
RN
959</itemizedlist>
960</section>
961
962<section><title>View</title>
963<para>
964Version1.1+: This centers the viewport on the track and selects the best zoom level to see it.
965</para>
966</section>
967
9552af08 968<section><title>Combine</title>
d45662d5 969<section><title>Merge By Time</title>
0ef60ec1
GB
970<para>
971This operation repeatedly tries to merge the right-clicked track
6928e16b
GB
972with tracks in the same TrackWaypoint layer. The tracks which are
973merged are those which have at least one trackpoint less than some
974threshold time away. This way, if you somehow end up with lots of small
975segments (say, caused by turning the GPS on and off) you can merge them
0ef60ec1
GB
976easily into one track.
977</para>
4e859f76 978<note>
c3eb4a65
RN
979<para>
980This is not available on routes as they have no timestamps.
981</para>
4e859f76 982</note>
d45662d5 983</section>
6928e16b 984
d45662d5
RN
985<section><title>Merge With Other Tracks</title>
986<para>
987This opens a dialog listing the other tracks in the same TrackWaypoint layer, from which one can select the other tracks to merge with.
988</para>
6928e16b 989</section>
d45662d5 990
9552af08
RN
991<section><title>Merge Segments</title>
992<para>
993Combines track segments. Effectively removing track segment markers to leave one segment for the whole track.
994</para>
995</section>
996
c3eb4a65 997<section><title>Append Track or Route</title>
9552af08
RN
998<para>
999Enable joining of a single track to the end of the current track.
1000This opens a dialog listing the other tracks in the same TrackWaypoint layer from which one can make the selection.
1001</para>
1002</section>
1003</section>
1004
1005<section><title>Split</title>
d45662d5 1006<section><title>Split By Time</title>
6928e16b
GB
1007<para>
1008This operation will split a single track into segments wherever the
1009time interval between successive trackpoints is larger than some
1010threshold. This is useful when processing raw NMEA GPS data, especially
0ef60ec1
GB
1011taken over a long time.
1012</para>
4e859f76 1013<note>
c3eb4a65
RN
1014<para>
1015This is not available on routes as they have no timestamps.
1016</para>
4e859f76 1017</note>
6928e16b 1018</section>
d45662d5 1019
43e67498
RN
1020<section><title>Split By Number of Points</title>
1021<para>
1022Version1.2+: This operation will split a single track into segments by the number of points specified.
1023This can be useful with devices which may have limits on the number of points it supports.
1024</para>
1025</section>
1026
9552af08
RN
1027<section><title>Split Segments</title>
1028<para>
1029Splits track segments into new tracks.
1030</para>
4e859f76 1031<note>
c3eb4a65
RN
1032<para>
1033This is not available on routes as they do not have route segments.
1034</para>
4e859f76 1035</note>
9552af08
RN
1036</section>
1037
1038<section><title>Split at Trackpoint</title>
1039<para>
4e859f76
GB
1040Splits the track at the currently selected trackpoint.
1041</para>
1042<note>
1043<para>
1044This is only enabled when a trackpoint is selected.
9552af08 1045</para>
4e859f76 1046</note>
9552af08
RN
1047</section>
1048</section>
1049
1050<section><title>Delete Points</title>
1051<section><title>Delete Points With the Same Position</title>
1052<para>
1053Deletes subsequent points that have the same position (but have different timestamps).
1054</para>
1055</section>
1056<section><title>Delete Points With the Same Time</title>
1057<para>
1058Deletes subsequent points that have the same time stamp (but may have different positions).
1059</para>
4e859f76 1060<note>
c3eb4a65
RN
1061<para>
1062This is not available on routes as they have no timestamps.
1063</para>
4e859f76 1064</note>
9552af08
RN
1065</section>
1066
1067</section>
1068
6928e16b
GB
1069<section><title>Apply DEM data</title>
1070<para>
1071If any DEM data is loaded, this will apply the DEM data to give the track elevation data.
1072</para>
d45662d5 1073</section>
6928e16b 1074
d45662d5
RN
1075<section><title>Export Track as GPX</title>
1076<para>
1077Version1.1+: This allows exporting the track as a GPX file by opening a file save dialog.
1078</para>
6928e16b 1079</section>
d45662d5
RN
1080
1081<section><title>Extend Track End</title>
6928e16b 1082<para>
d45662d5 1083Changes the current tool to add trackpoints to the end of the track.
6928e16b 1084</para>
d45662d5 1085</section>
6928e16b 1086
0db79fc5 1087<section><title>Extend Using Route Finder</title>
d45662d5 1088<para>
9f30939a 1089Enables the Route Finder tool. Thus on a subsequent left click in the viewport, a route is calculated from the end of track to that point using the default route service and applied to the track.
d45662d5 1090</para>
6928e16b 1091</section>
d45662d5 1092
364f9e0a
RN
1093<section><title>Upload</title>
1094
1095<section><title>Upload to GPS</title>
1096<para>
1097Same as the layer <link linkend="gps_upload">Upload to GPS</link> command, but only applies to the track.
1098</para>
1099</section>
1100
6928e16b
GB
1101<section><title>Upload to OSM</title>
1102<para>
73919102 1103Same as the layer <link linkend="osm_upload">Upload to OSM</link> command, but only applies to the track.
6928e16b 1104</para>
d45662d5 1105</section>
6928e16b 1106
364f9e0a
RN
1107</section>
1108
d45662d5
RN
1109<section><title>Use With Filter</title>
1110<para>
1111This selects the track to be used in the <link linkend="filter_with_track">Filter With <emphasis>Trackname</emphasis></link> feature.
1112</para>
4e859f76 1113<note>
c3eb4a65
RN
1114<para>
1115This is not available on routes.
1116</para>
4e859f76 1117</note>
6928e16b 1118</section>
d45662d5 1119
1a3be6a8
GB
1120<section><title>Refine Route...</title>
1121<para>
1122This function allows to request a Routing Engine in order to refine a given route.
1123By "refining" we mean computing all real intermediates points between some given major points.
1124This could be useful to compute a trip giving only the wished important steps.
1125</para>
1126<note>
1127<para>
1128This is only available on routes.
1129</para>
1130</note>
1131</section>
1132
6928e16b 1133<section><title>View Google Directions</title>
0ef60ec1 1134<para>
0db79fc5 1135This option is only available on a track created using the Route Finder tool.
d45662d5
RN
1136</para>
1137<para>
1138Launch a web browser to see the Google directions page which yielded the route.
0ef60ec1
GB
1139</para>
1140<note>
1141<para>
0db79fc5 1142The record of the Google route is stored in the track's comment, so if the comment is changed (or the route was created by something other than the Route Finder tool) this will not work correctly.
6928e16b 1143</para>
0ef60ec1 1144</note>
6928e16b 1145</section>
55340efa 1146
d45662d5 1147</section><!-- End Track Options -->
cc1083b3 1148
179bfc90
RN
1149<section><title>Waypoint Sublayer Options</title>
1150<para>Repeats options available at the TrackWaypoint level, but only those for waypoints:</para>
1151<itemizedlist>
1152<listitem><para>New Waypoint. Same as the layer <link linkend="new_wp">New Waypoint</link></para></listitem>
1153<listitem><para>View All Waypoints. Same as the layer <link linkend="wp_view_all">View All Waypoints</link></para></listitem>
1154<listitem><para>Goto Waypoint. Same as the layer <link linkend="wp_goto">Goto Waypoint</link></para></listitem>
1155<listitem><para>Delete All Waypoints. Same as the layer <link linkend="delete_all_waypoints">Delete All Waypoints</link></para></listitem>
1156<listitem><para>Delete Waypoints from Selection. Same as the layer <link linkend="delete_selection_waypoints">Delete Waypoints from Selection</link></para></listitem>
1157</itemizedlist>
1158</section>
1159
440ef68c
RN
1160<section><title>Waypoint Properties</title>
1161
1162<para>
1163This 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).
1164</para>
dae48936
RN
1165<para>
1166If the waypoint has an associated image, then the Geotag information may be updated, either with updating the file's modification timestamp or not.
1167This can be useful when the waypoint has been moved.
1168</para>
440ef68c
RN
1169
1170</section><!-- WP Prop END -->
1171
6928e16b 1172<section><title>Waypoint Operations</title>
cc1083b3
RN
1173
1174<section><title>Goto</title>
6928e16b 1175<para>
cc1083b3 1176This centers the viewport on the selected waypoint.
6928e16b 1177</para>
cc1083b3 1178</section>
6928e16b 1179
179bfc90
RN
1180<section><title>Visit Webpage</title>
1181<para>
84017394 1182If the waypoint's comment (or description) starts with <literal>http:</literal> then this option is available and allows launching a web browser to go to the webpage.
179bfc90
RN
1183</para>
1184</section>
1185
cc1083b3
RN
1186<section><title>Visit Geocache Webpage</title>
1187<para>
179bfc90 1188If the waypoint's name is in Geocache form (GCXXXXX) then this option is available and allows launching a web browser to go to the Geocache page.
cc1083b3 1189</para>
6928e16b
GB
1190</section>
1191
cc1083b3
RN
1192<section><title>New Waypoint</title>
1193<para>
1194Same as the layer <link linkend="new_wp">New Waypoint</link>.
1195</para>
6928e16b
GB
1196</section>
1197
cc1083b3
RN
1198</section><!-- WP END -->
1199
fef1084a 1200<section id="geotagging" xreflabel="Geotagging"><title>Version1.3+: Geotag Images</title>
dae48936
RN
1201<para>
1202This dialog allows geotagging images (normally taken with a digital camera) via interpolation against a specific track or all tracks in the TrackWaypoint layer - depending on how it is invoked.
1203</para>
1204<para>
1205Images 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.
1206</para>
1207<note>
1208<para>
1209Generally 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.
1210</para>
1211</note>
1212<para>
1213Various options allow control of how the geotagging process is performed:
1214</para>
1215<itemizedlist>
1216<listitem><para>Images - Add the images used for geotagging</para></listitem>
1217<listitem><para>Create Waypoints</para></listitem>
269865aa 1218<listitem><para>Overwrite Existing Waypoints</para></listitem>
dae48936
RN
1219<listitem><para>Write EXIF</para></listitem>
1220<listitem><para>Overwrite Existing GPS Information</para></listitem>
1221<listitem><para>Interpolate Between Track Segments</para></listitem>
1222<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>
1223<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>
1224</itemizedlist>
1225</section>
1226
036c28fc
RN
1227</section><!-- TRW Layer END -->
1228
6a997af7 1229<section id="GPS" xreflabel="GPS"><title>GPS Layer</title>
0ef60ec1 1230<para>
7233fcb6 1231The GPS layer is responsible for uploading and downloading GPS data
6928e16b 1232from a GPS device. It also is responsible for realtime GPS tracking.
c025f801 1233Expand the GPS layer in the layers panel to see the two <xref linkend="TrackWaypoint"/> layers it
6928e16b 1234uses for uploading and downloading. To upload, download, or use
7233fcb6 1235realtime tracking, right-click the GPS layer and click the appropiate
6928e16b
GB
1236menu item.
1237</para>
0ef60ec1 1238
6928e16b
GB
1239<section><title>Download</title>
1240<para>
7233fcb6 1241To download data from the GPS, right-click the GPS layer and click <guimenuitem>Download from GPS</guimenuitem>.
6928e16b 1242</para>
6928e16b 1243</section>
ca2f3f23 1244
6928e16b 1245<section><title>Upload</title>
0ef60ec1
GB
1246<para>
1247To upload data to the GPS, first populate the GPS Upload child
c3eb4a65
RN
1248layer of the GPS layer (either by creating waypoints/tracks/routes in it, or
1249copying and pasting or dragging waypoints/tracks/routes from another layer).
7233fcb6 1250Then right-click the GPS layer and click <guimenuitem>Upload to GPS</guimenuitem>.
6928e16b 1251</para>
6928e16b 1252</section>
ca2f3f23 1253
7233fcb6 1254<section><title>Realtime Tracking</title>
0ef60ec1
GB
1255<para>
1256You must set up gpsd correctly or use a GPSD server and put the
7233fcb6
RN
1257correct information in the GPS layer properties dialog. Then right-click
1258the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
6928e16b 1259</para>
6928e16b
GB
1260</section>
1261
ca2f3f23
RN
1262<section><title>Empty <emphasis>Item</emphasis></title>
1263<para>
1264There are several options to quickly delete a subsection of data:
1265</para>
1266<itemizedlist>
1267<listitem><para>Empty Realtime</para></listitem>
1268<listitem><para>Empty Upload</para></listitem>
1269<listitem><para>Empty Download</para></listitem>
1270<listitem><para>Empty All</para></listitem>
1271</itemizedlist>
6928e16b 1272</section>
ca2f3f23
RN
1273
1274</section><!-- End GPS -->
1275
6a997af7 1276<section id="DEM" xreflabel="DEM"><title>DEM (Digital Elevation Model) Layer</title>
6928e16b 1277<para>
6fa00cca 1278This layer provides elevation data from the <ulink url="http://www2.jpl.nasa.gov/srtm/">Shuttle Radar Topography Mission (SRTM)</ulink>
6928e16b 1279</para>
6fa00cca
RN
1280<para>
1281Elevation 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]
1282</para>
1283<para>
1284To 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.
1285</para>
1286<para>
1287The current data server is: <ulink url="http://dds.cr.usgs.gov/srtm/version2_1/">NASA STRM 2.1</ulink>.
1288</para>
1289<para>
1290ATM &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.
1291</para>
1292<note>
1293<para>
1294Using 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"
1295</para>
1296</note>
6928e16b 1297
6fa00cca 1298</section><!-- End DEM -->
6928e16b 1299
f1b908b1 1300
6a997af7 1301<section id="Maps" xreflabel="Maps"><title>Maps Layer</title>
f1b908b1
RN
1302<para>
1303This layer provides a single map resource, you may have multiple map layers but only top one (if enabled) will be visible.
1304You will need an open internet connection when you are downloading maps, 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.
1305</para>
1306<para>
84017394 1307Some maps are continually improving over time (e.g. OpenStreetMap) and so in order to not to have to (re)download the data all the time &appname; employs a timeout method - <emphasis>Tile Age</emphasis> to determine whether to access the server. However a forced refresh for the current view can be made via the <guilabel>Reload All Onscreen Maps</guilabel> option.
f1b908b1
RN
1308</para>
1309<para>
3e8e3227 1310Inbuilt maps include various <ulink url="http://en.wikipedia.org/wiki/TerraServer-USA">Terraserver</ulink> (Primarily USA coverage) and <ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> ones and more:
f1b908b1
RN
1311</para>
1312<itemizedlist>
e2eb2a7b 1313<listitem><para>Bing Bird's Eye (Aerial) Maps (&appname; Version1.2+)</para></listitem>
f1b908b1
RN
1314<listitem><para>Terraserver Topos</para></listitem>
1315<listitem><para>Terraserver Aerials</para></listitem>
1316<listitem><para>Terraserver Urban Areas</para></listitem>
f71b9997
RN
1317<listitem><para>OpenStreetMap (Mapquest) - This is the default (&appname; Version1.3+)</para></listitem>
1318<listitem><para>OpenStreetMap (Mapnik)</para></listitem>
f1b908b1 1319<listitem><para>OpenStreetMap (Cycle)</para></listitem>
f71b9997 1320<listitem><para>OpenStreetMap (Transport) (&appname; Version1.3+)</para></listitem>
f1b908b1
RN
1321<listitem><para>NASA BlueMarble</para></listitem>
1322<listitem><para>SpotMap (&appname; Version1.1+)</para></listitem>
1323</itemizedlist>
1324
1325<para>
fef1084a 1326&appname; can be configured to handle additional maps. See <xref linkend="extend_viking"/> for further detail.
f1b908b1
RN
1327</para>
1328
1329<section><title>Layer Operations</title>
1330<section><title>Download Missing Onscreen Maps</title>
1331<para>
1332This requests map tiles for areas of the viewport that do not currently have one.
1333</para>
1334</section>
1335
1336<section><title>Download New Onscreen Maps</title>
1337<para>
1338This requests map tiles only if the maps are older than the Tile Age preference.
1339</para>
1340</section>
1341
1342<section><title>Reload All Onscreen Maps</title>
1343<para>
1344Force a refresh of all visible map tiles.
1345</para>
1346</section>
1347</section>
1348
1349
1350</section><!-- End Maps -->
1351
6a997af7 1352<section id="Aggregate" xreflabel="Aggregate"><title>Aggregate Layer</title>
ce269944 1353<para>
8be6e73e 1354This layer is a container layer to hold other layers. There is always an initial and controlling <emphasis>Top Layer</emphasis> that can not be removed or renamed.
ce269944
RN
1355</para>
1356<para>
c025f801 1357This layer type is useful for grouping other layers, especially <xref linkend="TrackWaypoint"/> layers, in whatever categories are relevant to you: such as by activity, location or date.
ce269944
RN
1358Here are some suggestions:
1359<itemizedlist>
1360<listitem><para>Hiking</para></listitem>
1361<listitem><para>Mountain Biking</para></listitem>
1362<listitem><para>Road Cycling</para></listitem>
1363<listitem><para>Car Trips</para></listitem>
1364<listitem><para>Sailing</para></listitem>
1365<listitem><para>Holidays</para></listitem>
1366<listitem><para>UK Points of Interest</para></listitem>
1367<listitem><para>USA Points of Interest</para></listitem>
1368<listitem><para>etc...</para></listitem>
1369</itemizedlist>
1370</para>
1371<para>
1372Thus one can have a list of all your tracks, but groups can be shown or not using the relevant layers visibility checkbox.
1373</para>
1374
1375<para>
1376This layer only has one operation: <guilabel>New Layer</guilabel>
1377</para>
1378
1379<section><title>New Layer</title>
1380<para>
1381Add a new layer of the selected type.
1382</para>
1383</section>
1384
1385</section><!-- End Agg -->
1386
6a997af7 1387<section id="GeoRef" xreflabel="GeoRef"><title>GeoRef Layer</title>
ce269944
RN
1388<para>
1389This 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.
1390</para>
1391<section><title>Layer Operations</title>
1392<section><title>Zoom to Fit Map</title>
1393<para>
1394Automatically set a zoom level to see the entire map coverage.
1395</para>
1396</section>
1397
1398<section><title>Goto Map Center</title>
1399<para>
1400Center the viewport on this map.
1401</para>
1402
1403</section>
1404<section><title>Export to World File</title>
1405<para>
1406Opens 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>.
1407</para>
1408</section>
1409</section>
1410
1411</section><!-- End GeoRef -->
1412
6a997af7 1413<section id="Coordinate" xreflabel="Coordinate"><title>Coordinate Layer</title>
ce269944
RN
1414<para>
1415This layer is allows drawing of grid lines on the viewport.
1416</para>
1417</section><!-- End Coord -->
1418
845a6b70 1419
fef1084a 1420<section id="tools" xreflabel="Tools"><title>Tools</title>
6928e16b 1421<para>
a2322aa1
RN
1422&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.
1423</para>
1424<para>
2348ca1b 1425You can use the scroll wheel, the middle-click, the middle-click+drag to zoom, center map at position and pan respectively no matter what tool you are using.
6928e16b
GB
1426</para>
1427<para>
0f67220f 1428<keycap>Scroll</keycap>: zoom in and out keeping the mouse over same location
6928e16b
GB
1429</para>
1430<para>
0f67220f 1431<keycap>Ctrl-scroll</keycap>: pan north-south (also <keycap>Ctrl-up</keycap>, <keycap>Ctrl-down</keycap>)
6928e16b
GB
1432</para>
1433<para>
0f67220f 1434<keycap>Shift-scroll</keycap>: pan east-west (also <keycap>Ctrl-left</keycap>, <keycap>Ctrl-right</keycap>)
6928e16b
GB
1435</para>
1436<para>
0f67220f 1437<keycap>Ctrl-shift-scroll</keycap>: zoom in and out, without changing the center (also <keycap>Ctrl+</keycap>, <keycap>Ctrl-</keycap> [*not* KeyPad +/-])
6928e16b
GB
1438</para>
1439<para>
0f67220f 1440<keycap>Middle-click</keycap>: make the clicked point on the map the center
6928e16b
GB
1441</para>
1442<para>
0f67220f 1443<keycap>Middle-click</keycap> and drag: pan
6928e16b 1444</para>
f95c9f7c 1445
e2eb2a7b
RN
1446<section><title>Pan</title>
1447<para>
a2322aa1
RN
1448This is the default mode of operation for &appname;.
1449</para>
1450<para>
1451This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/mover_22.png"/></guiicon>
1452</para>
1453<para>
e2eb2a7b
RN
1454Pan moves the viewpoint. A single click centers the viewport at that point, whereas click and drag dynamically moves the view around.
1455This is the default tool.
1456</para>
416c8737
RN
1457<para>
1458This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+P</keycap>
1459</para>
e2eb2a7b
RN
1460</section>
1461
6928e16b
GB
1462<section><title>Zoom</title>
1463<para>
a2322aa1
RN
1464This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/zoom_18.png"/></guiicon>
1465</para>
1466<para>
2eea9a36 1467Zooms in and out on the clicked part of the map or by the selected area.
6928e16b 1468</para>
416c8737
RN
1469<para>
1470This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+Z</keycap>
1471</para>
130ac805 1472<para>
0f67220f 1473<keycap>Ctrl</keycap> + left or right click: Zoom in/out and center the map on the clicked location
130ac805 1474</para>
2eea9a36 1475<para>
0f67220f 1476<keycap>Shift</keycap> (and hold) + left mouse button: Draws a bounding box area on which to zoom in. The zoom action is performed when the left mouse button is released.
2eea9a36 1477</para>
6928e16b 1478</section>
f95c9f7c 1479
6928e16b 1480<section><title>Ruler</title>
9ca89c29 1481<para>
a2322aa1
RN
1482This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/ruler_18.png"/></guiicon>
1483</para>
1484<para>
9ca89c29 1485The ruler is used to measure the bearing and distance between two points: Click on first point and then move the mouse point around - the values will be continually updated.
84017394 1486A second click will <emphasis>freeze</emphasis> the ruler at that point.
6928e16b 1487</para>
416c8737 1488<para>
6b59f63d 1489This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+U</keycap>
416c8737 1490</para>
6928e16b 1491</section>
f95c9f7c 1492
fef1084a 1493<section id="select" xreflabel="Select"><title>Version1.1+: Select</title>
e2eb2a7b 1494<para>
a2322aa1
RN
1495This mode is entered by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/select_18.png"/></guiicon>
1496</para>
1497<para>
e2eb2a7b
RN
1498The select tool allows one to choose any waypoint or track by clicking on it (or reasonably near) in the viewpoint.
1499</para>
1500<para>
1501ATM to select a track one must actually click on a trackpoint, which is also selected.
1502</para>
416c8737
RN
1503<para>
1504This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+S</keycap>
1505</para>
e2eb2a7b
RN
1506</section>
1507
6928e16b
GB
1508<section><title>TrackWaypoint Layer Tools</title>
1509<para>
6a997af7 1510You must have a <xref linkend="TrackWaypoint"/> Layer selected to use these tools.
6928e16b 1511</para>
fef1084a 1512<section id="createwptool" xreflabel="Create Waypoint"><title>Create Waypoint</title>
6928e16b 1513<para>
a2322aa1
RN
1514Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/addwp_18.png"/></guiicon>
1515</para>
1516<para>
f95c9f7c 1517Left click will open the new waypoint dialog using the specified position.
6928e16b 1518</para>
f95c9f7c
RN
1519</section>
1520
179bfc90 1521<section id="track_create" xreflabel="Create Track"><title>Create Track</title>
6928e16b 1522<para>
a2322aa1
RN
1523Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/addtr_18.png"/></guiicon>
1524</para>
1525<para>
f95c9f7c
RN
1526Left click to create a new trackpoint. If it's the initial trackpoint you will be asked to enter a name for the track.
1527If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
845a6b70 1528Right click or <keycap>Backspace</keycap>: undo one point.
6928e16b
GB
1529</para>
1530<para>
179bfc90
RN
1531Double click or <keycap>Escape</keycap>: to finish track creation.
1532Finishing the track is also available via the right click <xref linkend="TrackWaypoint"/> and track menus.
1533</para>
1534<para>
1535One must finish the current track to be able to create another track.
1536</para>
1537</section>
1538
1539<section id="route_create" xreflabel="Create Route"><title>Create Route</title>
1540<para>
1541Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/vik_new_route_18.png"/></guiicon>
1542</para>
1543<para>
1544This operates in exactly the same way as the <link linkend="track_create">Create Track</link> above.
1545</para>
1546<para>
1547One must finish the current route to be able to create another route.
6928e16b 1548</para>
6928e16b 1549</section>
f95c9f7c 1550
6928e16b
GB
1551<section><title>Edit Waypoint</title>
1552<para>
a2322aa1
RN
1553Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/edwp_18.png"/></guiicon>
1554</para>
1555<para>
f95c9f7c
RN
1556Left Click/drag: select/move a waypoint.
1557If <keycap>Ctrl</keycap> is held at the same time, it will jump the waypoint position to a nearby existing trackpoint.
1558If <keycap>Shift</keycap> is held at the same time, it will jump the waypoint position to a nearby existing waypoint.
6928e16b
GB
1559</para>
1560<para>Right-click on waypoint: opens a menu with waypoint actions (the
1561same menu accessed by right-clicking the waypoint in the layers panel)
1562</para>
6928e16b 1563</section>
f95c9f7c 1564
6928e16b
GB
1565<section><title>Edit Trackpoint</title>
1566<para>
a2322aa1
RN
1567Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/edtr_18.png"/></guiicon>
1568</para>
1569<para>
f95c9f7c
RN
1570Left click near a trackpoint (in screen pixel terms) to bring up the Track Point Edit dialog on that trackpoint.
1571Whilst the edit dialog is already open, left click again and drag enables moving of the trackpoint.
1572If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
6928e16b
GB
1573</para>
1574<para>
f95c9f7c 1575Options in the Track Point Edit dialog include: change position, go to next, go to previous, delete, insert (halfway to next trackpoint) and splitting the track.
6928e16b 1576</para>
6928e16b 1577</section>
f95c9f7c 1578
6928e16b
GB
1579<section><title>Show Picture</title>
1580<para>
a2322aa1
RN
1581Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/showpic_18.png"/></guiicon>
1582</para>
1583<para>
f95c9f7c 1584Opens an image viewer with the picture associated with the waypoint.
73919102 1585By default this uses the default system image viewer.
fef1084a 1586For Linux you can override this with the setting in the <xref linkend="prefs_external"/>
6928e16b 1587</para>
6928e16b 1588</section>
f95c9f7c 1589
9f30939a 1590<section id="route_finder" xreflabel="Route Finder"><title>Route Finder</title>
a2322aa1
RN
1591<para>
1592Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/route_finder_18.png"/></guiicon>
1593</para>
9f30939a 1594<para>Creates a track using default routing engine between two points.
f95c9f7c 1595Requires an internet connection. Click one point, then click another to
6928e16b
GB
1596create a track.
1597</para>
1598<para>
f95c9f7c 1599Right-click: undo last routing (only track removed - not any waypoints)
6928e16b
GB
1600</para>
1601<para>
f95c9f7c 1602<keycap>Ctrl</keycap>: continue previous track
6928e16b 1603</para>
6928e16b 1604</section>
55340efa 1605
6928e16b 1606</section>
f95c9f7c 1607
6928e16b
GB
1608<section><title>Georef Map Layer Tools</title>
1609<para>
6a997af7 1610You must have a <xref linkend="GeoRef"/> Map Layer selected to use these tools.
6928e16b
GB
1611</para>
1612<section><title>Georef zoom</title>
a2322aa1
RN
1613<para>
1614Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/geozoom_18.png"/></guiicon>
1615</para>
6928e16b 1616<para>Changes the zoom level of the georeferenced map and changes the
7233fcb6 1617&appname; zoom level accordingly. Useful if you are trying to match GPS
6928e16b
GB
1618data to a georeferenced map.
1619</para>
6928e16b 1620</section>
f95c9f7c 1621
6928e16b
GB
1622<section><title>Georef move</title>
1623<para>
a2322aa1
RN
1624Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/geomove_18.png"/></guiicon>
1625</para>
1626<para>
6928e16b
GB
1627Drag to move the georeferenced map.
1628</para>
6928e16b 1629</section>
6928e16b 1630</section>
f95c9f7c 1631
63396406 1632<section id="map_tool_dl" xreflabel="Map Download"><title>Map Download</title>
6928e16b 1633<para>
6a997af7 1634You must have a <xref linkend="Maps"/> Layer selected to use this.
f95c9f7c
RN
1635</para>
1636<para>
a2322aa1
RN
1637Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/mapdl_18.png"/></guiicon>
1638</para>
1639<para>
6928e16b
GB
1640Click to download a single tile. Drag to download tiles in the dragged rectangle area.
1641</para>
1642<para>
3988e165
RN
1643Right-click to redownload tiles via the selected method. Right-click and drag to redownload tiles in the dragged rectangle area by the selected method.
1644The possible methods to redownload one or more tiles are:
1645</para>
1646<para>
1647<itemizedlist>
1648<listitem><para>Bad - Only if the tile is corrupt in some way or missing, then this will download a new copy</para></listitem>
1649<listitem><para>New - Refresh the tile according to the local map cache and if server has a newer version</para></listitem>
1650<listitem><para>All - Redownload the tile</para></listitem>
1651</itemizedlist>
1652</para>
1653<formalpara><title>Map Tile Information</title>
1654<para>
1655By right clicking on viewport you can see the tile properties of the that location for the current map layer and current zoom level.
1656This includes the remote source URL for the tile and the cached version on the local filesystem with timestamp details.
1657</para>
1658</formalpara>
1659<para>
1660<figure>
1661<title>Map Tile Info Dialog: Example</title>
1662<screenshot>
1663 <graphic format="PNG" fileref="figures/map_tile_info_dialog.png"/>
1664</screenshot>
1665</figure>
1666This is using MapQuest at &appname; zoom level 128 over the Isle of Wight, UK.
6928e16b 1667</para>
6928e16b 1668</section>
f95c9f7c 1669
6928e16b
GB
1670<section><title>DEM Download</title>
1671<para>
6a997af7 1672You must have a <xref linkend="DEM"/> Layer selected to use this.
f95c9f7c
RN
1673</para>
1674<para>
a2322aa1
RN
1675Enable this tool by clicking on the toolbar icon: <guiicon><inlinegraphic fileref="figures/demdl_18.png"/></guiicon>
1676</para>
1677<para>
6928e16b
GB
1678Click to download and import a DEM file.
1679</para>
6928e16b
GB
1680</section>
1681
7233fcb6 1682<section><title>Webtools</title>
5ab84304
GB
1683<para>
1684Many services are available only via a web browser (Google Maps, OpenStreetMap Potlach editor, etc.).
1685</para>
1686<para>
1687Jumping from &app; to such service can become annoying.
1688</para>
1689<para>
0ef60ec1 1690&appname; allows you to open such service directly at the position currently viewed in &app;.
5ab84304
GB
1691</para>
1692<para>
7233fcb6 1693This feature is called <guilabel>Webtools</guilabel>. It is also known as External Tools.
5ab84304 1694</para>
5ab84304
GB
1695</section>
1696
3e850af1 1697</section>
f95c9f7c 1698
0ef60ec1 1699<!-- Preferences -->
fef1084a 1700<section id="prefs" xreflabel="Preferences"><title>Preferences</title>
4cdc9eb3 1701<section><title>General</title>
3e850af1
GB
1702<section><title>Localisation</title>
1703<para>You can select units displayed by &appname; to best fit your usage.</para>
1704<figure>
1705<title>Properties dialog: units part</title>
1706<screenshot>
1707 <graphic format="PNG" fileref="figures/properties_units.png"/>
1708</screenshot>
1709</figure>
1710<para>Concerning degrees, you can select the way to display them:
1711<variablelist>
1712<varlistentry>
1713<term>DDD</term><listitem><para>decimal degree</para></listitem>
1714</varlistentry>
1715<varlistentry>
73919102 1716<term>DMM</term><listitem><para>partial sexagesimal display: degrees, minutes and decimal part of minutes</para></listitem>
3e850af1
GB
1717</varlistentry>
1718<varlistentry>
1719<term>DMS</term><listitem><para>sexagesimal display: degrees, minutes and seconds</para></listitem>
1720</varlistentry>
1721</variablelist>
1722</para>
1723<figure>
1724<title>Properties dialog: degree display options</title>
1725<screenshot>
1726 <graphic format="PNG" fileref="figures/properties_degree.png"/>
1727</screenshot>
1728</figure>
1729</section>
4cdc9eb3
RN
1730<section><title>Waypoint Icon Size</title>
1731<para>An option exists to control the icon (symbol) size used for waypoints
1732</para>
1733</section>
84017394
GB
1734<section><title><emphasis>Home</emphasis> Default Location: Latitude and Longitude</title>
1735<para>You can set the <emphasis>Home</emphasis> location directly by inputting the latitude and longitude in decimal degrees.
4cdc9eb3
RN
1736</para>
1737</section>
a067ca58
GB
1738<section><title>Tile's age</title>
1739<para>This age is used to decided wether or not a new request to tile server must be done.
1740</para>
1741<para>Changing this value, you will increase or decrese the network load.</para>
1742</section>
897e919b
GB
1743<section><title>Default maplayer directory</title>
1744<para>This property sets the default directory of the tiles cache.
1745This value is used when you create a new map layer.
1746</para>
1747<para>You are still able to change this value in each map layer properties.</para>
1748</section>
4cdc9eb3
RN
1749<section><title>Map Cache Memory Size</title>
1750<para>This controls the amount of maps that are stored in memory, rather than having to reread from disk.
1751Generally if you have a system with lots of memory it's recommended to increase this value.
1752</para>
1753</section>
1754</section>
1755
fef1084a 1756<section id="prefs_external" xreflabel="Export/External Preferences"><title>Export/External</title>
4cdc9eb3
RN
1757<section><title>KML Export Units</title>
1758<para>Allows setting the units used when saved as the KML file type, such as Metric or Statue units</para>
1759</section>
1760<section><title>Image Viewer (Not Windows)</title>
1761<para>Allows setting the program used to view images associated with Waypoints.</para>
73919102 1762<para>By default this is set to <application>xdg-open</application> which should open the system's default image viewer, however this can be overridden with this setting.</para>
4cdc9eb3
RN
1763<para>Note: for Windows systems, viewing images associated with Waypoints always uses the system's default image viewer.</para>
1764</section>
1765<section><title>External GPX programs</title>
c025f801 1766<para>Allows setting the programs invoked via the <xref linkend="TrackWaypoint"/> Layer menu <menuchoice><guimenu>Export Layer</guimenu><guisubmenu>Open With 'program'</guisubmenu></menuchoice></para>
4cdc9eb3 1767<para>Two options are given so that it can be configured for various uses such as:</para>
9d097bf5 1768<itemizedlist>
4cdc9eb3 1769<listitem><para>An OSM editor (default)</para></listitem>
4cdc9eb3 1770<listitem><para>Some other user defined program</para></listitem>
9d097bf5 1771</itemizedlist>
4cdc9eb3 1772</section>
6928e16b 1773</section>
4cdc9eb3 1774
fef1084a 1775<section id="prefs_osm" xreflabel="OpenStreetMap Traces Preferences"><title>OpenStreetMap Traces</title>
4cdc9eb3 1776<section><title>OSM Username + Password</title>
fef1084a 1777<para>Store your OSM details here, so that you don't need to enter it in every time in the <xref linkend="osm_upload"/> procedure.</para>
9d097bf5
GB
1778<warning>
1779<para>
1780Your OSM password will be stored in plain text.
1781</para>
1782</warning>
4cdc9eb3
RN
1783</section>
1784</section>
1785
9f30939a
GB
1786<section id="prefs_routing" xreflabel="Routing Preferences"><title>Routing</title>
1787<section><title>Routing engine</title>
1788<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>
1789</section>
1790</section>
1791
6db85a50
RN
1792<section id="prefs_startup" xreflabel="Startup Preferences"><title>Startup</title>
1793<para>Naturally since these preferences effect the startup, the values will not be used until &appname; is restarted.</para>
1794<section><title>Restore Window Setup</title>
1795<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>
1796</section>
1797<section><title>Default Map Layer</title>
1798<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>
1799<para>The map layer used is defined by the map layer's default values.</para>
1800</section>
1801<section><title>Startup Method</title>
1802<para>Enables selection of how the startup position should be determined.</para>
1803<itemizedlist>
1804<listitem><para>Home Location (default) - Position as set by the <guilabel>Set the Default Location</guilabel></para></listitem>
1805<listitem><para>Last Location - Uses the last position viewed on the viewport</para></listitem>
1806<listitem><para>Specified File - Load the file as specified below</para></listitem>
1807<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>
1808</itemizedlist>
1809</section>
1810<section><title>Startup File</title>
1811<para>Loads this specified file when the Startup method is set to <guilabel>Specified File</guilabel></para>
1812</section>
1813<section><title>Check For New Version</title>
1814<para>Periodically (no more than once every 14 days), check to see if there is a new version of &appname; available.</para>
1815</section>
1816</section>
1817
4cdc9eb3
RN
1818</section>
1819
1820<!-- HOWTOS-->
b088c7a0 1821<section><title>Howto's</title>
519414cf 1822<section id="howto_start"><title>Getting Started</title>
6928e16b 1823<para>
6db85a50
RN
1824&appname; from version 1.5 has several features to ease the start up process.
1825On the very first run, you will be asked if you want to enable these features which make use of an Internet connection.
1826If 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"/>.
1827</para>
1828<para>
1829Some other general use cases for using &appname;, are as follows:
6928e16b
GB
1830</para>
1831<section><title>Go to an area of interest</title>
1832<para>
519414cf 1833&appname;'s default location is a Manhatten, New York, USA, so you may need to pick another place that interests you - such as where you live.
6928e16b 1834</para>
0ef60ec1
GB
1835<procedure>
1836<title>Method A</title>
1837<step>
6928e16b 1838<para>
519414cf 1839 Use the online location address/place search.
6928e16b 1840</para>
519414cf
RN
1841<para>
1842 Use the <guibutton>Go to Location</guibutton> toolbar button or from the menus
1843 <menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>.
1844 You can change the search location provider if desired.
1845 Enter the name of place you wish to go to (you may need to specify the country to refine the search).
1846 Also you can enter a post code or a ZIP code instead.
1847</para>
1848<note>
1849 <para>You will need an internet connection for this search to work</para>
1850</note>
0ef60ec1
GB
1851</step>
1852</procedure>
1853<procedure>
1854<title>Method B</title>
1855<step>
519414cf
RN
1856<para>
1857 If you know the coordinates of where you want to view:
1858</para>
1859<para>
1860Use <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.
1861</para>
1862</step>
1863</procedure>
1864<procedure>
7bb499bc 1865<title id="method_c">Method C</title>
519414cf 1866<step>
7233fcb6
RN
1867<para>Use the GPS Layer or <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
1868to load data directly from your GPS into &appname;.
519414cf 1869</para>
c3eb4a65 1870<para>You can specify the types of data to acquire: Tracks, Routes and/or Waypoints.
0ef60ec1 1871</para>
7233fcb6 1872<note>
519414cf
RN
1873<para>You must have write permission to the port used. For <trademark>Unix</trademark> like OS:</para>
1874<itemizedlist>
1875 <listitem><para>/dev/ttyS0 is the first serial port</para></listitem>
1876 <listitem><para>/dev/ttyUSB0 is the first USB port</para></listitem>
1877 <listitem><para>usb: is any USB port</para></listitem>
1878</itemizedlist>
1879<para>Depending on your distribution only one of the USB port types may work</para>
1880<para>For <trademark>Windows</trademark>:</para>
1881<itemizedlist>
1882 <listitem><para>com1: is the first serial port</para></listitem>
1883 <listitem><para>usb: is any USB port</para></listitem>
1884</itemizedlist>
1885</note>
1886<note>
1887 <para>The GPS devices supported are those supported by <application>GPSBabel</application>.</para>
1888 <para>Garmin and Magellan GPS devices supported by all versions, later versions of GPSBabel support more devices such as DeLorme and Navilink.</para>
7233fcb6 1889</note>
0ef60ec1
GB
1890</step>
1891</procedure>
1892<procedure>
519414cf 1893<title>Method D</title>
0ef60ec1 1894<step>
76b8a4e8
RN
1895<para>
1896Get data from files in GPX or KML format, which can be opened directly.
1897Use <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>
6928e16b
GB
1898</para>
1899<para>
76b8a4e8
RN
1900Other formats can be imported that are supported by GPSBabel.
1901<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel...</guimenuitem></menuchoice>
6928e16b 1902</para>
a364c076 1903<note>
6928e16b 1904<para>
a364c076 1905The viewport will be automatically moved and resized to view the contents of the file.
6928e16b 1906</para>
a364c076 1907</note>
0ef60ec1
GB
1908</step>
1909</procedure>
6928e16b 1910</section>
c3a02429 1911<section><title>Add a Map Layer</title>
6928e16b 1912<para>
c3a02429 1913Use <menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice>, and choose a suitable cache directory
0ef60ec1 1914where you would like to store your tracks and click <guilabel>OK</guilabel>. Zoom to a
6928e16b
GB
1915comfortable level (I suggest 4 mpp) by clicking the left and right
1916mouse buttons on the gray area where your tracks are. Now from the menu
c3a02429 1917choose the <xref linkend="map_tool_dl"/> Tool. Click where you would like to download a
6928e16b
GB
1918map. Regardless of what tool you are using, the middle mouse button
1919always pans. </para>
0ef60ec1 1920<note>
6928e16b 1921<para>
9ca89c29 1922You need an open internet connection when you are downloading maps.
6928e16b 1923</para>
0ef60ec1 1924</note>
6928e16b 1925<para>
c3a02429
RN
1926If you can no longer see your tracks or waypoints and only the map,
1927it is because the layer named <emphasis>Map</emphasis> is <emphasis>ABOVE</emphasis> your TrackWaypoint layer that your GPS data is in.
1928This means that it will be drawn last and on top of the other <xref linkend="gc_layers"/>.
1929Look at the <xref linkend="gc_layers_panel"/> to the left which shows this order.
1930Select the Map layer from the list and click the down arrow button beneath the list until the Map layer is below the TrackWaypoint layer.
1931Your tracks will now be drawn over the map.
1932</para>
519414cf 1933</section>
6928e16b 1934
519414cf
RN
1935<section><title>Set Your Home Location</title>
1936<para>
1937 You can save the current center position of the viewport as the default location AKA the Home Location by
1938 <menuchoice><guimenu>Edit</guimenu><guimenuitem>Set the Default Location</guimenuitem></menuchoice>.
1939</para>
1940<para>
1941 Then at any time you can return to this place by clicking on the <guibutton>Home</guibutton> icon on the toolbar.
1942</para>
1943<para>
fef1084a 1944 You can also set the default location via specifing the exact latitude and longitude in the <xref linkend="prefs"/>.
519414cf 1945</para>
6928e16b
GB
1946</section>
1947
1948</section>
7233fcb6 1949<section><title>From 1st startup to GPS track (including offline maps)</title>
6928e16b 1950<para>
7233fcb6 1951The first you'll see is an empty map, because &appname; in its default configuration will download maps only on demand.
84017394 1952Before fetching unneeded data, one can position to a location of interest, e.g. Stuttgart: <menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter <userinput>Stuttgart</userinput>.
6928e16b 1953</para>
6928e16b
GB
1954<section><title>Fetching the maps</title>
1955<para>
0ef60ec1 1956<emphasis role="bold">Map</emphasis>
6928e16b 1957</para>
0ef60ec1 1958<procedure>
7233fcb6 1959<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82 1960<step><para>in the layer properties dialogue choose e.g. <guilabel>OpenStreetMap (Mapnik)</guilabel>.</para></step>
0ef60ec1 1961<step>
4502fc82
GB
1962<para>For the moment, we keep the default <guilabel>Maps Directory</guilabel> (the directory in
1963which the maps will be stored and can be used for offline usage).</para>
0ef60ec1
GB
1964</step>
1965<step>
1966<para>Check <guilabel>Autodownload maps</guilabel> and keep the zoom level as <guilabel>Use Viking
1967Zoom Level</guilabel>.</para>
1968<note>
1969<para>
1970however, that these settings will play an important
1971role in the pre-fetch for offline usage discussed later
1972</para>
1973</note>
1974</step>
1975</procedure>
6928e16b 1976<para>You'll see a map of Stuttgart. Using the mouse wheel, you can
73919102 1977zoom in and out. The maps for the choosen resolution will be downloaded
6928e16b
GB
1978automatically.
1979</para>
1980<para>
7233fcb6 1981<emphasis role="bold">DEM Layer (Height Map)</emphasis>
4502fc82 1982</para>
0ef60ec1 1983<procedure>
7233fcb6
RN
1984<step><para>Zoom out to 512.</para></step>
1985<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New DEM Layer</guimenuitem></menuchoice></para></step>
4502fc82 1986<step><para>Keep the download source as is (SRTM Global 90m), hit <guilabel>OK</guilabel>.</para></step>
0ef60ec1 1987</procedure>
4502fc82 1988
6a997af7 1989<para>In the layer listing on the left, the <xref linkend="DEM"/> layer should reside
6928e16b 1990above the map layer. If this is not the case, highlight the DEM layer
0ef60ec1 1991an shift it one up (using the arrow up button).
4502fc82 1992</para>
0ef60ec1 1993<procedure>
4502fc82
GB
1994<step><para>highlight the DEM layer in the layer listing on the left</para></step>
1995<step><para>in the toolbar, check DEM layer download/import (the last symbol)</para></step>
1996<step><para>a left-click in the map window should then fetch the DEM data</para></step>
0ef60ec1 1997</procedure>
0ef60ec1 1998<para>
7233fcb6 1999This might take some time.
6928e16b
GB
2000</para>
2001<para>
2002Sometimes, a tile does not show up correctly (you might see only a
2003black frame in the map window) because it got corrupted during
0ef60ec1 2004transfer. In order to correct this, you can delete the corresponding
7233fcb6 2005datafile in the cache. <programlisting> right-click the DEM layer properties</programlisting>
6928e16b
GB
2006</para>
2007<para>
0ef60ec1 2008The <guilabel>DEM Files</guilabel> listing allows you to delete the specific tiles (alternatively do this from the command line).
6928e16b
GB
2009</para>
2010<para>
0ef60ec1 2011You can also alter the Min. and Max. elevation in this dialogue.
6928e16b
GB
2012</para>
2013
2014</section>
7233fcb6 2015<section><title>GPS Track with Height Profile</title>
0ef60ec1 2016<procedure>
6a997af7 2017<step><para>Uncheck the <xref linkend="DEM"/> layer (the map is shown again)</para></step>
7233fcb6 2018<step>
73919102
RN
2019 <para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New TrackWaypoint Layer</guimenuitem></menuchoice></para>
2020 <para>Ensure the new track layer is above the map layer.</para>
2021</step>
6a997af7 2022<step><para>Expand the <xref linkend="TrackWaypoint"/> layer, select <guimenuitem>Tracks</guimenuitem></para></step>
c3eb4a65 2023<step><para>In the tools menu choose <guiicon><inlinegraphic fileref="figures/addtr_18.png"/></guiicon> <guibutton>Create Track</guibutton>
7233fcb6 2024</para></step>
73919102
RN
2025<step><para>Leftclick in the map window, enter a name</para></step>
2026<step>
2027 <para>Click several times to generate a track (a right-click removes the last point).</para>
2028 <para>Height data is set automatically since DEM data is available</para>
2029</step>
2030<step><para>Expand tracks in the layer menu, your track should show up, select it</para></step>
2031<step><para>Right click your track, select <guimenuitem>Properties</guimenuitem></para></step>
2032<step><para>Click the tab <guilabel>Elevation-distance</guilabel> - enjoy the plot</para></step>
0ef60ec1 2033</procedure>
6928e16b 2034<para>
0ef60ec1 2035In order to save this setting for later usage
4502fc82 2036</para>
0ef60ec1 2037<procedure>
7233fcb6
RN
2038<step><para>click <guilabel>OK</guilabel> in the <guilabel>Track Properties</guilabel> dialog</para></step>
2039<step><para><menuchoice><guimenu>File</guimenu><guimenuitem>Save As</guimenuitem></menuchoice>, choose a name (you can open this <emphasis>view</emphasis> later via <menuchoice><guimenu>file</guimenu><guimenuitem>Open</guimenuitem></menuchoice>).</para></step>
0ef60ec1 2040</procedure>
6928e16b
GB
2041
2042</section>
2043<section><title>Usecase: offline data for holiday</title>
2044<para>
6a997af7 2045Suppose you want to have the <xref linkend="Maps"/> and <xref linkend="DEM"/> data offline for your holiday in Italy near Bologna.
0ef60ec1
GB
2046</para>
2047<procedure>
7233fcb6
RN
2048<step><para>Start a new &appname; session.</para></step>
2049<step><para><menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter Bologna</para></step>
2050<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82
GB
2051<step><para>Choose e.g. <guilabel>OpenStreetMap (mapnik)</guilabel>.</para></step>
2052<step><para>adapt the <guilabel>maps directory</guilabel> e.g. to <filename>/home/user/.viking-map-holiday/</filename>.
0ef60ec1 2053This allows you to delete the map stuff after holiday without purging the rest of your maps.
4502fc82
GB
2054</para></step>
2055<step><para>check <guilabel>autodownload map</guilabel></para></step>
2056<step><para>keep <guilabel>viking zoom level</guilabel></para></step>
7233fcb6 2057<step><para>zoom out to 1024</para></step>
6a997af7 2058<step><para>add a <xref linkend="DEM"/> layer (as discussed above)</para></step>
4502fc82 2059<step><para>download the DEM data</para></step>
0ef60ec1
GB
2060</procedure>
2061<para>In the &app; version discussed here, the DEM data automatically
2062are stored in <filename>/home/user/.viking-maps/</filename>. You can move the corresponding
2063tiles into <filename>.viking-map-holiday/</filename> if you like.
2064</para>
2065<para>
2066<emphasis role="bold">Download map data for all zoom levels</emphasis>
2067</para>
2068<procedure>
4502fc82
GB
2069<step><para>uncheck the DEM layer for the map to show up</para></step>
2070<step><para>navigate the map to be centered at Bologna</para></step>
7233fcb6 2071<step><para>choose the zoom such, that all regions of interest are displayed in the map window (e.g. 1024)</para></step>
0ef60ec1
GB
2072<step>
2073<para>follow this sequence until you have all tiles for all zoom levels you need</para>
2074<substeps>
7233fcb6 2075<step><para>right-click the map layer properties</para></step>
4502fc82 2076<step><para>set the zoomlevel explicitely one below the last (in the first cycle 512), hit OK</para></step>
7233fcb6
RN
2077<step><para>right click the map layer <guimenuitem>Download Missing Onscreen Maps</guimenuitem></para></step>
2078<step><para>wait until all tiles for that resolution have been downloaded</para></step>
0ef60ec1
GB
2079</substeps>
2080</step>
2081</procedure>
73919102 2082<para>This may take some time and some hard disk capacity.</para>
6928e16b
GB
2083<para>
2084Do not forget to save your configuration (as discussed above).
2085</para>
2086
2087</section>
2088
2089</section>
9c4555df
GB
2090<section><title>OpenStreetMap project</title>
2091<para>
2092<ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> is a collaborative project to create a free editable map of the world.
2093One of sources of data for this project is GPS tracks.
2094&appname; supports this project via the GPS Traces methods, both uploading and downloading such data.
2095</para>
5f526098
RN
2096<para>
2097Also see <ulink url="http://wiki.openstreetmap.org/wiki/API_v0.6#GPS_Traces"/> for further detail.
2098</para>
6928e16b
GB
2099<section><title>Uploading data to OpenStreetMap</title>
2100<para>
7233fcb6 2101It is possible to upload data directly from &appname; to OpenStreetMap.
6928e16b 2102</para>
0ef60ec1
GB
2103<formalpara>
2104<title>Upload a layer</title>
6928e16b 2105<para>
6a997af7 2106One solution is to upload whole a <xref linkend="TrackWaypoint"/> layer. To do this,
0ef60ec1
GB
2107simply select the layer and right click on it. Then, select <guimenuitem>Upload to
2108OSM</guimenuitem>.
6928e16b 2109</para>
0ef60ec1
GB
2110</formalpara>
2111<formalpara>
2112<title>Upload a single track</title>
6a997af7
RN
2113<para>Another solution is to upload an individual track. Simply select the track and right click on it.
2114Then select <guimenuitem>Upload to OSM</guimenuitem>.
6928e16b 2115</para>
0ef60ec1
GB
2116</formalpara>
2117<formalpara>
2118<title>Fill in the form</title>
6928e16b 2119<para>
7233fcb6 2120In both cases, &appname; will retain some information.
3e8e3227 2121The email field is the email you used to subscribed into OpenStreetMap.
6928e16b 2122The password field is the password you used with this account.
6928e16b 2123The filename is the name you want your upload has on the server. This information is displayed by the osm server.
6928e16b 2124The description is some descriptive information.
6a997af7 2125The tags field is a white separated list of tags.
0ef60ec1
GB
2126</para>
2127</formalpara>
6928e16b 2128</section>
5f526098
RN
2129
2130<section id="osm_dl" xreflabel="OpenStreetMap Traces Download"><title>Downloading Traces from OpenStreetMap</title>
9c4555df
GB
2131<para>
2132It is possible to download GPS traces directly from OpenStreetMap into &appname;.
2133This feature can be really useful for checking existing data before uploading new ones.
2134</para>
2135<formalpara>
2136<title>Download all visible tracks</title>
2137<para>One solution is to select
2138<menuchoice>
2139<guimenu>File</guimenu>
2140<guisubmenu>Acquire</guisubmenu>
2141<guimenuitem>OSM traces...</guimenuitem>
2142</menuchoice>.
2143Each request can get up to 5,000 points.
84017394 2144The dialog box allows setting which group of 5,000 points to get. These groups are known as <emphasis>Page Numbers</emphasis> which start at 0.
9c4555df 2145Increasing the page number parameter allows one to request the subsequent sets of point groups.
9c4555df
GB
2146</para>
2147</formalpara>
2148</section>
5f526098
RN
2149<section id="osm_my_dl" xreflabel="OpenStreetMap My Traces Download"><title>Downloading Your Own Traces from OpenStreetMap</title>
2150<para>
2151It is possible to download any of <emphasis>your personal</emphasis> GPS traces previously uploaded to OpenStreetMap into &appname;.
2152</para>
2153<para>
2154You will need to provide your OSM username and password to get the list of your OSM Traces.
2155From this list you can select which traces to retrieve.
2156This 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.
2157</para>
2158</section>
2159
9c4555df
GB
2160</section>
2161
269865aa
RN
2162<section><title>Geotagging</title>
2163<para>
6a997af7 2164 This assumes you already have a <xref linkend="Maps"/> layer enabled for ease of use (if not see above to get one).
269865aa
RN
2165</para>
2166<section><title>Manual Positioning</title>
2167<para>
2168 This is useful for instances when you already know exactly where the image was taken (no need for tracklog).
2169 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.
2170 ATM this process only works on an individual image, so it will be tedious for handling lots of images.
2171</para>
2172<para>
c3a02429 2173 First create a <xref linkend="TrackWaypoint"/> layer or use an existing one; and select it in the <xref linkend="gc_layers_panel"/>.
269865aa
RN
2174 NB Make sure this layer is above the map layer in the Layers Panel list.
2175 Create a new waypoint (or move an existing one) to exact location desired:
2176<itemizedlist>
fef1084a
RN
2177 <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>
2178 <listitem><para>Select the <xref linkend="select"/> tool, then left click on waypoint to be moved. Left click again and drag the waypoint to the location desired</para></listitem>
269865aa
RN
2179</itemizedlist>
2180 Then using the Select tool left click on waypoint to select it, then right click to access the Waypoint properties menu, then choose
2181 <menuchoice><guimenu>Update Geotag on Image</guimenu><guisubmenu>Update</guisubmenu></menuchoice>
2182</para>
2183<para>
2184 The <guilabel>Update Geotag on Image</guilabel> options are only available when a waypoint has an image associated with it.
2185</para>
2186</section>
2187
2188<section><title>Automatic Positioning Against a Tracklog</title>
2189<para>
2190 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 -
2191 see <link linkend="howto_start">Getting Started</link>.
2192 It helps if this is the track that was recorded at the time you took some photographs!
2193</para>
2194<para>
fef1084a
RN
2195 Select the track either from the layers panel on the left or via the viewport using the <xref linkend="select"/> tool.
2196 Then right click on it and chose the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> leading you to the <xref linkend="geotagging"/> Dialog.
269865aa
RN
2197</para>
2198<para>
2199 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.
2200 If things are succesful, new waypoints with thumbnail images of the photographs will appear.
2201 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.
2202</para>
2203<formalpara><title>Option: Overwrite Waypoints</title>
2204<para>
2205 This is particularly useful when one finds an attempt at geotagging gives wrong locations, often due to time offset issues.
2206 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).
2207</para>
2208</formalpara>
2209<para>
2210 If you have multiple tracks in a TrackWaypoint layer, then invoking the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> action on the layer
2211 will search all the tracks to find location matches.
2212</para>
2213</section>
2214</section>
2215
9eada844
RN
2216<section><title>GPS Real Time Location (Not <trademark>Windows</trademark>)</title>
2217<para>
2218 &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.
2219 Unfortunately <application>gpsd</application> is not available on <trademark>Windows</trademark>,
2220 so currently this functionality is disabled in <trademark>Windows</trademark> builds of &appname;
2221</para>
2222<para>
6a997af7 2223 This assumes you already have a <xref linkend="Maps"/> layer enabled for ease of use (if not see above to get one).
9eada844
RN
2224</para>
2225<para>
2226 Turn on the GPS Device, ensure it has figured out it's location and plug it in to your computer.
2227</para>
2228<section><title>Set Up GPS Layer</title>
2229<para>
6a997af7 2230 You will need a <xref linkend="GPS"/> layer. One can be added via <menuchoice><guimenu>Layers</guimenu><guisubmenu>Add GPS Layer</guisubmenu></menuchoice>.
9eada844
RN
2231</para>
2232<para>
2233 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.
2234</para>
2235<para>
2236 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.
2237</para>
2238<para>
2239 Then right-click the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
2240 Hopefully the viewport should jump to the GPS location.
2241</para>
2242<para>
2243 Troubleshooting checklist:
2244</para>
2245<procedure><step><para>Confirm <application>gpsd</application> is running.</para></step></procedure>
2246<procedure><step><para>Confirm on the GPS device it has a location.</para></step></procedure>
2247<procedure><step><para>Confirm the <emphasis>Realtime Tracking Mode</emphasis> settings.</para></step></procedure>
2248</section>
2249</section>
2250
935bb09f
RN
2251<section><title>What to Do if &appname; Does Not Seem to Work</title>
2252<para>
2253In order to get some information about what &appname; is doing, start it in verbose debug mode via the command line:
2254<programlisting>viking -dV</programlisting>
2255</para>
2256<para>
2257For instance you can check the correct URLs &appname; is using in requesting remote data for DEMs or map tiles in the verbose debug output.
2258E.g. Something like this for DEMs:
2259<screen>
2260** (viking:28778): DEBUG: curl_download_uri: uri=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip
2261* About to connect() to dds.cr.usgs.gov port 80 (#0)
2262* Trying 152.61.128.95... * connected
2263* Connected to dds.cr.usgs.gov (152.61.128.95) port 80 (#0)
2264 GET /srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip HTTP/1.1
2265User-Agent: viking/0.9.8 libcurl/7.18.2 GnuTLS/2.4.2 zlib/1.2.3.3 libidn/1.8
2266Host: dds.cr.usgs.gov
2267Accept: */*
2268 HTTP/1.1 200 OK
2269 Date: Sun, 26 Jul 2009 18:13:38 GMT
2270 Server: Apache
2271 Last-Modified: Tue, 21 Jul 2009 19:57:35 GMT
2272 ETag: eac3f8-1828f5-46f3caa76070a
2273 Accept-Ranges: bytes
2274 Content-Length: 1583349
2275 Content-Type: application/zip
2276
2277* Connection #0 to host dds.cr.usgs.gov left intact
2278* Closing connection #0
2279** (viking:28778): DEBUG: dem_layer_add_file: /home/username/.viking-maps/srtm3-Eurasia/N48E008.hgt.zip
2280</screen>
2281Or for OSM Mapnik tile server:
2282<screen>
2283* About to connect() to tile.openstreetmap.org port 80 (#0)
2284* Trying 193.63.75.28... * connected
2285* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
2286 GET /13/4065/2748.png HTTP/1.1
2287User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2288Host: tile.openstreetmap.org
2289Accept: */*
2290
2291* HTTP 1.0, assume close after body
2292 HTTP/1.0 200 OK
2293 Date: Thu, 14 Oct 2010 22:18:42 GMT
2294 Server: Apache/2.2.8 (Ubuntu)
2295 ETag: "b66ff9d46474bab68262a3483428a232"
2296** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "b66ff9d46474bab68262a3483428a232"
2297 Content-Length: 17194
2298 Cache-Control: max-age=94805
2299 Expires: Sat, 16 Oct 2010 00:38:47 GMT
2300 Content-Type: image/png
2301 Age: 5153
2302 X-Cache: HIT from konqi.openstreetmap.org
2303 X-Cache-Lookup: HIT from konqi.openstreetmap.org:3128
2304 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
2305 Connection: close
2306
2307* Closing connection #0
2308* About to connect() to a.andy.sandbox.cloudmade.com port 80 (#0)
2309* Trying 178.63.75.195... ** (viking:16704): DEBUG: curl_download_uri: uri=http://tile.openstreetmap.org/13/4065/2749.png
2310* About to connect() to tile.openstreetmap.org port 80 (#0)
2311* Trying 193.63.75.28... * connected
2312* Connected to a.andy.sandbox.cloudmade.com (178.63.75.195) port 80 (#0)
2313 GET /tiles/cycle/13/4065/2747.png HTTP/1.1
2314User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2315Host: a.andy.sandbox.cloudmade.com
2316Accept: */*
2317
2318* connected
2319* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
2320 GET /13/4065/2749.png HTTP/1.1
2321User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
2322Host: tile.openstreetmap.org
2323Accept: */*
2324
2325* HTTP 1.0, assume close after body
2326 HTTP/1.0 200 OK
2327 Date: Thu, 14 Oct 2010 23:44:35 GMT
2328 Server: Apache/2.2.8 (Ubuntu)
2329 ETag: "8e520ad47ce9c1b63430554886eb5fab"
2330** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "8e520ad47ce9c1b63430554886eb5fab"
2331 Content-Length: 18094
2332 Cache-Control: max-age=87742
2333 Expires: Sat, 16 Oct 2010 00:06:57 GMT
2334 Content-Type: image/png
2335 X-Cache: MISS from konqi.openstreetmap.org
2336 X-Cache-Lookup: MISS from konqi.openstreetmap.org:3128
2337 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
2338 Connection: close
2339</screen>
2340</para>
2341</section>
2342
2343</section>
2344<!-- End of Howtos -->
2345
fef1084a 2346<section id="extend_viking" xreflabel="Extending Viking">
ba322d06
GB
2347 <title>Extending Viking</title>
2348
2349 <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>
2350 <para>Here is an example:
2351<programlisting><![CDATA[
2352<objects>
2353 <object class="ClassName">
2354 <property name="property_name1">Property value</property>
2355 <property name="property_name2">Property value</property>
2356 </object>
2357 ...
2358<objects>
2359]]>
2360</programlisting>
2361</para>
2362 <para>You can find more examples in the documentation part of the distribution.</para>
4502fc82 2363 <section>
ba322d06 2364 <title>Map Source</title>
8ee1f484 2365 <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename> for <trademark>UNIX</trademark> like systems and <filename>C:\Documents and Settings\<replaceable>username</replaceable>\.viking\maps.xml</filename> on <trademark>Windows XP</trademark>.</para>
f1b908b1
RN
2366 <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>
2367
f5ae8c7e 2368 <para>The <classname>VikSlippyMapSource</classname> allows to declare any map's source working like OpenStreetMap. It supports the following properties:
ba322d06
GB
2369 <variablelist>
2370 <varlistentry>
2371 <term>id</term>
2372 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
2373 </varlistentry>
2374 <varlistentry>
2375 <term>label</term>
2376 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
2377 </varlistentry>
2378 <varlistentry>
2379 <term>hostname</term>
2380 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
2381 </varlistentry>
2382 <varlistentry>
2383 <term>url</term>
2384 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for X, Y and Z (zoom level) (eg. "/%d/%d/%d.png")</para></listitem>
2385 </varlistentry>
2386 </variablelist>
2387 </para>
f5ae8c7e 2388 <para>The <classname>VikTmsMapSource</classname> allows to declare any TMS service. It supports the following properties:
1b6659bd
GB
2389 <variablelist>
2390 <varlistentry>
2391 <term>id</term>
2392 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
2393 </varlistentry>
2394 <varlistentry>
2395 <term>label</term>
2396 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
2397 </varlistentry>
2398 <varlistentry>
2399 <term>hostname</term>
2400 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
2401 </varlistentry>
2402 <varlistentry>
2403 <term>url</term>
2404 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for X, Y and Z (zoom level) (eg. "/%d/%d/%d.png")</para></listitem>
2405 </varlistentry>
2406 </variablelist>
2407 </para>
f5ae8c7e 2408 <para>The <classname>VikWmscMapSource</classname> allows to declare any WMS or WMS-C service. It supports the following properties:
90f15672
GB
2409 <variablelist>
2410 <varlistentry>
2411 <term>id</term>
2412 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
2413 </varlistentry>
2414 <varlistentry>
2415 <term>label</term>
2416 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
2417 </varlistentry>
2418 <varlistentry>
2419 <term>hostname</term>
2420 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
2421 </varlistentry>
2422 <varlistentry>
2423 <term>url</term>
2424 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for bounding box coordinates (eg. "/coord=%s,%s,%s,%s")</para></listitem>
2425 </varlistentry>
2426 </variablelist>
2427 </para>
4502fc82 2428 </section>
ba322d06 2429
4502fc82 2430 <section>
ba322d06
GB
2431 <title>Go-to search engines</title>
2432 <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>
2433 <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
f5ae8c7e 2434 <para>Currently, there is a single object class available: <classname>VikGotoXmlTool</classname>. Such feature allows to declare any search engine using a XML format as result.</para>
ba322d06
GB
2435 <para>The related properties are:
2436 <variablelist>
2437 <varlistentry>
2438 <term>label</term>
2439 <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
2440 </varlistentry>
2441 <varlistentry>
2442 <term>url-format</term>
2443 <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>
2444 </varlistentry>
2445 <varlistentry>
2446 <term>lat-path</term>
2447 <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
2448 </varlistentry>
2449 <varlistentry>
2450 <term>lat-attr (optional)</term>
2451 <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
2452 </varlistentry>
2453 <varlistentry>
2454 <term>lon-path</term>
2455 <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
2456 </varlistentry>
2457 <varlistentry>
2458 <term>lon-attr (optional)</term>
2459 <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
2460 </varlistentry>
2461 </variablelist>
2462 </para>
2463 <para>As a facility (or readability) it is possible to set both path and attribute name in a single property, like an XPath expression. To do so, simply set both info in lat-path (or lon-path) in the following format: <literal>/root/parent/elem@attribute</literal>.</para>
4502fc82 2464 </section>
ba322d06 2465
4502fc82 2466 <section>
29f1598c 2467 <title>External tools</title>
ba322d06
GB
2468 <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
2469 <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
f5ae8c7e 2470 <para>The <classname>VikWebtoolCenter</classname> allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
ba322d06
GB
2471 <para>The related properties are:
2472 <variablelist>
ba322d06
GB
2473 <varlistentry>
2474 <term>label</term>
2475 <listitem><para>the text displayed in the menu entry</para></listitem>
2476 </varlistentry>
2477 <varlistentry>
2478 <term>url</term>
3bdd680c
GB
2479 <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>
2480 </varlistentry>
2481 </variablelist>
2482 </para>
f5ae8c7e 2483 <para>The <classname>VikWebtoolBounds</classname> allows to declare any Webtool using a logic based on bounds coordinates.</para>
3bdd680c
GB
2484 <para>The related properties are:
2485 <variablelist>
3bdd680c
GB
2486 <varlistentry>
2487 <term>label</term>
2488 <listitem><para>the text displayed in the menu entry</para></listitem>
2489 </varlistentry>
2490 <varlistentry>
2491 <term>url</term>
2492 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for left, right, bottom and top (eg. "http://hostname:8111/load_and_zoom?left=%s&amp;right=%s&amp;bottom=%s&amp;top=%s")</para></listitem>
ba322d06
GB
2493 </varlistentry>
2494 </variablelist>
2495 </para>
4502fc82 2496 </section>
29f1598c 2497
b44a5ac5
GB
2498 <section>
2499 <title>Routing engine</title>
2500 <para>It is possible to declare new routing engines. The file is <filename>~/.viking/routing.xml</filename>.</para>
2501 <para>An example of the file in the distribution <filename>doc/examples/routing.xml</filename>.</para>
2502 <para>The <classname>VikRoutingWebEngine</classname> allows to declare a routing engine available via HTTP.</para>
2503 <para>The related properties are:
2504 <variablelist>
2505 <varlistentry>
2506 <term>id</term>
2507 <listitem><para>a string, should be unique as it used to identify the routing engine</para></listitem>
2508 </varlistentry>
2509 <varlistentry>
2510 <term>label</term>
2511 <listitem><para>the text displayed in the menu entry</para></listitem>
2512 </varlistentry>
2513 <varlistentry>
2514 <term>url-base</term>
2515 <listitem><para>the base URL of the web service (eg. "http://hostname/service?")</para></listitem>
2516 </varlistentry>
2517 <varlistentry>
2518 <term>url-start-ll</term>
2519 <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>
2520 </varlistentry>
2521 <varlistentry>
2522 <term>url-stop-ll</term>
661703c0 2523 <listitem><para>the part of the URL setting the end point location, parametrized in the spirit of C printf format, with 2 "%s" for coordinates (eg. "&amp;stop=%s,%s")</para></listitem>
b44a5ac5 2524 </varlistentry>
1a3be6a8
GB
2525 <varlistentry>
2526 <term>url-via-ll</term>
2527 <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>
2528 </varlistentry>
7f95fd54
GB
2529 <varlistentry>
2530 <term>url-start-dir</term>
2531 <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>
2532 <para>(Optional)</para></listitem>
2533 </varlistentry>
2534 <varlistentry>
2535 <term>url-stop-dir</term>
2536 <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>
2537 <para>(Optional)</para></listitem>
2538 </varlistentry>
b44a5ac5
GB
2539 <varlistentry>
2540 <term>referer</term>
2541 <listitem><para>an URL to serve as referer for the HTTP request (eg. "http://hostname/")</para></listitem>
2542 </varlistentry>
2543 <varlistentry>
2544 <term>follow-location</term>
2545 <listitem><para>the max depth of recursive redirections</para></listitem>
2546 </varlistentry>
2547 </variablelist>
2548 </para>
2549 </section>
2550
95272265
RN
2551 <section>
2552 <title>Remote File Datasources</title>
2553 <para>It is possible to add web references expected to return a file which can then be opened directly or converted via GPSBabel.</para>
2554 <para>The file is <filename>~/.viking/datasources.xml</filename>.</para>
2555 <para>An example of the file is in the source distribution <filename>doc/examples/datasources.xml</filename>.</para>
f5ae8c7e 2556 <para>The <classname>VikWebtoolDatasource</classname> allows to declare any URL using logic based on coordinates.</para>
95272265
RN
2557 <para>The related properties are:
2558 <variablelist>
2559 <varlistentry>
2560 <term>label</term>
2561 <listitem><para>the text displayed in the menu entry</para></listitem>
2562 </varlistentry>
2563 <varlistentry>
2564 <term>url</term>
2565 <listitem>
2566 <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>
2567 <para>The order and meaning of these parameters is given by the url_format_code below</para>
2568 </listitem>
2569 </varlistentry>
2570 <varlistentry>
2571 <term>url_format_code</term>
2572 <listitem>
2573 <para>A string describing the parametrized URL substitution parameters, each character represents how to translate each term.</para>
2574 <para>B = Bottom of the current view i.e. minimum latitude</para>
2575 <para>L = Left of the current view i.e. minimum longitude</para>
2576 <para>T = Top of the current view i.e. maximum latitude</para>
2577 <para>R = Right of the current view i.e. maximum longitude</para>
2578 <para>A = center lAtitude of the current view</para>
2579 <para>O = center lOngitude of the current view</para>
2580 <para>Z = OSM Zoom value of the current view. See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
2581 <para>Thus for the url example above then the format code should be <emphasis>AO</emphasis></para>
2582 </listitem>
2583 </varlistentry>
2584 <varlistentry>
2585 <term>file_type</term>
2586 <listitem>
2587 <para>This value is passed on for the -i parameter in interfacing with GPSBabel.</para>
2588 <para>If it is not defined then the returned file is interpreted internally as a GPX file.</para>
63396406 2589 <para>Possible values such as 'kml', 'mapsource' etc.. can be used. See <ulink url="http://www.gpsbabel.org/capabilities.html">GPSBabel File Formats</ulink> for the full list.</para>
95272265
RN
2590 </listitem>
2591 </varlistentry>
2592 </variablelist>
2593 </para>
2594 </section>
2595
29f1598c
GB
2596 <section>
2597 <title>More</title>
95272265 2598 <para>Note that, on <trademark>UNIX</trademark> like systems, the extension files (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>, <filename>external_tools.xml</filename>, <filename>datasources.xml</filename>) are also searched in <filename>/etc/viking</filename> and <filename>/usr/share/viking</filename> directories (or related in your system).</para>
29f1598c 2599 <para>The <envar>XDG_DATA_DIRS</envar> environment variable can be used to change these directories.</para>
95272265 2600 <para>The <envar>XDG_DATA_HOME</envar> environment variable is also used (if set) to look for these extension files.</para>
29f1598c 2601 </section>
ba322d06 2602
78609471
RN
2603
2604 <section>
2605 <title>Miscellaneous Settings</title>
2606 <para>Various individual values are automatically saved between &app; sessions in the <filename>~/.viking/viking.ini</filename> file.</para>
2607 <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>
2608 <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>
2609 <para>Here is the list of the <emphasis>read only</emphasis> keys and their default values.</para>
2610 <orderedlist>
2611 <listitem>
2612 <para>maps_max_tiles=1000</para>
2613 </listitem>
2614 <listitem>
2615 <para>maps_min_shrinkfactor=0.0312499</para>
2616 </listitem>
2617 <listitem>
2618 <para>maps_max_shrinkfactor=8.0000001</para>
2619 </listitem>
2620 <listitem>
2621 <para>maps_real_min_shrinkfactor=0.0039062499</para>
2622 </listitem>
2623 <listitem>
2624 <para>background_max_threads=10</para>
2625 </listitem>
2626 <listitem>
2627 <para>window_menubar=true</para>
2628 </listitem>
2629 <listitem>
2630 <para>version_check_period_days=14</para>
2631 </listitem>
e3c19112
RN
2632 <listitem>
2633 <para>trackwaypoint_start_end_distance_diff=100.0</para>
2634 </listitem>
8549385f
RN
2635 <listitem>
2636 <para>gps_statusbar_format=GSA</para>
2637 <para>This string is in the Message Format Code</para>
2638 </listitem>
2639 <listitem>
2640 <para>trkpt_selected_statusbar_format=KATDN</para>
2641 <para>This string is in the Message Format Code</para>
2642 </listitem>
78609471 2643 </orderedlist>
8549385f
RN
2644
2645 <section>
2646 <title>Message Format Code</title>
2647 <para>Currently for ease of implementation the message format code is a string of characters.</para>
2648 <para>Each character represents what should be inserted in relation to a Trackpoint.</para>
2649 <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>
2650 <para>
2651 <variablelist>
2652 <varlistentry>
2653 <term>Character Code</term>
2654 <listitem>
2655 <para>G = Some text to display at the start of the message - <emphasis>GPSD</emphasis></para>
2656 <para>K = Some text to display at the start of the message - <emphasis>Trkpt</emphasis></para>
2657 <para>A = Altitude of a Trackpoint</para>
2658 <para>S = Speed of a Trackpoint</para>
2659 <para>C = Course of a Trackpoint</para>
2660 <para>L = Location of a Trackpoint</para>
2661 <para>T = Time of a Trackpoint</para>
2662 <para>M = Time diff of a Trackpoint from the previous trackpoint</para>
2663 <para>X = Number of satellites used in the trackpoint fix</para>
2664 <para>D = Distance of the trackpoint from the start of a track (following along the track)</para>
2665 <para>P = Distance difference of the trackpoint from the previous trackpoint</para>
2666 <para>N = Name of track to which the trackpoint belongs</para>
2667 </listitem>
2668 </varlistentry>
2669 <varlistentry>
2670 <term>Output Notes</term>
2671 <listitem>
41e7014c
RN
2672 <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>
2673 <para>If the output has <emphasis>**</emphasis> after it, then difficulties were encountered in trying to work the value so probably a default of 0 will be shown.</para>
8549385f
RN
2674 </listitem>
2675 </varlistentry>
2676 </variablelist>
2677 </para>
2678 </section>
78609471
RN
2679 </section>
2680
ba322d06 2681</section>
935bb09f 2682<!-- End of Extending Viking -->
f8b8a0b5 2683
12227063
GB
2684<section><title>Dependencies</title>
2685<formalpara><title>gpsbabel</title>
2686<para>&appname; uses <ulink url="http://gpsbabel.org/">GPSBabel</ulink> to convert data.</para>
2687</formalpara>
2688<formalpara><title>unbuffer (optional)</title>
2689<para>&appname; uses unbuffer command to optimize conversion calls.</para>
2690</formalpara>
73919102
RN
2691<formalpara><title>gpsd (optional - but not <trademark>Windows</trademark>)</title>
2692<para>&appname; can use <ulink url="http://www.catb.org/gpsd/">gpsd</ulink> to get the current location.</para>
2693</formalpara>
12227063
GB
2694</section>
2695
f8b8a0b5 2696</article>