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