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