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