]> git.street.me.uk Git - andy/viking.git/blame - help/C/viking.xml
[DOC] There's more Howto's now.
[andy/viking.git] / help / C / viking.xml
CommitLineData
f8b8a0b5
GB
1<?xml version="1.0"?>
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY appname "Viking">
5 <!ENTITY app "<application>Viking</application>">
5bea959d 6 <!ENTITY appversion "1.3">
2d336346 7 <!ENTITY manrevision "0.2">
5bea959d 8 <!ENTITY date "September 2012">
f8b8a0b5
GB
9]>
10<!--
11 (Do not remove this comment block.)
12 Maintained by the GNOME Documentation Project
13 http://live.gnome.org/DocumentationProject
14 Template version: 3.0 beta
15 Template last modified 2006-11-21
16
17-->
18<!-- =============Document Header ============================= -->
19<article id="index" lang="en">
20 <articleinfo>
21 <title>&app; Manual</title>
22 <abstract role="description">
23 <para>&app; is a free/open source program to manage GPS data.</para>
24 </abstract>
25
26 <copyright>
bbfdcbed 27 <year>2012</year>
f8b8a0b5 28 <holder>Guilhem Bonnefille</holder>
bbfdcbed 29 <holder>Rob Norris</holder>
f8b8a0b5
GB
30 </copyright>
31
32 <!-- An address can be added to the publisher information. -->
33 <publisher role="maintainer">
34 <publishername>GNOME Documentation Project</publishername>
35 </publisher>
36
37 <xi:include href="legal.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
38 <!-- The file legal.xml contains link to license for the documentation,
39 and other legal stuff such as "NO WARRANTY" statement.
40 Please do not change any of this. -->
41
42 <authorgroup>
43 <author>
44 <firstname>Guilhem</firstname>
45 <surname>Bonnefille</surname>
46 </author>
25c0a45b
RN
47 <author>
48 <firstname>Rob</firstname>
49 <surname>Norris</surname>
50 </author>
a43e638f
RN
51 <!-- Contributors from the Wiki history -->
52 <author>
53 <firstname>username:</firstname>
54 <surname>Alexxy</surname>
55 </author>
56 <author>
57 <firstname>username:</firstname>
58 <surname>Vikingis</surname>
59 </author>
60 <author>
61 <firstname>username:</firstname>
62 <surname>Tallguy</surname>
63 </author>
64 <author>
65 <firstname>username:</firstname>
66 <surname>EliotB</surname>
67 </author>
68 <author>
69 <firstname>Alex</firstname>
70 <surname>Foobarian</surname>
71 </author>
72 <!-- END -->
f8b8a0b5
GB
73 </authorgroup>
74
75 <revhistory>
76 <revision>
77 <revnumber>&appname; Manual V&manrevision;</revnumber>
78 <date>&date;</date>
79 <revdescription>
80 <para role="author">Guilhem Bonnefille <email>guilhem.bonnefille@gmail.com</email></para>
bbfdcbed 81 <para role="author">Rob Norris <email>rw_norris@hotmail.com</email></para>
f8b8a0b5 82 <para role="publisher">GNOME Documentation Project</para>
bbfdcbed 83 <para>This document was generated on <?dbtimestamp format="Y-m-d"?>.</para>
f8b8a0b5 84 </revdescription>
845a6b70 85 </revision>
f8b8a0b5
GB
86 </revhistory>
87
4502fc82 88 <releaseinfo>This manual describes version &appversion; of &appname;.</releaseinfo>
f8b8a0b5
GB
89
90 <legalnotice>
91 <title>Feedback</title>
92 <para>To report a bug or make a suggestion regarding the &app; application or
93 this manual, follow the directions in the
94 <ulink url="ghelp:user-guide?feedback-bugs" type="help">Feedback section of the GNOME User Guide</ulink>.
95 </para>
96 </legalnotice>
97 </articleinfo>
98
99 <indexterm zone="index">
100 <primary>&app;</primary>
101 </indexterm>
102<!-- ============= Document Body ============================= -->
4502fc82 103<section id="introduction">
f8b8a0b5 104 <title>Introduction</title>
6928e16b 105<para>
7233fcb6
RN
106&appname; aims to be easy to use, yet powerful in accomplishing a wide
107variety of tasks. Some of the things you can use &appname; for are:
6928e16b
GB
108</para>
109<itemizedlist mark="opencircle"><listitem>
110<para>
111Uploading and downloading waypoints, tracks to/from GPS.
112</para>
113</listitem>
114<listitem>
115<para>Preparing tracks and waypoints for trips using maps from services
7233fcb6 116such as OpenStreetMap (OSM) and/or Terrasever. The data is only needed to be uploaded to
6928e16b
GB
117your GPS before you leave. The maps together with your tracks and
118waypoints can also be printed and used during the trip.
119</para>
120</listitem>
121<listitem>
122<para>
123After trips, tracks and waypoints from GPS can be downloaded, stored, managed and reused in your (or your friends') later trips.
124</para>
125</listitem>
126<listitem>
127<para>
9ca89c29 128Analyzing Off Highway Vehicle (OHV) and hiking trips, understanding where you went and how far you were from something.
6928e16b
GB
129</para>
130</listitem>
131<listitem>
132<para>Making waypoints and tracks to follow to easily get someplace
9ca89c29 133you've never been before or don't have GPS data for but online
6928e16b
GB
134maps exist for it.
135</para>
136</listitem>
137<listitem>
138<para>
139Making maps with coordinate lines.
140</para>
141</listitem>
142<listitem>
143<para>
144Grouping data from multiple trips using a hierarchical data manager.
145</para>
146</listitem>
147<listitem>
148<para>
149Analyzing speed at different places (to some degree), adding waypoints where you forgot to mark one but did slow down or stop.
150</para>
151</listitem>
152<listitem>
153<para>
3e8e3227 154Downloading and storing OpenStreetMap and/or Terraserver maps on your hard drive and looking at them later.
6928e16b
GB
155</para>
156</listitem>
157<listitem>
158<para>
159Editing tracks and trackpoints, joining and splitting up tracks
160</para>
161</listitem>
0ef60ec1 162<listitem>
6928e16b 163<para>
73919102 164Show the live GPS position on the map (for use on a mobile device - e.g. a laptop). Not <trademark>Windows</trademark> at the moment.
6928e16b
GB
165</para>
166</listitem>
76b8a4e8
RN
167<listitem>
168<para>
73919102 169Import track+waypoint files of various types via <application>GPSBabel</application>
76b8a4e8
RN
170</para>
171</listitem>
dae48936
RN
172<listitem>
173<para>
174View, create and update Geotagged Images (using EXIF data).
175</para>
176</listitem>
9ca89c29
RN
177</itemizedlist>
178<note>
6928e16b 179<para>
9ca89c29 180&appname; is under continual improvement: see the potential areas in the <ulink url="http://sourceforge.net/apps/mediawiki/viking/index.php?title=Main_Page#TODO_.2F_Ideas"><citetitle>Roadmap / Wishlist</citetitle></ulink>:
6928e16b 181</para>
9ca89c29 182</note>
4502fc82 183</section>
7233fcb6 184
6928e16b 185<section><title>General Concepts</title>
7233fcb6
RN
186<section><title>Layers</title>
187<para>
73919102 188'Layers' is concept one may know from powerful graphics editors such as <application>Photoshop</application> or <application>GIMP</application>.
7233fcb6 189Instead of putting all the data on the same level, it is stacked (i.e. layered) with different data over one another.
73919102 190This can be useful for analysis and general handling of various sets of data.
7233fcb6
RN
191</para>
192<para>
193Unfortunately the downside of this complexity is remembering how differing layers of data can obscure other data.
194</para>
195<para>
196The Map layers have <ulink url="http://en.wikipedia.org/wiki/Alpha_compositing"><citetitle>Alpha Compositing</citetitle></ulink>,
197to create the appearance of partial transparency.
198By controlling this value one can see data below it in the layer heirarchy for interesting effects.
199</para>
200</section>
201<section><title>Layers Panel</title>
6928e16b
GB
202<para>
203The panel on the left is called the <emphasis role="bold">layers panel</emphasis>.
204It determines which layers and sublayers (such as tracks and waypoints)
205are shown, and the order in which they are drawn. Layers list on the
206top of the layers panel are drawn last. You can change the order by
207drag and drop, or by selecting a layer and using the up and down
208buttons at the bottom of the layers panel.
209</para>
7233fcb6
RN
210</section>
211<section><title>Viewport</title>
6928e16b 212<para>
7233fcb6 213The main &appname; area where the layer data is drawn, is called the <emphasis role="bold">viewport</emphasis>.
6928e16b 214</para>
6928e16b 215</section>
7233fcb6 216<section><title>Statusbar</title>
7233fcb6 217<para>This provides a readout of various information:</para>
eabf51fc
GB
218<itemizedlist>
219<listitem><para>The currently selected (mouse pointer) tool</para></listitem>
220<listitem><para>The number of items to process in the background - normally this the number in the map tile download queue</para></listitem>
221<listitem><para>The zoom factor</para></listitem>
222<listitem><para>The location of the mouse pointer (and potentially height information if DEM data is available)</para></listitem>
223</itemizedlist>
7233fcb6 224</section>
d587678a
GB
225
226<section><title>Projections</title>
227<para>
228&appname; supports differents projections:
229<itemizedlist>
230<listitem>
231<para>UTM</para>
232</listitem>
233<listitem>
234<para>LatLon (also called EPSG:4326)</para>
235</listitem>
236<listitem>
237<para>Mercator (also called Spherical Mercator)</para>
238</listitem>
239</itemizedlist>
240</para>
241</section>
76936a96
RN
242
243<section><title>Shortcut Keys</title>
244<para>
245&appname; has several shortcut keys or key combinations for commands as listed in the main window along side the command.
246</para>
247<para>
248Some function keys follow standard GUI behaviour:
249</para>
250<itemizedlist>
251<listitem><para><keycap>F1</keycap> Help (view this manual)</para></listitem>
6b59f63d 252<listitem><para><keycap>F5</keycap> or <keycap>Ctrl+R</keycap> Refresh the maps on screen</para></listitem>
76936a96
RN
253<listitem><para><keycap>F10</keycap> Select the Menubar (in built behaviour)</para></listitem>
254<listitem><para><keycap>F11</keycap> Full Screen</para></listitem>
6b59f63d 255<listitem><para><keycap>Ctrl+F5</keycap> or <keycap>Ctrl+Shift+R</keycap> Redownload the maps on screen</para></listitem>
76936a96 256</itemizedlist>
6b59f63d
RN
257<note>
258<para>
259Refresh attempts to get new maps only if the local tile cache time period has expired for any particular map tile.
260Redownload gets all on screen maps from the server, ignoring the local tile cache.
261</para>
262</note>
76936a96
RN
263<para>
264Other function keys control turn on/off visibility of various elements:
265</para>
266<itemizedlist>
267<listitem><para><keycap>F3</keycap> Toggle visibility of the Toolbar</para></listitem>
268<listitem><para><keycap>F4</keycap> Toggle visibility of the Menubar</para></listitem>
6b59f63d 269<listitem><para><keycap>Shift+F5</keycap> Toggle visibility of the Scale indicator on the viewport</para></listitem>
76936a96
RN
270<listitem><para><keycap>F6</keycap> Toggle visibility of the Center Crosshairs on the viewport</para></listitem>
271<listitem><para><keycap>F7</keycap> Toggle showing selected items (e.g. tracks or waypoints) in the highlight colour in the viewport</para></listitem>
272<listitem><para><keycap>F9</keycap> Toggle visibility of the Layers Panel</para></listitem>
273<listitem><para><keycap>F12</keycap> Toggle visibility of the Statusbar</para></listitem>
274</itemizedlist>
275<para>
276Standard shortcuts are provided for normal GUI operations: such as creating new files, opening, saving and exitting.
277Then there are shortcuts specific to &appname; to switch projection modes, zoom in/out, create layers and switch the active tool mode.
278For these combinations see the menu entry themselves.
279</para>
7233fcb6
RN
280</section>
281
76936a96
RN
282</section><!--General Concepts End-->
283
6928e16b 284<section><title>Layers</title>
036c28fc 285
28f39a51
RN
286<para>
287Layers supported by &appname; are:
288</para>
289<itemizedlist>
290<listitem><para>Aggregate</para></listitem>
291<listitem><para>TrackWaypoint</para></listitem>
292<listitem><para>GPS</para></listitem>
293<listitem><para>DEM</para></listitem>
294<listitem><para>Coord</para></listitem>
845a6b70 295<listitem><para>Map</para></listitem>
28f39a51
RN
296<listitem><para>GeoRef</para></listitem>
297</itemizedlist>
298<para>
299For each layer there are a few standard options:
300</para>
301<itemizedlist>
302<listitem><para>Properties - Layer setup / configuration settings</para></listitem>
303<listitem><para>Cut</para></listitem>
304<listitem><para>Copy</para></listitem>
305<listitem><para>Paste</para></listitem>
306<listitem><para>Delete</para></listitem>
307<listitem><para>Visibility - This checkbox on the Layers Panel controls whether the layer is shown in the viewport or not</para></listitem>
308</itemizedlist>
309<para>
310The cut/copy/paste options can be accessed in a variety of ways once the layer has been selected:
311</para>
312<itemizedlist>
313<listitem><para>Standard keys: <keycap>Ctrl+x|c|v</keycap></para></listitem>
314<listitem><para>Main menu <guimenuitem>Edit</guimenuitem></para></listitem>
315<listitem><para>From the right click menu</para></listitem>
316<listitem><para>Buttons at the bottom of the Layers Panel</para></listitem>
317</itemizedlist>
318<para>
319See the individual section for detail about each layer.
320</para>
321
6928e16b
GB
322<section><title>TrackWaypoint Layer</title>
323<para>
324TrackWaypoint layers display GPS data (tracks and waypoints).
325</para>
7233fcb6 326<para>One way to create new waypoints is to copy a
6928e16b 327latitude/longitude coordinate pair, such as the one shown on most
0ef60ec1
GB
328geocaches, and paste it into an active TrackWaypoint layer. &appname; can
329automatically recognize several variations of the lat/lon format.
330</para>
6928e16b
GB
331<para>
332By right-clicking tracks and waypoints in the layers panel, you can do
333many things with tracks and waypoints. You can easily find a specific
334track or waypoint by expanding the Tracks or Waypoints sublayers in the
335layers panel to show all tracks or waypoints, and typing the name of
336the track/waypoint.
337</para>
036c28fc 338
6928e16b
GB
339<section><title>Layer Operations</title>
340<para>
341The layer has a context menu with several operations.
342</para>
036c28fc
RN
343
344<section><title>View Layer</title>
345<para>
346Version1.1+: This will automatically move the viewport and select the best zoom level to see the whole layer (i.e. tracks and waypoints).
347</para>
348</section>
349
350<section><title>View All Tracks</title>
351<para>
352Version1.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 waypoints).
353</para>
354</section>
355
356<section><title>View All Waypoints</title>
357<para>
358Version1.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).
359</para>
360</section>
361
362<section><title>Goto Center of Layer</title>
363<para>
364This will automatically move the viewport to see the whole layer (i.e. tracks and waypoints). It does not adjust the zoom level.
365</para>
366</section>
367
368<section><title>Goto Waypoint</title>
369<para>
370This opens a dialog box to enter a name of waypoint to search for. If it is found the viewport is centred on it.
371</para>
372<note>
373<para>
374Note this search is not very clever and only finds exact matches.
375You are probably better off expanding the waypoint list and directly start typing, as mentioned above, which finds a match based on each letter typed.
376</para>
377</note>
378</section>
379
380<section><title>Export Layer</title>
381<para>
ba9d0a00 382The layer (all tracks and waypoints) can be exported to a file GPX, GPSPoint, GPSMapper or Google's KML format.
036c28fc
RN
383</para>
384<para>
385Version1.1+: An individual track can be exported to a GPX file via the track menu.
386</para>
387</section>
388
cc1083b3 389<section id="new_wp"><title>New Waypoint</title>
036c28fc
RN
390<para>
391This 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.
392</para>
393</section>
394
395<section><title>Add Wikipedia Waypoints</title>
396<para>
397This gets 'interesting' points from Wikipedia for the specified view: either within the extent of layer bounds or within the current viewport boundary.
398</para>
399</section>
400
dae48936
RN
401<section><title>Geotag Images</title>
402<para>
403This starts the Geotagging Images dialog against all tracks in the layer.
404See <link linkend="geotagging">Geotagging</link> for further detail.
405</para>
406</section>
407
036c28fc
RN
408<section id="osm_upload"><title>Upload To OSM</title>
409<para>
3e8e3227 410This opens a dialog to upload all tracks and waypoints to <ulink url="http://openstreetmap.org/">OpenStreetMap</ulink> traces.
4cdc9eb3 411Useful if you are an OpenStreetMap contributor (you will need an OpenStreetMap account), these details can be stored in &appname; <link linkend="prefs_osm">preferences.</link>
036c28fc 412</para>
6928e16b 413<para>
3e8e3227 414 &appname; allows you to edit a track, e.g. remove duplicate points, perhaps remove track points leading to your home and then upload it to OpenStreetMap.
6928e16b 415</para>
0ef60ec1 416<note>
6928e16b 417<para>
036c28fc 418 <emphasis role="bold">Warning!</emphasis>
4cdc9eb3 419The password is transferred <emphasis role="bold">unencrypted</emphasis> in every request sent to the OpenStreetMap server. This is due to the use of OpenStreetMap's basic authentication method.
6928e16b 420</para>
4cdc9eb3 421<para>Currently &appname; does not support the <ulink url="http://oauth.net/">OAuth</ulink> mechanism.</para>
0ef60ec1 422</note>
036c28fc 423</section>
6928e16b 424
036c28fc
RN
425<section><title>Filter</title>
426<section><title>Simplify All Tracks</title>
427<para>
428This 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.
429</para>
430</section>
431<section><title>Remove Duplicate Waypoints</title>
432<para>
433Remove Duplicate Waypoints - fairly self explainatory, with the results created in a new layer.
434</para>
435<note>
436<para>
437However 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.
438</para>
439</note>
440</section>
6928e16b
GB
441</section>
442
036c28fc
RN
443<section id="filter_with_track"><title>Filter With <emphasis>Trackname</emphasis></title>
444<para>
445This 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:
446</para>
447<itemizedlist>
448<listitem><para>Waypoints Inside This</para></listitem>
449<listitem><para>Waypoints Outside This</para></listitem>
450</itemizedlist>
451<para>
452The result is generated in a new Track/Waypoint layer.
453</para>
6928e16b 454</section>
036c28fc 455
dae48936
RN
456<section><title>Geotag Images</title>
457<para>
458This starts the Geotagging Images dialog using the specific track.
459See <link linkend="geotagging">Geotagging</link> for further detail.
460</para>
461</section>
462
036c28fc
RN
463</section><!-- End TRW Layer Options -->
464
6928e16b
GB
465<section><title>Track Properties</title>
466<para>
467Show many useful statistics about a track, including a
468elevation-distance graph and a speed-time graph (if data is available).
469You can click these graphs to jump to the point in the track. You can
470also reverse a track, delete duplicates, and split a track from its
471component segments (discontinuous breaks in a track) into separate
472tracks.
473</para>
474<para>
475The following colors are used in the elevation-distance graph:
476</para>
0ef60ec1
GB
477<variablelist>
478<varlistentry>
7233fcb6 479<term>'Main' colour - this is dependent on your Desktop theme - often blue by default</term>
0ef60ec1
GB
480<listitem><para>elevation data in graph</para></listitem>
481</varlistentry>
482<varlistentry>
483<term>Yellow</term>
6928e16b 484<listitem>
0ef60ec1 485<para>no elevation data</para>
6928e16b 486</listitem>
0ef60ec1
GB
487</varlistentry>
488<varlistentry>
489<term>Green</term>
6928e16b 490<listitem>
0ef60ec1 491<para>elevation data from DEM</para>
6928e16b 492</listitem>
0ef60ec1
GB
493</varlistentry>
494<varlistentry>
495<term>Red</term>
6928e16b 496<listitem>
0ef60ec1 497<para>speed</para>
6928e16b 498</listitem>
0ef60ec1
GB
499</varlistentry>
500</variablelist>
6928e16b
GB
501
502</section>
d45662d5 503
6928e16b 504<section><title>Track Operations</title>
d45662d5
RN
505
506<section><title>Goto</title>
507<para>
508This centers the viewport on the selected position on the track:
509</para>
510<itemizedlist>
511<listitem><para>Startpoint</para></listitem>
512<listitem><para>"Center" - the notional center from the bounds of the track</para></listitem>
513<listitem><para>Endpoint</para></listitem>
514<listitem><para>Version1.1+: Highest Altitude</para></listitem>
515<listitem><para>Version1.1+: Lowest Altitude</para></listitem>
516<listitem><para>Version1.1+: Maximum Speed</para></listitem>
517</itemizedlist>
518</section>
519
520<section><title>View</title>
521<para>
522Version1.1+: This centers the viewport on the track and selects the best zoom level to see it.
523</para>
524</section>
525
9552af08 526<section><title>Combine</title>
d45662d5 527<section><title>Merge By Time</title>
0ef60ec1
GB
528<para>
529This operation repeatedly tries to merge the right-clicked track
6928e16b
GB
530with tracks in the same TrackWaypoint layer. The tracks which are
531merged are those which have at least one trackpoint less than some
532threshold time away. This way, if you somehow end up with lots of small
533segments (say, caused by turning the GPS on and off) you can merge them
0ef60ec1
GB
534easily into one track.
535</para>
d45662d5 536</section>
6928e16b 537
d45662d5
RN
538<section><title>Merge With Other Tracks</title>
539<para>
540This opens a dialog listing the other tracks in the same TrackWaypoint layer, from which one can select the other tracks to merge with.
541</para>
6928e16b 542</section>
d45662d5 543
9552af08
RN
544<section><title>Merge Segments</title>
545<para>
546Combines track segments. Effectively removing track segment markers to leave one segment for the whole track.
547</para>
548</section>
549
550<section><title>Append Track</title>
551<para>
552Enable joining of a single track to the end of the current track.
553This opens a dialog listing the other tracks in the same TrackWaypoint layer from which one can make the selection.
554</para>
555</section>
556</section>
557
558<section><title>Split</title>
d45662d5 559<section><title>Split By Time</title>
6928e16b
GB
560<para>
561This operation will split a single track into segments wherever the
562time interval between successive trackpoints is larger than some
563threshold. This is useful when processing raw NMEA GPS data, especially
0ef60ec1
GB
564taken over a long time.
565</para>
6928e16b 566</section>
d45662d5 567
43e67498
RN
568<section><title>Split By Number of Points</title>
569<para>
570Version1.2+: This operation will split a single track into segments by the number of points specified.
571This can be useful with devices which may have limits on the number of points it supports.
572</para>
573</section>
574
9552af08
RN
575<section><title>Split Segments</title>
576<para>
577Splits track segments into new tracks.
578</para>
579</section>
580
581<section><title>Split at Trackpoint</title>
582<para>
583Splits the track at the currently selected trackpoint. This is only enabled when a trackpoint is selected.
584</para>
585</section>
586</section>
587
588<section><title>Delete Points</title>
589<section><title>Delete Points With the Same Position</title>
590<para>
591Deletes subsequent points that have the same position (but have different timestamps).
592</para>
593</section>
594<section><title>Delete Points With the Same Time</title>
595<para>
596Deletes subsequent points that have the same time stamp (but may have different positions).
597</para>
598</section>
599
600</section>
601
6928e16b
GB
602<section><title>Apply DEM data</title>
603<para>
604If any DEM data is loaded, this will apply the DEM data to give the track elevation data.
605</para>
d45662d5 606</section>
6928e16b 607
d45662d5
RN
608<section><title>Export Track as GPX</title>
609<para>
610Version1.1+: This allows exporting the track as a GPX file by opening a file save dialog.
611</para>
6928e16b 612</section>
d45662d5
RN
613
614<section><title>Extend Track End</title>
6928e16b 615<para>
d45662d5 616Changes the current tool to add trackpoints to the end of the track.
6928e16b 617</para>
d45662d5 618</section>
6928e16b 619
fc8dc7a8 620<!--
0db79fc5 621<section><title>Extend Using Route Finder</title>
d45662d5 622<para>
0db79fc5 623Enables 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 Google's route service and applied to the track.
d45662d5 624</para>
6928e16b 625</section>
fc8dc7a8 626-->
d45662d5 627
6928e16b
GB
628<section><title>Upload to OSM</title>
629<para>
73919102 630Same as the layer <link linkend="osm_upload">Upload to OSM</link> command, but only applies to the track.
6928e16b 631</para>
d45662d5 632</section>
6928e16b 633
d45662d5
RN
634<section><title>Use With Filter</title>
635<para>
636This selects the track to be used in the <link linkend="filter_with_track">Filter With <emphasis>Trackname</emphasis></link> feature.
637</para>
6928e16b 638</section>
d45662d5 639
fc8dc7a8 640<!--
6928e16b 641<section><title>View Google Directions</title>
0ef60ec1 642<para>
0db79fc5 643This option is only available on a track created using the Route Finder tool.
d45662d5
RN
644</para>
645<para>
646Launch a web browser to see the Google directions page which yielded the route.
0ef60ec1
GB
647</para>
648<note>
649<para>
0db79fc5 650The record of the Google route is stored in the track's comment, so if the comment is changed (or the route was created by something other than the Route Finder tool) this will not work correctly.
6928e16b 651</para>
0ef60ec1 652</note>
6928e16b 653</section>
fc8dc7a8 654-->
d45662d5 655</section><!-- End Track Options -->
cc1083b3 656
440ef68c
RN
657<section><title>Waypoint Properties</title>
658
659<para>
660This 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).
661</para>
dae48936
RN
662<para>
663If the waypoint has an associated image, then the Geotag information may be updated, either with updating the file's modification timestamp or not.
664This can be useful when the waypoint has been moved.
665</para>
440ef68c
RN
666
667</section><!-- WP Prop END -->
668
6928e16b 669<section><title>Waypoint Operations</title>
cc1083b3
RN
670
671<section><title>Goto</title>
6928e16b 672<para>
cc1083b3 673This centers the viewport on the selected waypoint.
6928e16b 674</para>
cc1083b3 675</section>
6928e16b 676
cc1083b3
RN
677<section><title>Visit Geocache Webpage</title>
678<para>
679If the waypoint's name is in Geocache form (GCXXXXX) you can launch a web browser to go to the Geocache page.
680</para>
6928e16b
GB
681</section>
682
cc1083b3
RN
683<section><title>New Waypoint</title>
684<para>
685Same as the layer <link linkend="new_wp">New Waypoint</link>.
686</para>
6928e16b
GB
687</section>
688
cc1083b3
RN
689</section><!-- WP END -->
690
dae48936
RN
691<section id="geotagging"><title>Version1.3+: Geotag Images</title>
692<para>
693This dialog allows geotagging images (normally taken with a digital camera) via interpolation against a specific track or all tracks in the TrackWaypoint layer - depending on how it is invoked.
694</para>
695<para>
696Images 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.
697</para>
698<note>
699<para>
700Generally 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.
701</para>
702</note>
703<para>
704Various options allow control of how the geotagging process is performed:
705</para>
706<itemizedlist>
707<listitem><para>Images - Add the images used for geotagging</para></listitem>
708<listitem><para>Create Waypoints</para></listitem>
269865aa 709<listitem><para>Overwrite Existing Waypoints</para></listitem>
dae48936
RN
710<listitem><para>Write EXIF</para></listitem>
711<listitem><para>Overwrite Existing GPS Information</para></listitem>
712<listitem><para>Interpolate Between Track Segments</para></listitem>
713<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>
714<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>
715</itemizedlist>
716</section>
717
036c28fc
RN
718</section><!-- TRW Layer END -->
719
9eada844 720<section id="gps_layer"><title>GPS Layer</title>
0ef60ec1 721<para>
7233fcb6 722The GPS layer is responsible for uploading and downloading GPS data
6928e16b 723from a GPS device. It also is responsible for realtime GPS tracking.
ca2f3f23 724Expand the GPS layer in the layers panel to see the two TrackWaypoint layers it
6928e16b 725uses for uploading and downloading. To upload, download, or use
7233fcb6 726realtime tracking, right-click the GPS layer and click the appropiate
6928e16b
GB
727menu item.
728</para>
0ef60ec1 729
6928e16b
GB
730<section><title>Download</title>
731<para>
7233fcb6 732To download data from the GPS, right-click the GPS layer and click <guimenuitem>Download from GPS</guimenuitem>.
6928e16b 733</para>
6928e16b 734</section>
ca2f3f23 735
6928e16b 736<section><title>Upload</title>
0ef60ec1
GB
737<para>
738To upload data to the GPS, first populate the GPS Upload child
6928e16b
GB
739layer of the GPS layer (either by creating waypoints/tracks in it, or
740copying and pasting or dragging waypoints/tracks from another layer).
7233fcb6 741Then right-click the GPS layer and click <guimenuitem>Upload to GPS</guimenuitem>.
6928e16b 742</para>
6928e16b 743</section>
ca2f3f23 744
7233fcb6 745<section><title>Realtime Tracking</title>
0ef60ec1
GB
746<para>
747You must set up gpsd correctly or use a GPSD server and put the
7233fcb6
RN
748correct information in the GPS layer properties dialog. Then right-click
749the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
6928e16b 750</para>
6928e16b
GB
751</section>
752
ca2f3f23
RN
753<section><title>Empty <emphasis>Item</emphasis></title>
754<para>
755There are several options to quickly delete a subsection of data:
756</para>
757<itemizedlist>
758<listitem><para>Empty Realtime</para></listitem>
759<listitem><para>Empty Upload</para></listitem>
760<listitem><para>Empty Download</para></listitem>
761<listitem><para>Empty All</para></listitem>
762</itemizedlist>
6928e16b 763</section>
ca2f3f23
RN
764
765</section><!-- End GPS -->
766
845a6b70 767<section><title>DEM (Digital Elevation Model) Layer</title>
6928e16b 768<para>
6fa00cca 769This layer provides elevation data from the <ulink url="http://www2.jpl.nasa.gov/srtm/">Shuttle Radar Topography Mission (SRTM)</ulink>
6928e16b 770</para>
6fa00cca
RN
771<para>
772Elevation 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]
773</para>
774<para>
775To 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.
776</para>
777<para>
778The current data server is: <ulink url="http://dds.cr.usgs.gov/srtm/version2_1/">NASA STRM 2.1</ulink>.
779</para>
780<para>
781ATM &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.
782</para>
783<note>
784<para>
785Using 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"
786</para>
787</note>
6928e16b 788
6fa00cca 789</section><!-- End DEM -->
6928e16b 790
f1b908b1
RN
791
792<section><title>Maps Layer</title>
793<para>
794This layer provides a single map resource, you may have multiple map layers but only top one (if enabled) will be visible.
795You 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.
796</para>
797<para>
3e8e3227 798Some 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 - 'Tile Age' to determine whether to access the server. However a forced refresh for the current view can be made via the <guilabel>Reload All Onscreen Maps</guilabel> option.
f1b908b1
RN
799</para>
800<para>
3e8e3227 801Inbuilt maps include various <ulink url="http://en.wikipedia.org/wiki/TerraServer-USA">Terraserver</ulink> (Primarily USA coverage) and <ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> ones and more:
f1b908b1
RN
802</para>
803<itemizedlist>
e2eb2a7b 804<listitem><para>Bing Bird's Eye (Aerial) Maps (&appname; Version1.2+)</para></listitem>
f1b908b1
RN
805<listitem><para>Terraserver Topos</para></listitem>
806<listitem><para>Terraserver Aerials</para></listitem>
807<listitem><para>Terraserver Urban Areas</para></listitem>
f71b9997
RN
808<listitem><para>OpenStreetMap (Mapquest) - This is the default (&appname; Version1.3+)</para></listitem>
809<listitem><para>OpenStreetMap (Mapnik)</para></listitem>
f1b908b1 810<listitem><para>OpenStreetMap (Cycle)</para></listitem>
f71b9997 811<listitem><para>OpenStreetMap (Transport) (&appname; Version1.3+)</para></listitem>
f1b908b1
RN
812<listitem><para>NASA BlueMarble</para></listitem>
813<listitem><para>SpotMap (&appname; Version1.1+)</para></listitem>
814</itemizedlist>
815
816<para>
817&appname; can be configured to handle additional maps. See <link linkend="extend_viking">Extending &appname;</link> for further detail.
818</para>
819
820<section><title>Layer Operations</title>
821<section><title>Download Missing Onscreen Maps</title>
822<para>
823This requests map tiles for areas of the viewport that do not currently have one.
824</para>
825</section>
826
827<section><title>Download New Onscreen Maps</title>
828<para>
829This requests map tiles only if the maps are older than the Tile Age preference.
830</para>
831</section>
832
833<section><title>Reload All Onscreen Maps</title>
834<para>
835Force a refresh of all visible map tiles.
836</para>
837</section>
838</section>
839
840
841</section><!-- End Maps -->
842
ce269944
RN
843<section><title>Aggregrate Layer</title>
844<para>
845This layer is a container layer to hold other layers. There is always an initial and controlling 'Top Layer' that can not be removed, although it can be renamed.
846</para>
847<para>
848This layer type is useful for grouping other layers, especially TrackWaypoint layers, in whatever categories are relevant to you: such as by activity, location or date.
849Here are some suggestions:
850<itemizedlist>
851<listitem><para>Hiking</para></listitem>
852<listitem><para>Mountain Biking</para></listitem>
853<listitem><para>Road Cycling</para></listitem>
854<listitem><para>Car Trips</para></listitem>
855<listitem><para>Sailing</para></listitem>
856<listitem><para>Holidays</para></listitem>
857<listitem><para>UK Points of Interest</para></listitem>
858<listitem><para>USA Points of Interest</para></listitem>
859<listitem><para>etc...</para></listitem>
860</itemizedlist>
861</para>
862<para>
863Thus one can have a list of all your tracks, but groups can be shown or not using the relevant layers visibility checkbox.
864</para>
865
866<para>
867This layer only has one operation: <guilabel>New Layer</guilabel>
868</para>
869
870<section><title>New Layer</title>
871<para>
872Add a new layer of the selected type.
873</para>
874</section>
875
876</section><!-- End Agg -->
877
878<section><title>GeoRef Layer</title>
879<para>
880This 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.
881</para>
882<section><title>Layer Operations</title>
883<section><title>Zoom to Fit Map</title>
884<para>
885Automatically set a zoom level to see the entire map coverage.
886</para>
887</section>
888
889<section><title>Goto Map Center</title>
890<para>
891Center the viewport on this map.
892</para>
893
894</section>
895<section><title>Export to World File</title>
896<para>
897Opens 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>.
898</para>
899</section>
900</section>
901
902</section><!-- End GeoRef -->
903
904<section><title>Coord Layer</title>
905<para>
906This layer is allows drawing of grid lines on the viewport.
907</para>
908</section><!-- End Coord -->
909
845a6b70
GB
910</section>
911
6928e16b
GB
912<section><title>Tools</title>
913<para>
914You can use the scroll wheel and the right-click to zoom and pan no matter what tool you are using.
915</para>
916<para>
15ff5402 917Scroll: zoom in and out keeping the mouse over same location
6928e16b
GB
918</para>
919<para>
920Ctrl-scroll: pan north-south (also Ctrl-up, Ctrl-down)
921</para>
922<para>
923Shift-scroll: pan east-west (also Ctrl-left, Ctrl-right)
924</para>
925<para>
15ff5402 926Ctrl-shift-scroll: zoom in and out, without changing the center (also Ctrl+, Ctrl- [*not* KeyPad +/-])
6928e16b
GB
927</para>
928<para>
f95c9f7c 929Left or Middle-click: make the clicked point on the map the center
6928e16b
GB
930</para>
931<para>
932Middle-click and drag: pan
933</para>
f95c9f7c 934
e2eb2a7b
RN
935<section><title>Pan</title>
936<para>
937Pan moves the viewpoint. A single click centers the viewport at that point, whereas click and drag dynamically moves the view around.
938This is the default tool.
939</para>
416c8737
RN
940<para>
941This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+P</keycap>
942</para>
e2eb2a7b
RN
943</section>
944
6928e16b
GB
945<section><title>Zoom</title>
946<para>
2eea9a36 947Zooms in and out on the clicked part of the map or by the selected area.
6928e16b 948</para>
416c8737
RN
949<para>
950This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+Z</keycap>
951</para>
130ac805
RN
952<para>
953Ctrl + left or right click: Zoom in/out and center the map on the clicked location
954</para>
2eea9a36
RN
955<para>
956Shift (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.
957</para>
6928e16b 958</section>
f95c9f7c 959
6928e16b 960<section><title>Ruler</title>
9ca89c29
RN
961<para>
962The 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.
963A second click will 'freeze' the ruler at that point.
6928e16b 964</para>
416c8737 965<para>
6b59f63d 966This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+U</keycap>
416c8737 967</para>
6928e16b 968</section>
f95c9f7c 969
269865aa 970<section id="select"><title>Version1.1+: Select</title>
e2eb2a7b
RN
971<para>
972The select tool allows one to choose any waypoint or track by clicking on it (or reasonably near) in the viewpoint.
973</para>
974<para>
975ATM to select a track one must actually click on a trackpoint, which is also selected.
976</para>
416c8737
RN
977<para>
978This mode can also be entered by the keyboard shortcut <keycap>Ctrl+Shift+S</keycap>
979</para>
e2eb2a7b
RN
980</section>
981
6928e16b
GB
982<section><title>TrackWaypoint Layer Tools</title>
983<para>
f95c9f7c 984You must have a TrackWaypoint Layer selected to use these tools.
6928e16b 985</para>
f95c9f7c 986<section><title>Create Waypoint</title>
6928e16b 987<para>
f95c9f7c 988Left click will open the new waypoint dialog using the specified position.
6928e16b 989</para>
f95c9f7c
RN
990</section>
991
992<section><title>Create/Begin Track</title>
6928e16b 993<para>
f95c9f7c
RN
994Left click to create a new trackpoint. If it's the initial trackpoint you will be asked to enter a name for the track.
995If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
845a6b70 996Right click or <keycap>Backspace</keycap>: undo one point.
6928e16b
GB
997</para>
998<para>
845a6b70 999Double click or <keycap>Escape</keycap>: finish track creation.
6928e16b 1000</para>
6928e16b 1001</section>
f95c9f7c 1002
6928e16b
GB
1003<section><title>Edit Waypoint</title>
1004<para>
f95c9f7c
RN
1005Left Click/drag: select/move a waypoint.
1006If <keycap>Ctrl</keycap> is held at the same time, it will jump the waypoint position to a nearby existing trackpoint.
1007If <keycap>Shift</keycap> is held at the same time, it will jump the waypoint position to a nearby existing waypoint.
6928e16b
GB
1008</para>
1009<para>Right-click on waypoint: opens a menu with waypoint actions (the
1010same menu accessed by right-clicking the waypoint in the layers panel)
1011</para>
6928e16b 1012</section>
f95c9f7c 1013
6928e16b
GB
1014<section><title>Edit Trackpoint</title>
1015<para>
f95c9f7c
RN
1016Left click near a trackpoint (in screen pixel terms) to bring up the Track Point Edit dialog on that trackpoint.
1017Whilst the edit dialog is already open, left click again and drag enables moving of the trackpoint.
1018If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
6928e16b
GB
1019</para>
1020<para>
f95c9f7c 1021Options in the Track Point Edit dialog include: change position, go to next, go to previous, delete, insert (halfway to next trackpoint) and splitting the track.
6928e16b 1022</para>
6928e16b 1023</section>
f95c9f7c 1024
6928e16b
GB
1025<section><title>Show Picture</title>
1026<para>
f95c9f7c 1027Opens an image viewer with the picture associated with the waypoint.
73919102
RN
1028By default this uses the default system image viewer.
1029For Linux you can override this with the setting in the <link linkend="prefs_external">preferences.</link>
6928e16b 1030</para>
6928e16b 1031</section>
f95c9f7c 1032
fc8dc7a8 1033<!--
0db79fc5 1034<section><title>Route Finder</title>
6928e16b 1035<para>Creates a track using Google maps routing between two points.
f95c9f7c 1036Requires an internet connection. Click one point, then click another to
6928e16b
GB
1037create a track.
1038</para>
1039<para>
f95c9f7c 1040Right-click: undo last routing (only track removed - not any waypoints)
6928e16b
GB
1041</para>
1042<para>
f95c9f7c 1043<keycap>Ctrl</keycap>: continue previous track
6928e16b 1044</para>
6928e16b 1045</section>
fc8dc7a8 1046-->
6928e16b 1047</section>
f95c9f7c 1048
6928e16b
GB
1049<section><title>Georef Map Layer Tools</title>
1050<para>
1051You must have a Georef Map Layer selected to use these tools.
1052</para>
1053<section><title>Georef zoom</title>
1054<para>Changes the zoom level of the georeferenced map and changes the
7233fcb6 1055&appname; zoom level accordingly. Useful if you are trying to match GPS
6928e16b
GB
1056data to a georeferenced map.
1057</para>
6928e16b 1058</section>
f95c9f7c 1059
6928e16b
GB
1060<section><title>Georef move</title>
1061<para>
1062Drag to move the georeferenced map.
1063</para>
6928e16b 1064</section>
6928e16b 1065</section>
f95c9f7c 1066
6928e16b
GB
1067<section><title>Map Download</title>
1068<para>
f95c9f7c
RN
1069You must have a Map Layer selected to use this.
1070</para>
1071<para>
6928e16b
GB
1072Click to download a single tile. Drag to download tiles in the dragged rectangle area.
1073</para>
1074<para>
1075Right-click to redownload bad/all tiles. Right-click and drag to redownload bad/all tiles in the dragged rectangle area.
1076</para>
6928e16b 1077</section>
f95c9f7c 1078
6928e16b
GB
1079<section><title>DEM Download</title>
1080<para>
f95c9f7c
RN
1081You must have a DEM Layer selected to use this.
1082</para>
1083<para>
6928e16b
GB
1084Click to download and import a DEM file.
1085</para>
6928e16b
GB
1086</section>
1087
7233fcb6 1088<section><title>Webtools</title>
5ab84304
GB
1089<para>
1090Many services are available only via a web browser (Google Maps, OpenStreetMap Potlach editor, etc.).
1091</para>
1092<para>
1093Jumping from &app; to such service can become annoying.
1094</para>
1095<para>
0ef60ec1 1096&appname; allows you to open such service directly at the position currently viewed in &app;.
5ab84304
GB
1097</para>
1098<para>
7233fcb6 1099This feature is called <guilabel>Webtools</guilabel>. It is also known as External Tools.
5ab84304 1100</para>
5ab84304
GB
1101</section>
1102
3e850af1 1103</section>
f95c9f7c 1104
0ef60ec1 1105<!-- Preferences -->
4cdc9eb3
RN
1106<section id="prefs"><title>Preferences</title>
1107<section><title>General</title>
3e850af1
GB
1108<section><title>Localisation</title>
1109<para>You can select units displayed by &appname; to best fit your usage.</para>
1110<figure>
1111<title>Properties dialog: units part</title>
1112<screenshot>
1113 <graphic format="PNG" fileref="figures/properties_units.png"/>
1114</screenshot>
1115</figure>
1116<para>Concerning degrees, you can select the way to display them:
1117<variablelist>
1118<varlistentry>
1119<term>DDD</term><listitem><para>decimal degree</para></listitem>
1120</varlistentry>
1121<varlistentry>
73919102 1122<term>DMM</term><listitem><para>partial sexagesimal display: degrees, minutes and decimal part of minutes</para></listitem>
3e850af1
GB
1123</varlistentry>
1124<varlistentry>
1125<term>DMS</term><listitem><para>sexagesimal display: degrees, minutes and seconds</para></listitem>
1126</varlistentry>
1127</variablelist>
1128</para>
1129<figure>
1130<title>Properties dialog: degree display options</title>
1131<screenshot>
1132 <graphic format="PNG" fileref="figures/properties_degree.png"/>
1133</screenshot>
1134</figure>
1135</section>
4cdc9eb3
RN
1136<section><title>Waypoint Icon Size</title>
1137<para>An option exists to control the icon (symbol) size used for waypoints
1138</para>
1139</section>
1140<section><title>'Home' Default Location: Latitude and Longitude</title>
1141<para>You can set the 'Home' location directly by inputting the latitude and longitude in decimal degrees.
1142</para>
1143</section>
a067ca58
GB
1144<section><title>Tile's age</title>
1145<para>This age is used to decided wether or not a new request to tile server must be done.
1146</para>
1147<para>Changing this value, you will increase or decrese the network load.</para>
1148</section>
897e919b
GB
1149<section><title>Default maplayer directory</title>
1150<para>This property sets the default directory of the tiles cache.
1151This value is used when you create a new map layer.
1152</para>
1153<para>You are still able to change this value in each map layer properties.</para>
1154</section>
4cdc9eb3
RN
1155<section><title>Map Cache Memory Size</title>
1156<para>This controls the amount of maps that are stored in memory, rather than having to reread from disk.
1157Generally if you have a system with lots of memory it's recommended to increase this value.
1158</para>
1159</section>
1160</section>
1161
73919102 1162<section id="prefs_external"><title>Export/External</title>
4cdc9eb3
RN
1163<section><title>KML Export Units</title>
1164<para>Allows setting the units used when saved as the KML file type, such as Metric or Statue units</para>
1165</section>
1166<section><title>Image Viewer (Not Windows)</title>
1167<para>Allows setting the program used to view images associated with Waypoints.</para>
73919102 1168<para>By default this is set to <application>xdg-open</application> which should open the system's default image viewer, however this can be overridden with this setting.</para>
4cdc9eb3
RN
1169<para>Note: for Windows systems, viewing images associated with Waypoints always uses the system's default image viewer.</para>
1170</section>
1171<section><title>External GPX programs</title>
1172<para>Allows setting the programs invoked via the TrackWaypoint Layer -> Export Layer -> Open With 'program'</para>
1173<para>Two options are given so that it can be configured for various uses such as:</para>
9d097bf5 1174<itemizedlist>
4cdc9eb3 1175<listitem><para>An OSM editor (default)</para></listitem>
4cdc9eb3 1176<listitem><para>Some other user defined program</para></listitem>
9d097bf5 1177</itemizedlist>
4cdc9eb3 1178</section>
6928e16b 1179</section>
4cdc9eb3
RN
1180
1181<section id="prefs_osm"><title>OpenStreetMap Traces</title>
1182<section><title>OSM Username + Password</title>
1183<para>Store your OSM details here, so that you don't need to enter it in every time in the <link linkend="osm_upload">Upload to OSM</link> procedure.</para>
9d097bf5
GB
1184<warning>
1185<para>
1186Your OSM password will be stored in plain text.
1187</para>
1188</warning>
4cdc9eb3
RN
1189</section>
1190</section>
1191
1192</section>
1193
1194<!-- HOWTOS-->
b088c7a0 1195<section><title>Howto's</title>
519414cf 1196<section id="howto_start"><title>Getting Started</title>
6928e16b 1197<para>
0ef60ec1 1198To quickly get started using &appname;, follow these instructions.
6928e16b
GB
1199</para>
1200<section><title>Go to an area of interest</title>
1201<para>
519414cf 1202&appname;'s default location is a Manhatten, New York, USA, so you may need to pick another place that interests you - such as where you live.
6928e16b 1203</para>
0ef60ec1
GB
1204<procedure>
1205<title>Method A</title>
1206<step>
6928e16b 1207<para>
519414cf 1208 Use the online location address/place search.
6928e16b 1209</para>
519414cf
RN
1210<para>
1211 Use the <guibutton>Go to Location</guibutton> toolbar button or from the menus
1212 <menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>.
1213 You can change the search location provider if desired.
1214 Enter the name of place you wish to go to (you may need to specify the country to refine the search).
1215 Also you can enter a post code or a ZIP code instead.
1216</para>
1217<note>
1218 <para>You will need an internet connection for this search to work</para>
1219</note>
0ef60ec1
GB
1220</step>
1221</procedure>
1222<procedure>
1223<title>Method B</title>
1224<step>
519414cf
RN
1225<para>
1226 If you know the coordinates of where you want to view:
1227</para>
1228<para>
1229Use <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.
1230</para>
1231</step>
1232</procedure>
1233<procedure>
1234<title>Method C</title>
1235<step>
7233fcb6
RN
1236<para>Use the GPS Layer or <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
1237to load data directly from your GPS into &appname;.
519414cf
RN
1238</para>
1239<para>You can specify the types of data to acquire: Tracks and/or Waypoints.
0ef60ec1 1240</para>
7233fcb6 1241<note>
519414cf
RN
1242<para>You must have write permission to the port used. For <trademark>Unix</trademark> like OS:</para>
1243<itemizedlist>
1244 <listitem><para>/dev/ttyS0 is the first serial port</para></listitem>
1245 <listitem><para>/dev/ttyUSB0 is the first USB port</para></listitem>
1246 <listitem><para>usb: is any USB port</para></listitem>
1247</itemizedlist>
1248<para>Depending on your distribution only one of the USB port types may work</para>
1249<para>For <trademark>Windows</trademark>:</para>
1250<itemizedlist>
1251 <listitem><para>com1: is the first serial port</para></listitem>
1252 <listitem><para>usb: is any USB port</para></listitem>
1253</itemizedlist>
1254</note>
1255<note>
1256 <para>The GPS devices supported are those supported by <application>GPSBabel</application>.</para>
1257 <para>Garmin and Magellan GPS devices supported by all versions, later versions of GPSBabel support more devices such as DeLorme and Navilink.</para>
7233fcb6 1258</note>
0ef60ec1
GB
1259</step>
1260</procedure>
1261<procedure>
519414cf 1262<title>Method D</title>
0ef60ec1 1263<step>
76b8a4e8
RN
1264<para>
1265Get data from files in GPX or KML format, which can be opened directly.
1266Use <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>
6928e16b
GB
1267</para>
1268<para>
76b8a4e8
RN
1269Other formats can be imported that are supported by GPSBabel.
1270<menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel...</guimenuitem></menuchoice>
6928e16b 1271</para>
0ef60ec1
GB
1272</step>
1273<step>
6928e16b 1274<para>
0ef60ec1 1275Expand Tracks or Waypoints. Right-click on the
7233fcb6 1276track or waypoint of interest and select <guimenuitem>Goto "Center"</guimenuitem>.
6928e16b 1277</para>
0ef60ec1
GB
1278</step>
1279</procedure>
6928e16b
GB
1280</section>
1281<section><title>Add a map layer</title>
1282<para>
12831. Use Layers - New Map Layer, and choose a suitable cache directory
0ef60ec1 1284where you would like to store your tracks and click <guilabel>OK</guilabel>. Zoom to a
6928e16b
GB
1285comfortable level (I suggest 4 mpp) by clicking the left and right
1286mouse buttons on the gray area where your tracks are. Now from the menu
1287choose Tools - Map Download, Click where you would like to download a
1288map. Regardless of what tool you are using, the middle mouse button
1289always pans. </para>
0ef60ec1 1290<note>
6928e16b 1291<para>
9ca89c29 1292You need an open internet connection when you are downloading maps.
6928e16b 1293</para>
0ef60ec1 1294</note>
6928e16b
GB
1295<para>
12961. You will notice the maps are being drawn on top of the tracks, which
1297is probably not what you want. Look at the Layers Panel to the left.
1298Notice how the layer named Map is ABOVE your TrackWaypoint layer that
1299your GPS data is in. This means that it will be drawn last, or on top
1300of the other layers. Select the Map layer from the list and click the
1301down arrow button beneath the list. Your tracks will now be drawn over
1302the map. </para>
519414cf 1303</section>
6928e16b 1304
519414cf
RN
1305<section><title>Set Your Home Location</title>
1306<para>
1307 You can save the current center position of the viewport as the default location AKA the Home Location by
1308 <menuchoice><guimenu>Edit</guimenu><guimenuitem>Set the Default Location</guimenuitem></menuchoice>.
1309</para>
1310<para>
1311 Then at any time you can return to this place by clicking on the <guibutton>Home</guibutton> icon on the toolbar.
1312</para>
1313<para>
1314 You can also set the default location via specifing the exact latitude and longitude in the <link linkend="prefs">Preferences</link>.
1315</para>
6928e16b
GB
1316</section>
1317
1318</section>
7233fcb6 1319<section><title>From 1st startup to GPS track (including offline maps)</title>
6928e16b 1320<para>
7233fcb6
RN
1321The first you'll see is an empty map, because &appname; in its default configuration will download maps only on demand.
1322Before 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 'Stuttgart'.
6928e16b 1323</para>
6928e16b
GB
1324<section><title>Fetching the maps</title>
1325<para>
0ef60ec1 1326<emphasis role="bold">Map</emphasis>
6928e16b 1327</para>
0ef60ec1 1328<procedure>
7233fcb6 1329<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82 1330<step><para>in the layer properties dialogue choose e.g. <guilabel>OpenStreetMap (Mapnik)</guilabel>.</para></step>
0ef60ec1 1331<step>
4502fc82
GB
1332<para>For the moment, we keep the default <guilabel>Maps Directory</guilabel> (the directory in
1333which the maps will be stored and can be used for offline usage).</para>
0ef60ec1
GB
1334</step>
1335<step>
1336<para>Check <guilabel>Autodownload maps</guilabel> and keep the zoom level as <guilabel>Use Viking
1337Zoom Level</guilabel>.</para>
1338<note>
1339<para>
1340however, that these settings will play an important
1341role in the pre-fetch for offline usage discussed later
1342</para>
1343</note>
1344</step>
1345</procedure>
6928e16b 1346<para>You'll see a map of Stuttgart. Using the mouse wheel, you can
73919102 1347zoom in and out. The maps for the choosen resolution will be downloaded
6928e16b
GB
1348automatically.
1349</para>
1350<para>
7233fcb6 1351<emphasis role="bold">DEM Layer (Height Map)</emphasis>
4502fc82 1352</para>
0ef60ec1 1353<procedure>
7233fcb6
RN
1354<step><para>Zoom out to 512.</para></step>
1355<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New DEM Layer</guimenuitem></menuchoice></para></step>
4502fc82 1356<step><para>Keep the download source as is (SRTM Global 90m), hit <guilabel>OK</guilabel>.</para></step>
0ef60ec1 1357</procedure>
4502fc82 1358
6928e16b
GB
1359<para>In the layer listing on the left, the DEM layer should reside
1360above the map layer. If this is not the case, highlight the DEM layer
0ef60ec1 1361an shift it one up (using the arrow up button).
4502fc82 1362</para>
0ef60ec1 1363<procedure>
4502fc82
GB
1364<step><para>highlight the DEM layer in the layer listing on the left</para></step>
1365<step><para>in the toolbar, check DEM layer download/import (the last symbol)</para></step>
1366<step><para>a left-click in the map window should then fetch the DEM data</para></step>
0ef60ec1 1367</procedure>
0ef60ec1 1368<para>
7233fcb6 1369This might take some time.
6928e16b
GB
1370</para>
1371<para>
1372Sometimes, a tile does not show up correctly (you might see only a
1373black frame in the map window) because it got corrupted during
0ef60ec1 1374transfer. In order to correct this, you can delete the corresponding
7233fcb6 1375datafile in the cache. <programlisting> right-click the DEM layer properties</programlisting>
6928e16b
GB
1376</para>
1377<para>
0ef60ec1 1378The <guilabel>DEM Files</guilabel> listing allows you to delete the specific tiles (alternatively do this from the command line).
6928e16b
GB
1379</para>
1380<para>
0ef60ec1 1381You can also alter the Min. and Max. elevation in this dialogue.
6928e16b
GB
1382</para>
1383
1384</section>
7233fcb6 1385<section><title>GPS Track with Height Profile</title>
0ef60ec1 1386<procedure>
73919102 1387<step><para>Uncheck the DEM layer (the map is shown again)</para></step>
7233fcb6 1388<step>
73919102
RN
1389 <para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New TrackWaypoint Layer</guimenuitem></menuchoice></para>
1390 <para>Ensure the new track layer is above the map layer.</para>
1391</step>
1392<step><para>Expand the TrackWaypoint layer, select <guimenuitem>Tracks</guimenuitem></para></step>
1393<step><para>In the tools menu choose <guiicon><inlinegraphic fileref="figures/begintr_18.png"/></guiicon> <guibutton>Begin Track</guibutton>
7233fcb6 1394</para></step>
73919102
RN
1395<step><para>Leftclick in the map window, enter a name</para></step>
1396<step>
1397 <para>Click several times to generate a track (a right-click removes the last point).</para>
1398 <para>Height data is set automatically since DEM data is available</para>
1399</step>
1400<step><para>Expand tracks in the layer menu, your track should show up, select it</para></step>
1401<step><para>Right click your track, select <guimenuitem>Properties</guimenuitem></para></step>
1402<step><para>Click the tab <guilabel>Elevation-distance</guilabel> - enjoy the plot</para></step>
0ef60ec1 1403</procedure>
6928e16b 1404<para>
0ef60ec1 1405In order to save this setting for later usage
4502fc82 1406</para>
0ef60ec1 1407<procedure>
7233fcb6
RN
1408<step><para>click <guilabel>OK</guilabel> in the <guilabel>Track Properties</guilabel> dialog</para></step>
1409<step><para><menuchoice><guimenu>File</guimenu><guimenuitem>Save As</guimenuitem></menuchoice>, choose a name (you can open this <emphasis>view</emphasis> later via <menuchoice><guimenu>file</guimenu><guimenuitem>Open</guimenuitem></menuchoice>).</para></step>
0ef60ec1 1410</procedure>
6928e16b
GB
1411
1412</section>
1413<section><title>Usecase: offline data for holiday</title>
1414<para>
0ef60ec1
GB
1415Suppose you want to have the map and DEM data offline for your holiday in Italy near Bologna.
1416</para>
1417<procedure>
7233fcb6
RN
1418<step><para>Start a new &appname; session.</para></step>
1419<step><para><menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter Bologna</para></step>
1420<step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
4502fc82
GB
1421<step><para>Choose e.g. <guilabel>OpenStreetMap (mapnik)</guilabel>.</para></step>
1422<step><para>adapt the <guilabel>maps directory</guilabel> e.g. to <filename>/home/user/.viking-map-holiday/</filename>.
0ef60ec1 1423This allows you to delete the map stuff after holiday without purging the rest of your maps.
4502fc82
GB
1424</para></step>
1425<step><para>check <guilabel>autodownload map</guilabel></para></step>
1426<step><para>keep <guilabel>viking zoom level</guilabel></para></step>
7233fcb6 1427<step><para>zoom out to 1024</para></step>
4502fc82
GB
1428<step><para>add a DEM layer (as discussed above)</para></step>
1429<step><para>download the DEM data</para></step>
0ef60ec1
GB
1430</procedure>
1431<para>In the &app; version discussed here, the DEM data automatically
1432are stored in <filename>/home/user/.viking-maps/</filename>. You can move the corresponding
1433tiles into <filename>.viking-map-holiday/</filename> if you like.
1434</para>
1435<para>
1436<emphasis role="bold">Download map data for all zoom levels</emphasis>
1437</para>
1438<procedure>
4502fc82
GB
1439<step><para>uncheck the DEM layer for the map to show up</para></step>
1440<step><para>navigate the map to be centered at Bologna</para></step>
7233fcb6 1441<step><para>choose the zoom such, that all regions of interest are displayed in the map window (e.g. 1024)</para></step>
0ef60ec1
GB
1442<step>
1443<para>follow this sequence until you have all tiles for all zoom levels you need</para>
1444<substeps>
7233fcb6 1445<step><para>right-click the map layer properties</para></step>
4502fc82 1446<step><para>set the zoomlevel explicitely one below the last (in the first cycle 512), hit OK</para></step>
7233fcb6
RN
1447<step><para>right click the map layer <guimenuitem>Download Missing Onscreen Maps</guimenuitem></para></step>
1448<step><para>wait until all tiles for that resolution have been downloaded</para></step>
0ef60ec1
GB
1449</substeps>
1450</step>
1451</procedure>
73919102 1452<para>This may take some time and some hard disk capacity.</para>
6928e16b
GB
1453<para>
1454Do not forget to save your configuration (as discussed above).
1455</para>
1456
1457</section>
1458
1459</section>
9c4555df
GB
1460<section><title>OpenStreetMap project</title>
1461<para>
1462<ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> is a collaborative project to create a free editable map of the world.
1463One of sources of data for this project is GPS tracks.
1464&appname; supports this project via the GPS Traces methods, both uploading and downloading such data.
1465</para>
6928e16b
GB
1466<section><title>Uploading data to OpenStreetMap</title>
1467<para>
7233fcb6 1468It is possible to upload data directly from &appname; to OpenStreetMap.
6928e16b 1469</para>
0ef60ec1
GB
1470<formalpara>
1471<title>Upload a layer</title>
6928e16b
GB
1472<para>
1473One solution is to upload whole a TrackWaypoint layer. To do this,
0ef60ec1
GB
1474simply select the layer and right click on it. Then, select <guimenuitem>Upload to
1475OSM</guimenuitem>.
6928e16b 1476</para>
0ef60ec1
GB
1477</formalpara>
1478<formalpara>
1479<title>Upload a single track</title>
6928e16b
GB
1480<para>One solution is to upload whole a TrackWaypoint layer. To do
1481this, simply select the layer and right click on it. Then, select
0ef60ec1 1482<guimenuitem>Upload to OSM</guimenuitem>.
6928e16b 1483</para>
0ef60ec1
GB
1484</formalpara>
1485<formalpara>
1486<title>Fill in the form</title>
6928e16b 1487<para>
7233fcb6 1488In both cases, &appname; will retain some information.
3e8e3227 1489The email field is the email you used to subscribed into OpenStreetMap.
6928e16b 1490The password field is the password you used with this account.
6928e16b 1491The filename is the name you want your upload has on the server. This information is displayed by the osm server.
6928e16b 1492The description is some descriptive information.
0ef60ec1
GB
1493The tags field is a white separated list of tag.
1494</para>
1495</formalpara>
6928e16b 1496</section>
9c4555df
GB
1497<section><title>Downloading traces from OpenStreetMap</title>
1498<para>
1499It is possible to download GPS traces directly from OpenStreetMap into &appname;.
1500This feature can be really useful for checking existing data before uploading new ones.
1501</para>
1502<formalpara>
1503<title>Download all visible tracks</title>
1504<para>One solution is to select
1505<menuchoice>
1506<guimenu>File</guimenu>
1507<guisubmenu>Acquire</guisubmenu>
1508<guimenuitem>OSM traces...</guimenuitem>
1509</menuchoice>.
1510Each request can get up to 5,000 points.
1511The dialog box allows setting which group of 5,000 points to get. These groups are known as 'Page Numbers' which start at 0.
1512Increasing the page number parameter allows one to request the subsequent sets of point groups.
1513See <ulink url="http://wiki.openstreetmap.org/wiki/API_v0.6#GPS_Traces"/> for further detail.
1514</para>
1515</formalpara>
1516</section>
1517</section>
1518
269865aa
RN
1519<section><title>Geotagging</title>
1520<para>
1521 This assumes you already have a map layer enabled for ease of use (if not see above to get one).
1522</para>
1523<section><title>Manual Positioning</title>
1524<para>
1525 This is useful for instances when you already know exactly where the image was taken (no need for tracklog).
1526 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.
1527 ATM this process only works on an individual image, so it will be tedious for handling lots of images.
1528</para>
1529<para>
1530 First create a Track Waypoint layer or use an existing one; and select it in the Layers Panel.
1531 NB Make sure this layer is above the map layer in the Layers Panel list.
1532 Create a new waypoint (or move an existing one) to exact location desired:
1533<itemizedlist>
1534 <listitem><para>Select the New Waypoint 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>
1535 <listitem><para>Select the <link linkend="select">Select Tool</link>, then left click on waypoint to be moved. Left click again and drag the waypoint to the location desired</para></listitem>
1536</itemizedlist>
1537 Then using the Select tool left click on waypoint to select it, then right click to access the Waypoint properties menu, then choose
1538 <menuchoice><guimenu>Update Geotag on Image</guimenu><guisubmenu>Update</guisubmenu></menuchoice>
1539</para>
1540<para>
1541 The <guilabel>Update Geotag on Image</guilabel> options are only available when a waypoint has an image associated with it.
1542</para>
1543</section>
1544
1545<section><title>Automatic Positioning Against a Tracklog</title>
1546<para>
1547 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 -
1548 see <link linkend="howto_start">Getting Started</link>.
1549 It helps if this is the track that was recorded at the time you took some photographs!
1550</para>
1551<para>
1552 Select the track either from the layers panel on the left or via the viewport using the <link linkend="select">Select Tool</link>.
1553 Then right click on it and chose the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> leading you to the <link linkend="geotagging">Geotagging Dialog</link>.
1554</para>
1555<para>
1556 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.
1557 If things are succesful, new waypoints with thumbnail images of the photographs will appear.
1558 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.
1559</para>
1560<formalpara><title>Option: Overwrite Waypoints</title>
1561<para>
1562 This is particularly useful when one finds an attempt at geotagging gives wrong locations, often due to time offset issues.
1563 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).
1564</para>
1565</formalpara>
1566<para>
1567 If you have multiple tracks in a TrackWaypoint layer, then invoking the <menuchoice><guimenu>Geotag Images...</guimenu></menuchoice> action on the layer
1568 will search all the tracks to find location matches.
1569</para>
1570</section>
1571</section>
1572
9eada844
RN
1573<section><title>GPS Real Time Location (Not <trademark>Windows</trademark>)</title>
1574<para>
1575 &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.
1576 Unfortunately <application>gpsd</application> is not available on <trademark>Windows</trademark>,
1577 so currently this functionality is disabled in <trademark>Windows</trademark> builds of &appname;
1578</para>
1579<para>
1580 This assumes you already have a map layer enabled for ease of use (if not see above to get one).
1581</para>
1582<para>
1583 Turn on the GPS Device, ensure it has figured out it's location and plug it in to your computer.
1584</para>
1585<section><title>Set Up GPS Layer</title>
1586<para>
1587 You will need a <link linkend="gps_layer">GPS Layer</link>. One can be added via <menuchoice><guimenu>Layers</guimenu><guisubmenu>Add GPS Layer</guisubmenu></menuchoice>.
1588</para>
1589<para>
1590 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.
1591</para>
1592<para>
1593 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.
1594</para>
1595<para>
1596 Then right-click the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
1597 Hopefully the viewport should jump to the GPS location.
1598</para>
1599<para>
1600 Troubleshooting checklist:
1601</para>
1602<procedure><step><para>Confirm <application>gpsd</application> is running.</para></step></procedure>
1603<procedure><step><para>Confirm on the GPS device it has a location.</para></step></procedure>
1604<procedure><step><para>Confirm the <emphasis>Realtime Tracking Mode</emphasis> settings.</para></step></procedure>
1605</section>
1606</section>
1607
f1b908b1 1608<section id="extend_viking">
ba322d06
GB
1609 <title>Extending Viking</title>
1610
1611 <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>
1612 <para>Here is an example:
1613<programlisting><![CDATA[
1614<objects>
1615 <object class="ClassName">
1616 <property name="property_name1">Property value</property>
1617 <property name="property_name2">Property value</property>
1618 </object>
1619 ...
1620<objects>
1621]]>
1622</programlisting>
1623</para>
1624 <para>You can find more examples in the documentation part of the distribution.</para>
4502fc82 1625 <section>
ba322d06 1626 <title>Map Source</title>
8ee1f484 1627 <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename> for <trademark>UNIX</trademark> like systems and <filename>C:\Documents and Settings\<replaceable>username</replaceable>\.viking\maps.xml</filename> on <trademark>Windows XP</trademark>.</para>
f1b908b1
RN
1628 <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>
1629
90f15672 1630 <para>The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties:
ba322d06
GB
1631 <variablelist>
1632 <varlistentry>
1633 <term>id</term>
1634 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1635 </varlistentry>
1636 <varlistentry>
1637 <term>label</term>
1638 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1639 </varlistentry>
1640 <varlistentry>
1641 <term>hostname</term>
1642 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1643 </varlistentry>
1644 <varlistentry>
1645 <term>url</term>
1646 <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>
1647 </varlistentry>
1648 </variablelist>
1649 </para>
1b6659bd
GB
1650 <para>The VikTmsMapSource allows to declare any TMS service. It supports the following properties:
1651 <variablelist>
1652 <varlistentry>
1653 <term>id</term>
1654 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1655 </varlistentry>
1656 <varlistentry>
1657 <term>label</term>
1658 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1659 </varlistentry>
1660 <varlistentry>
1661 <term>hostname</term>
1662 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1663 </varlistentry>
1664 <varlistentry>
1665 <term>url</term>
1666 <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>
1667 </varlistentry>
1668 </variablelist>
1669 </para>
90f15672
GB
1670 <para>The VikWmscMapSource allows to declare any WMS or WMS-C service. It supports the following properties:
1671 <variablelist>
1672 <varlistentry>
1673 <term>id</term>
1674 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1675 </varlistentry>
1676 <varlistentry>
1677 <term>label</term>
1678 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1679 </varlistentry>
1680 <varlistentry>
1681 <term>hostname</term>
1682 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1683 </varlistentry>
1684 <varlistentry>
1685 <term>url</term>
1686 <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>
1687 </varlistentry>
1688 </variablelist>
1689 </para>
4502fc82 1690 </section>
ba322d06 1691
4502fc82 1692 <section>
ba322d06
GB
1693 <title>Go-to search engines</title>
1694 <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>
1695 <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
1696 <para>Currently, there is a single object class available: VikGotoXmlTool. Such feature allows to declare any search engine using a XML format as result.</para>
1697 <para>The related properties are:
1698 <variablelist>
1699 <varlistentry>
1700 <term>label</term>
1701 <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
1702 </varlistentry>
1703 <varlistentry>
1704 <term>url-format</term>
1705 <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>
1706 </varlistentry>
1707 <varlistentry>
1708 <term>lat-path</term>
1709 <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1710 </varlistentry>
1711 <varlistentry>
1712 <term>lat-attr (optional)</term>
1713 <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
1714 </varlistentry>
1715 <varlistentry>
1716 <term>lon-path</term>
1717 <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1718 </varlistentry>
1719 <varlistentry>
1720 <term>lon-attr (optional)</term>
1721 <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
1722 </varlistentry>
1723 </variablelist>
1724 </para>
1725 <para>As a facility (or readability) it is possible to set both path and attribute name in a single property, like an XPath expression. To do so, simply set both info in lat-path (or lon-path) in the following format: <literal>/root/parent/elem@attribute</literal>.</para>
4502fc82 1726 </section>
ba322d06 1727
4502fc82 1728 <section>
29f1598c 1729 <title>External tools</title>
ba322d06
GB
1730 <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
1731 <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
3bdd680c 1732 <para>The VikWebtoolCenter allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
ba322d06
GB
1733 <para>The related properties are:
1734 <variablelist>
1735 <varlistentry>
1736 <term>id</term>
1737 <listitem><para>this is an integer and should be unique as it used to identify the tool</para></listitem>
1738 </varlistentry>
1739 <varlistentry>
1740 <term>label</term>
1741 <listitem><para>the text displayed in the menu entry</para></listitem>
1742 </varlistentry>
1743 <varlistentry>
1744 <term>url</term>
3bdd680c
GB
1745 <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>
1746 </varlistentry>
1747 </variablelist>
1748 </para>
1749 <para>The VikWebtoolBounds allows to declare any Webtool using a logic based on bounds coordinates.</para>
1750 <para>The related properties are:
1751 <variablelist>
1752 <varlistentry>
1753 <term>id</term>
1754 <listitem><para>this is an integer and should be unique as it used to identify the tool</para></listitem>
1755 </varlistentry>
1756 <varlistentry>
1757 <term>label</term>
1758 <listitem><para>the text displayed in the menu entry</para></listitem>
1759 </varlistentry>
1760 <varlistentry>
1761 <term>url</term>
1762 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for left, right, bottom and top (eg. "http://hostname:8111/load_and_zoom?left=%s&amp;right=%s&amp;bottom=%s&amp;top=%s")</para></listitem>
ba322d06
GB
1763 </varlistentry>
1764 </variablelist>
1765 </para>
4502fc82 1766 </section>
29f1598c
GB
1767
1768 <section>
1769 <title>More</title>
1770 <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>) are also searched in <filename>/etc/viking</filename> and <filename>/usr/share/viking</filename> directories (or related in your system).</para>
1771 <para>The <envar>XDG_DATA_DIRS</envar> environment variable can be used to change these directories.</para>
1772 <para>The <envar>XDG_DATA_HOME</envar> environment variable s also used (if set) to look for these extension files.</para>
1773 </section>
ba322d06
GB
1774
1775</section>
1776
7233fcb6
RN
1777<section><title>What to Do if &appname; Does Not Seem to Work</title>
1778<para>
1779In order to get some information about what &appname; is doing, start it in verbose debug mode via the command line:
1780<programlisting>viking -dV</programlisting>
1781</para>
1782<para>
1783For instance you can check the correct URLs &appname; is using in requesting remote data for DEMs or map tiles in the verbose debug output.
1784E.g. Something like this for DEMs:
1785<screen>
1786** (viking:28778): DEBUG: curl_download_uri: uri=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip
1787* About to connect() to dds.cr.usgs.gov port 80 (#0)
1788* Trying 152.61.128.95... * connected
1789* Connected to dds.cr.usgs.gov (152.61.128.95) port 80 (#0)
1790 GET /srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip HTTP/1.1
1791User-Agent: viking/0.9.8 libcurl/7.18.2 GnuTLS/2.4.2 zlib/1.2.3.3 libidn/1.8
1792Host: dds.cr.usgs.gov
1793Accept: */*
1794 HTTP/1.1 200 OK
1795 Date: Sun, 26 Jul 2009 18:13:38 GMT
1796 Server: Apache
1797 Last-Modified: Tue, 21 Jul 2009 19:57:35 GMT
1798 ETag: eac3f8-1828f5-46f3caa76070a
1799 Accept-Ranges: bytes
1800 Content-Length: 1583349
1801 Content-Type: application/zip
1802
1803* Connection #0 to host dds.cr.usgs.gov left intact
1804* Closing connection #0
1805** (viking:28778): DEBUG: dem_layer_add_file: /home/username/.viking-maps/srtm3-Eurasia/N48E008.hgt.zip
1806</screen>
1807Or for OSM Mapnik tile server:
1808<screen>
1809* About to connect() to tile.openstreetmap.org port 80 (#0)
1810* Trying 193.63.75.28... * connected
1811* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1812 GET /13/4065/2748.png HTTP/1.1
1813User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1814Host: tile.openstreetmap.org
1815Accept: */*
1816
1817* HTTP 1.0, assume close after body
1818 HTTP/1.0 200 OK
1819 Date: Thu, 14 Oct 2010 22:18:42 GMT
1820 Server: Apache/2.2.8 (Ubuntu)
1821 ETag: "b66ff9d46474bab68262a3483428a232"
1822** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "b66ff9d46474bab68262a3483428a232"
1823 Content-Length: 17194
1824 Cache-Control: max-age=94805
1825 Expires: Sat, 16 Oct 2010 00:38:47 GMT
1826 Content-Type: image/png
1827 Age: 5153
1828 X-Cache: HIT from konqi.openstreetmap.org
1829 X-Cache-Lookup: HIT from konqi.openstreetmap.org:3128
1830 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1831 Connection: close
1832
1833* Closing connection #0
1834* About to connect() to a.andy.sandbox.cloudmade.com port 80 (#0)
1835* Trying 178.63.75.195... ** (viking:16704): DEBUG: curl_download_uri: uri=http://tile.openstreetmap.org/13/4065/2749.png
1836* About to connect() to tile.openstreetmap.org port 80 (#0)
1837* Trying 193.63.75.28... * connected
1838* Connected to a.andy.sandbox.cloudmade.com (178.63.75.195) port 80 (#0)
1839 GET /tiles/cycle/13/4065/2747.png HTTP/1.1
1840User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1841Host: a.andy.sandbox.cloudmade.com
1842Accept: */*
1843
1844* connected
1845* Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1846 GET /13/4065/2749.png HTTP/1.1
1847User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1848Host: tile.openstreetmap.org
1849Accept: */*
1850
1851* HTTP 1.0, assume close after body
1852 HTTP/1.0 200 OK
1853 Date: Thu, 14 Oct 2010 23:44:35 GMT
1854 Server: Apache/2.2.8 (Ubuntu)
1855 ETag: "8e520ad47ce9c1b63430554886eb5fab"
1856** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "8e520ad47ce9c1b63430554886eb5fab"
1857 Content-Length: 18094
1858 Cache-Control: max-age=87742
1859 Expires: Sat, 16 Oct 2010 00:06:57 GMT
1860 Content-Type: image/png
1861 X-Cache: MISS from konqi.openstreetmap.org
1862 X-Cache-Lookup: MISS from konqi.openstreetmap.org:3128
1863 Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1864 Connection: close
1865</screen>
1866</para>
1867</section>
1868
6928e16b 1869</section>
f8b8a0b5 1870
12227063
GB
1871<section><title>Dependencies</title>
1872<formalpara><title>gpsbabel</title>
1873<para>&appname; uses <ulink url="http://gpsbabel.org/">GPSBabel</ulink> to convert data.</para>
1874</formalpara>
1875<formalpara><title>unbuffer (optional)</title>
1876<para>&appname; uses unbuffer command to optimize conversion calls.</para>
1877</formalpara>
73919102
RN
1878<formalpara><title>gpsd (optional - but not <trademark>Windows</trademark>)</title>
1879<para>&appname; can use <ulink url="http://www.catb.org/gpsd/">gpsd</ulink> to get the current location.</para>
1880</formalpara>
12227063
GB
1881</section>
1882
f8b8a0b5 1883</article>