]> git.street.me.uk Git - andy/viking.git/blob - help/C/viking.xml
Merge branch 'ExternalOptions'
[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.2">
7   <!ENTITY manrevision  "0.2">
8   <!ENTITY date "June 2011">
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>2009</year>
28       <holder>Guilhem Bonnefille</holder>
29     </copyright>
30
31     <!-- An address can be added to the publisher information. -->
32     <publisher role="maintainer">
33       <publishername>GNOME Documentation Project</publishername>
34     </publisher>
35
36     <xi:include href="legal.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
37     <!-- The file legal.xml contains link to license for the documentation,
38         and other legal stuff such as "NO WARRANTY" statement.
39         Please do not change any of this. -->
40
41     <authorgroup>
42       <author>
43         <firstname>Guilhem</firstname>
44         <surname>Bonnefille</surname>
45       </author>
46       <author>
47         <firstname>Rob</firstname>
48         <surname>Norris</surname>
49       </author>
50       <!-- Contributors from the Wiki history -->
51       <author>
52         <firstname>username:</firstname>
53         <surname>Alexxy</surname>
54       </author>
55       <author>
56         <firstname>username:</firstname>
57         <surname>Vikingis</surname>
58       </author>
59       <author>
60         <firstname>username:</firstname>
61         <surname>Tallguy</surname>
62       </author>
63       <author>
64         <firstname>username:</firstname>
65         <surname>EliotB</surname>
66       </author>
67       <author>
68         <firstname>Alex</firstname>
69         <surname>Foobarian</surname>
70       </author>
71       <!-- END -->
72     </authorgroup>
73
74     <revhistory>
75       <revision>
76         <revnumber>&appname; Manual V&manrevision;</revnumber>
77         <date>&date;</date>
78         <revdescription>
79           <para role="author">Guilhem Bonnefille <email>guilhem.bonnefille@gmail.com</email></para>
80           <para role="publisher">GNOME Documentation Project</para>
81         </revdescription>
82       </revision>
83     </revhistory>
84
85     <releaseinfo>This manual describes version &appversion; of &appname;.</releaseinfo>
86
87     <legalnotice>
88       <title>Feedback</title>
89       <para>To report a bug or make a suggestion regarding the &app; application or
90       this manual, follow the directions in the
91       <ulink url="ghelp:user-guide?feedback-bugs" type="help">Feedback section of the GNOME User Guide</ulink>.
92       </para>
93     </legalnotice>
94   </articleinfo>
95
96   <indexterm zone="index">
97     <primary>&app;</primary>
98   </indexterm>
99 <!-- ============= Document Body ============================= -->
100 <section id="introduction">
101   <title>Introduction</title>
102 <para>
103 &appname; aims to be easy to use, yet powerful in accomplishing a wide
104 variety of tasks. Some of the things you can use &appname; for are:
105 </para>
106 <itemizedlist mark="opencircle"><listitem>
107 <para>
108 Uploading and downloading waypoints, tracks to/from GPS.
109 </para>
110 </listitem>
111 <listitem>
112 <para>Preparing tracks and waypoints for trips using maps from services
113 such as OpenStreetMap (OSM) and/or Terrasever. The data is only needed to be uploaded to
114 your GPS before you leave. The maps together with your tracks and
115 waypoints can also be printed and used during the trip.
116 </para>
117 </listitem>
118 <listitem>
119 <para>
120 After trips, tracks and waypoints from GPS can be downloaded, stored, managed and reused in your (or your friends') later trips.
121 </para>
122 </listitem>
123 <listitem>
124 <para>
125 Analyzing Off Highway Vehicle (OHV) and hiking trips, understanding where you went and how far you were from something.
126 </para>
127 </listitem>
128 <listitem>
129 <para>Making waypoints and tracks to follow to easily get someplace
130 you've never been before or don't have GPS data for but online
131 maps exist for it.
132 </para>
133 </listitem>
134 <listitem>
135 <para>
136 Making maps with coordinate lines.
137 </para>
138 </listitem>
139 <listitem>
140 <para>
141 Grouping data from multiple trips using a hierarchical data manager.
142 </para>
143 </listitem>
144 <listitem>
145 <para>
146 Analyzing speed at different places (to some degree), adding waypoints where you forgot to mark one but did slow down or stop.
147 </para>
148 </listitem>
149 <listitem>
150 <para>
151 Downloading and storing OpenStreetMap and/or Terraserver maps on your hard drive and looking at them later.
152 </para>
153 </listitem>
154 <listitem>
155 <para>
156 Editing tracks and trackpoints, joining and splitting up tracks 
157 </para>
158 </listitem>
159 <listitem>
160 <para>
161 Show the live GPS position on the map (for use on a mobile device - e.g. a laptop)
162 </para>
163 </listitem>
164 <listitem>
165 <para>
166 Import track+waypoint files of various types via GPSBabel
167 </para>
168 </listitem>
169 </itemizedlist>
170 <note>
171 <para>
172 &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>:
173 </para>
174 </note>
175 </section>
176
177 <section><title>General Concepts</title>
178 <section><title>Layers</title>
179 <para>
180 'Layers' is concept one may know from powerful graphics editors such as Photoshop or GIMP.
181 Instead of putting all the data on the same level, it is stacked (i.e. layered) with different data over one another.
182 This can make useful for analysis and general handling of various sets of data.
183 </para>
184 <para>
185 Unfortunately the downside of this complexity is remembering how differing layers of data can obscure other data.
186 </para>
187 <para>
188 The Map layers have <ulink url="http://en.wikipedia.org/wiki/Alpha_compositing"><citetitle>Alpha Compositing</citetitle></ulink>,
189 to create the appearance of partial transparency.
190 By controlling this value one can see data below it in the layer heirarchy for interesting effects.
191 </para>
192 </section>
193 <section><title>Layers Panel</title>
194 <para>
195 The panel on the left is called the <emphasis role="bold">layers panel</emphasis>.
196 It determines which layers and sublayers (such as tracks and waypoints)
197 are shown, and the order in which they are drawn. Layers list on the
198 top of the layers panel are drawn last. You can change the order by
199 drag and drop, or by selecting a layer and using the up and down
200 buttons at the bottom of the layers panel.
201 </para>
202 </section>
203 <section><title>Viewport</title>
204 <para>
205 The main &appname; area where the layer data is drawn, is called the <emphasis role="bold">viewport</emphasis>.
206 </para>
207 </section>
208 <section><title>Statusbar</title>
209 <para>This provides a readout of various information:</para>
210 <itemizedlist>
211 <listitem><para>The currently selected (mouse pointer) tool</para></listitem>
212 <listitem><para>The number of items to process in the background - normally this the number in the map tile download queue</para></listitem>
213 <listitem><para>The zoom factor</para></listitem>
214 <listitem><para>The location of the mouse pointer (and potentially height information if DEM data is available)</para></listitem>
215 </itemizedlist>
216 </section>
217
218 <section><title>Projections</title>
219 <para>
220 &appname; supports differents projections:
221 <itemizedlist>
222 <listitem>
223 <para>UTM</para>
224 </listitem>
225 <listitem>
226 <para>LatLon (also called EPSG:4326)</para>
227 </listitem>
228 <listitem>
229 <para>Mercator (also called Spherical Mercator)</para>
230 </listitem>
231 </itemizedlist>
232 </para>
233 </section>
234 </section>
235
236 <section><title>Layers</title>
237
238 <para>
239 Layers supported by &appname; are:
240 </para>
241 <itemizedlist>
242 <listitem><para>Aggregate</para></listitem>
243 <listitem><para>TrackWaypoint</para></listitem>
244 <listitem><para>GPS</para></listitem>
245 <listitem><para>DEM</para></listitem>
246 <listitem><para>Coord</para></listitem>
247 <listitem><para>Map</para></listitem>
248 <listitem><para>GeoRef</para></listitem>
249 </itemizedlist>
250 <para>
251 For each layer there are a few standard options:
252 </para>
253 <itemizedlist>
254 <listitem><para>Properties - Layer setup / configuration settings</para></listitem>
255 <listitem><para>Cut</para></listitem>
256 <listitem><para>Copy</para></listitem>
257 <listitem><para>Paste</para></listitem>
258 <listitem><para>Delete</para></listitem>
259 <listitem><para>Visibility - This checkbox on the Layers Panel controls whether the layer is shown in the viewport or not</para></listitem>
260 </itemizedlist>
261 <para>
262 The cut/copy/paste options can be accessed in a variety of ways once the layer has been selected:
263 </para>
264 <itemizedlist>
265 <listitem><para>Standard keys: <keycap>Ctrl+x|c|v</keycap></para></listitem>
266 <listitem><para>Main menu <guimenuitem>Edit</guimenuitem></para></listitem>
267 <listitem><para>From the right click menu</para></listitem>
268 <listitem><para>Buttons at the bottom of the Layers Panel</para></listitem>
269 </itemizedlist>
270 <para>
271 See the individual section for detail about each layer.
272 </para>
273
274 <section><title>TrackWaypoint Layer</title>
275 <para>
276 TrackWaypoint layers display GPS data (tracks and waypoints).
277 </para>
278 <para>One way to create new waypoints is to copy a
279 latitude/longitude coordinate pair, such as the one shown on most
280 geocaches, and paste it into an active TrackWaypoint layer. &appname; can
281 automatically recognize several variations of the lat/lon format.
282 </para>
283 <para>
284 By right-clicking tracks and waypoints in the layers panel, you can do
285 many things with tracks and waypoints. You can easily find a specific
286 track or waypoint by expanding the Tracks or Waypoints sublayers in the
287 layers panel to show all tracks or waypoints, and typing the name of
288 the track/waypoint.
289 </para>
290
291 <section><title>Layer Operations</title>
292 <para>
293 The layer has a context menu with several operations.
294 </para>
295
296 <section><title>View Layer</title>
297 <para>
298 Version1.1+: This will automatically move the viewport and select the best zoom level to see the whole layer (i.e. tracks and waypoints).
299 </para>
300 </section>
301
302 <section><title>View All Tracks</title>
303 <para>
304 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).
305 </para>
306 </section>
307
308 <section><title>View All Waypoints</title>
309 <para>
310 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).
311 </para>
312 </section>
313
314 <section><title>Goto Center of Layer</title>
315 <para>
316 This will automatically move the viewport to see the whole layer (i.e. tracks and waypoints). It does not adjust the zoom level.
317 </para>
318 </section>
319
320 <section><title>Goto Waypoint</title>
321 <para>
322 This opens a dialog box to enter a name of waypoint to search for. If it is found the viewport is centred on it.
323 </para>
324 <note>
325 <para>
326 Note this search is not very clever and only finds exact matches.
327 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.
328 </para>
329 </note>
330 </section>
331
332 <section><title>Export Layer</title>
333 <para>
334 The layer (all tracks and waypoints) can be exported to a file GPX, GPSPoint, GPSMapper or Google's KML format.
335 </para>
336 <para>
337 Version1.1+: An individual track can be exported to a GPX file via the track menu.
338 </para>
339 </section>
340
341 <section id="new_wp"><title>New Waypoint</title>
342 <para>
343 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.
344 </para>
345 </section>
346
347 <section><title>Add Wikipedia Waypoints</title>
348 <para>
349 This gets 'interesting' points from Wikipedia for the specified view: either within the extent of layer bounds or within the current viewport boundary.
350 </para>
351 </section>
352
353 <section id="osm_upload"><title>Upload To OSM</title>
354 <para>
355 This opens a dialog to upload all tracks and waypoints to <ulink url="http://openstreetmap.org/">OpenStreetMap</ulink> traces.
356 Useful if you are an OpenStreetMap contributor (you will need an OpenStreetMap account), these details can be stored in &appname; preferences.
357 </para>
358 <para>
359  &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.
360 </para>
361 <note>
362 <para>
363  <emphasis role="bold">Warning!</emphasis>
364 The password is transferred <emphasis role="bold">unencrypted</emphasis> in every request sent to the OpenStreetMap server. This is due to OpenStreetMap's basic authentication method.
365 </para>
366 </note>
367 </section>
368
369 <section><title>Filter</title>
370 <section><title>Simplify All Tracks</title>
371 <para>
372 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.
373 </para>
374 </section>
375 <section><title>Remove Duplicate Waypoints</title>
376 <para>
377 Remove Duplicate Waypoints - fairly self explainatory, with the results created in a new layer.
378 </para>
379 <note>
380 <para>
381 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.
382 </para>
383 </note>
384 </section>
385 </section>
386
387 <section id="filter_with_track"><title>Filter With <emphasis>Trackname</emphasis></title>
388 <para>
389 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:
390 </para>
391 <itemizedlist>
392 <listitem><para>Waypoints Inside This</para></listitem>
393 <listitem><para>Waypoints Outside This</para></listitem>
394 </itemizedlist>
395 <para>
396 The result is generated in a new Track/Waypoint layer.
397 </para>
398 </section>
399
400 </section><!-- End TRW Layer Options -->
401
402 <section><title>Track Properties</title>
403 <para>
404 Show many useful statistics about a track, including a
405 elevation-distance graph and a speed-time graph (if data is available).
406 You can click these graphs to jump to the point in the track. You can
407 also reverse a track, delete duplicates, and split a track from its
408 component segments (discontinuous breaks in a track) into separate
409 tracks.
410 </para>
411 <para>
412 The following colors are used in the elevation-distance graph:
413 </para>
414 <variablelist>
415 <varlistentry>
416 <term>'Main' colour - this is dependent on your Desktop theme - often blue by default</term>
417 <listitem><para>elevation data in graph</para></listitem>
418 </varlistentry>
419 <varlistentry>
420 <term>Yellow</term>
421 <listitem>
422 <para>no elevation data</para>
423 </listitem>
424 </varlistentry>
425 <varlistentry>
426 <term>Green</term>
427 <listitem>
428 <para>elevation data from DEM</para>
429 </listitem>
430 </varlistentry>
431 <varlistentry>
432 <term>Red</term>
433 <listitem>
434 <para>speed</para>
435 </listitem>
436 </varlistentry>
437 </variablelist>
438
439 </section>
440
441 <section><title>Track Operations</title>
442
443 <section><title>Goto</title>
444 <para>
445 This centers the viewport on the selected position on the track:
446 </para>
447 <itemizedlist>
448 <listitem><para>Startpoint</para></listitem>
449 <listitem><para>"Center" - the notional center from the bounds of the track</para></listitem>
450 <listitem><para>Endpoint</para></listitem>
451 <listitem><para>Version1.1+: Highest Altitude</para></listitem>
452 <listitem><para>Version1.1+: Lowest Altitude</para></listitem>
453 <listitem><para>Version1.1+: Maximum Speed</para></listitem>
454 </itemizedlist>
455 </section>
456
457 <section><title>View</title>
458 <para>
459 Version1.1+: This centers the viewport on the track and selects the best zoom level to see it.
460 </para>
461 </section>
462
463 <section><title>Merge By Time</title>
464 <para>
465 This operation repeatedly tries to merge the right-clicked track
466 with tracks in the same TrackWaypoint layer. The tracks which are
467 merged are those which have at least one trackpoint less than some
468 threshold time away. This way, if you somehow end up with lots of small
469 segments (say, caused by turning the GPS on and off) you can merge them
470 easily into one track.
471 </para>
472 </section>
473
474 <section><title>Merge With Other Tracks</title>
475 <para>
476 This opens a dialog listing the other tracks in the same TrackWaypoint layer, from which one can select the other tracks to merge with.
477 </para>
478 </section>
479
480 <section><title>Split By Time</title>
481 <para>
482 This operation will split a single track into segments wherever the
483 time interval between successive trackpoints is larger than some
484 threshold. This is useful when processing raw NMEA GPS data, especially
485 taken over a long time.
486 </para>
487 </section>
488
489 <section><title>Split By Number of Points</title>
490 <para>
491 Version1.2+: This operation will split a single track into segments by the number of points specified.
492 This can be useful with devices which may have limits on the number of points it supports.
493 </para>
494 </section>
495
496 <section><title>Apply DEM data</title>
497 <para>
498 If any DEM data is loaded, this will apply the DEM data to give the track elevation data.
499 </para>
500 </section>
501
502 <section><title>Export Track as GPX</title>
503 <para>
504 Version1.1+: This allows exporting the track as a GPX file by opening a file save dialog.
505 </para>
506 </section>
507
508 <section><title>Extend Track End</title>
509 <para>
510 Changes the current tool to add trackpoints to the end of the track.
511 </para>
512 </section>
513
514 <section><title>Extend Using Route Finder</title>
515 <para>
516 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.
517 </para>
518 </section>
519
520 <section><title>Upload to OSM</title>
521 <para>
522 Same as the layer <link linkend="osm_upload">Upload to OSM</link>, but only applies to the track.
523 </para>
524 </section>
525
526 <section><title>Use With Filter</title>
527 <para>
528 This selects the track to be used in the <link linkend="filter_with_track">Filter With <emphasis>Trackname</emphasis></link> feature.
529 </para>
530 </section>
531
532 <section><title>View Google Directions</title>
533 <para>
534 This option is only available on a track created using the Route Finder tool.
535 </para>
536 <para>
537 Launch a web browser to see the Google directions page which yielded the route.
538 </para>
539 <note>
540 <para>
541 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.
542 </para>
543 </note>
544 </section>
545
546 </section><!-- End Track Options -->
547
548 <section><title>Waypoint Properties</title>
549
550 <para>
551 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).
552 </para>
553
554 </section><!-- WP Prop END -->
555
556 <section><title>Waypoint Operations</title>
557
558 <section><title>Goto</title>
559 <para>
560 This centers the viewport on the selected waypoint.
561 </para>
562 </section>
563
564 <section><title>Visit Geocache Webpage</title>
565 <para>
566 If the waypoint's name is in Geocache form (GCXXXXX) you can launch a web browser to go to the Geocache page.
567 </para>
568 </section>
569
570 <section><title>New Waypoint</title>
571 <para>
572 Same as the layer <link linkend="new_wp">New Waypoint</link>.
573 </para>
574 </section>
575
576 </section><!-- WP END -->
577
578 </section><!-- TRW Layer END -->
579
580 <section><title>GPS Layer</title>
581 <para>
582 The GPS layer is responsible for uploading and downloading GPS data
583 from a GPS device. It also is responsible for realtime GPS tracking.
584 Expand the GPS layer in the layers panel to see the two TrackWaypoint layers it
585 uses for uploading and downloading. To upload, download, or use
586 realtime tracking, right-click the GPS layer and click the appropiate
587 menu item.
588 </para>
589
590 <section><title>Download</title>
591 <para>
592 To download data from the GPS, right-click the GPS layer and click <guimenuitem>Download from GPS</guimenuitem>.
593 </para>
594 </section>
595
596 <section><title>Upload</title>
597 <para>
598 To upload data to the GPS, first populate the GPS Upload child
599 layer of the GPS layer (either by creating waypoints/tracks in it, or
600 copying and pasting or dragging waypoints/tracks from another layer).
601 Then right-click the GPS layer and click <guimenuitem>Upload to GPS</guimenuitem>.
602 </para>
603 </section>
604
605 <section><title>Realtime Tracking</title>
606 <para>
607 You must set up gpsd correctly or use a GPSD server and put the
608 correct information in the GPS layer properties dialog. Then right-click
609 the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
610 </para>
611 </section>
612
613 <section><title>Empty <emphasis>Item</emphasis></title>
614 <para>
615 There are several options to quickly delete a subsection of data:
616 </para>
617 <itemizedlist>
618 <listitem><para>Empty Realtime</para></listitem>
619 <listitem><para>Empty Upload</para></listitem>
620 <listitem><para>Empty Download</para></listitem>
621 <listitem><para>Empty All</para></listitem>
622 </itemizedlist>
623 </section>
624
625 </section><!-- End GPS -->
626
627 <section><title>DEM (Digital Elevation Model) Layer</title>
628 <para>
629 This layer provides elevation data from the <ulink url="http://www2.jpl.nasa.gov/srtm/">Shuttle Radar Topography Mission (SRTM)</ulink>
630 </para>
631 <para>
632 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]
633 </para>
634 <para>
635 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.
636 </para>
637 <para>
638 The current data server is: <ulink url="http://dds.cr.usgs.gov/srtm/version2_1/">NASA STRM 2.1</ulink>.
639 </para>
640 <para>
641 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.
642 </para>
643 <note>
644 <para>
645 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"
646 </para>
647 </note>
648
649 </section><!-- End DEM -->
650
651
652 <section><title>Maps Layer</title>
653 <para>
654 This layer provides a single map resource, you may have multiple map layers but only top one (if enabled) will be visible.
655 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.
656 </para>
657 <para>
658 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.
659 </para>
660 <para>
661 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:
662 </para>
663 <itemizedlist>
664 <listitem><para>Terraserver Topos</para></listitem>
665 <listitem><para>Terraserver Aerials</para></listitem>
666 <listitem><para>Terraserver Urban Areas</para></listitem>
667 <listitem><para>OpenStreetMap (Osmarender)</para></listitem>
668 <listitem><para>OpenStreetMap (Mapnik) - This is the default</para></listitem>
669 <listitem><para>OpenStreetMap (Maplint)</para></listitem>
670 <listitem><para>OpenStreetMap (Cycle)</para></listitem>
671 <listitem><para>NASA BlueMarble</para></listitem>
672 <listitem><para>SpotMap (&appname; Version1.1+)</para></listitem>
673 </itemizedlist>
674
675 <para>
676 &appname; can be configured to handle additional maps. See <link linkend="extend_viking">Extending &appname;</link> for further detail.
677 </para>
678
679 <section><title>Layer Operations</title>
680 <section><title>Download Missing Onscreen Maps</title>
681 <para>
682 This requests map tiles for areas of the viewport that do not currently have one.
683 </para>
684 </section>
685
686 <section><title>Download New Onscreen Maps</title>
687 <para>
688 This requests map tiles only if the maps are older than the Tile Age preference.
689 </para>
690 </section>
691
692 <section><title>Reload All Onscreen Maps</title>
693 <para>
694 Force a refresh of all visible map tiles.
695 </para>
696 </section>
697 </section>
698
699
700 </section><!-- End Maps -->
701
702 <section><title>Aggregrate Layer</title>
703 <para>
704 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.
705 </para>
706 <para>
707 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.
708 Here are some suggestions:
709 <itemizedlist>
710 <listitem><para>Hiking</para></listitem>
711 <listitem><para>Mountain Biking</para></listitem>
712 <listitem><para>Road Cycling</para></listitem>
713 <listitem><para>Car Trips</para></listitem>
714 <listitem><para>Sailing</para></listitem>
715 <listitem><para>Holidays</para></listitem>
716 <listitem><para>UK Points of Interest</para></listitem>
717 <listitem><para>USA Points of Interest</para></listitem>
718 <listitem><para>etc...</para></listitem>
719 </itemizedlist>
720 </para>
721 <para>
722 Thus one can have a list of all your tracks, but groups can be shown or not using the relevant layers visibility checkbox.
723 </para>
724
725 <para>
726 This layer only has one operation: <guilabel>New Layer</guilabel>
727 </para>
728
729 <section><title>New Layer</title>
730 <para>
731 Add a new layer of the selected type.
732 </para>
733 </section>
734
735 </section><!-- End Agg -->
736
737 <section><title>GeoRef Layer</title>
738 <para>
739 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.
740 </para>
741 <section><title>Layer Operations</title>
742 <section><title>Zoom to Fit Map</title>
743 <para>
744 Automatically set a zoom level to see the entire map coverage.
745 </para>
746 </section>
747
748 <section><title>Goto Map Center</title>
749 <para>
750 Center the viewport on this map.
751 </para>
752
753 </section>
754 <section><title>Export to World File</title>
755 <para>
756 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>.
757 </para>
758 </section>
759 </section>
760
761 </section><!-- End GeoRef -->
762
763 <section><title>Coord Layer</title>
764 <para>
765 This layer is allows drawing of grid lines on the viewport.
766 </para>
767 </section><!-- End Coord -->
768
769 </section>
770
771 <section><title>Tools</title>
772 <para>
773 You can use the scroll wheel and the right-click to zoom and pan no matter what tool you are using.
774 </para>
775 <para>
776 Scroll: zoom in and out without changing the center (also Ctrl+, Ctrl- [*not* KeyPad +/-])
777 </para>
778 <para>
779 Ctrl-scroll: pan north-south (also Ctrl-up, Ctrl-down)
780 </para>
781 <para>
782 Shift-scroll: pan east-west (also Ctrl-left, Ctrl-right)
783 </para>
784 <para>
785 Ctrl-shift-scroll: zoom in and out, keeping mouse over same location (like Google maps)
786 </para>
787 <para>
788 Left or Middle-click: make the clicked point on the map the center
789 </para>
790 <para>
791 Middle-click and drag: pan
792 </para>
793
794 <section><title>Zoom</title>
795 <para>
796 Zooms in and out on the clicked part of the map.
797 </para>
798 </section>
799
800 <section><title>Ruler</title>
801 <para>
802 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.
803 A second click will 'freeze' the ruler at that point.
804 </para>
805 </section>
806
807 <section><title>TrackWaypoint Layer Tools</title>
808 <para>
809 You must have a TrackWaypoint Layer selected to use these tools.
810 </para>
811 <section><title>Create Waypoint</title>
812 <para>
813 Left click will open the new waypoint dialog using the specified position.
814 </para>
815 </section>
816
817 <section><title>Create/Begin Track</title>
818 <para>
819 Left click to create a new trackpoint. If it's the initial trackpoint you will be asked to enter a name for the track.
820 If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
821 Right click or <keycap>Backspace</keycap>: undo one point.
822 </para>
823 <para>
824 Double click or <keycap>Escape</keycap>: finish track creation.
825 </para>
826 </section>
827
828 <section><title>Edit Waypoint</title>
829 <para>
830 Left Click/drag: select/move a waypoint.
831 If <keycap>Ctrl</keycap> is held at the same time, it will jump the waypoint position to a nearby existing trackpoint.
832 If <keycap>Shift</keycap> is held at the same time, it will jump the waypoint position to a nearby existing waypoint.
833 </para>
834 <para>Right-click on waypoint: opens a menu with waypoint actions (the
835 same menu accessed by right-clicking the waypoint in the layers panel)
836 </para>
837 </section>
838
839 <section><title>Edit Trackpoint</title>
840 <para>
841 Left click near a trackpoint (in screen pixel terms) to bring up the Track Point Edit dialog on that trackpoint.
842 Whilst the edit dialog is already open, left click again and drag enables moving of the trackpoint.
843 If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
844 </para>
845 <para>
846 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.
847 </para>
848 </section>
849
850 <section><title>Show Picture</title>
851 <para>
852 Opens an image viewer with the picture associated with the waypoint.
853 On Linux this uses <application>eog</application>.
854 On Windows this uses the default system image viewer.
855 </para>
856 </section>
857
858 <section><title>Route Finder</title>
859 <para>Creates a track using Google maps routing between two points.
860 Requires an internet connection. Click one point, then click another to
861 create a track.
862 </para>
863 <para>
864 Right-click: undo last routing (only track removed - not any waypoints)
865 </para>
866 <para>
867 <keycap>Ctrl</keycap>: continue previous track
868 </para>
869 </section>
870
871 </section>
872
873 <section><title>Georef Map Layer Tools</title>
874 <para>
875 You must have a Georef Map Layer selected to use these tools.
876 </para>
877 <section><title>Georef zoom</title>
878 <para>Changes the zoom level of the georeferenced map and changes the
879 &appname; zoom level accordingly. Useful if you are trying to match GPS
880 data to a georeferenced map.
881 </para>
882 </section>
883
884 <section><title>Georef move</title>
885 <para>
886 Drag to move the georeferenced map.
887 </para>
888 </section>
889 </section>
890
891 <section><title>Map Download</title>
892 <para>
893 You must have a Map Layer selected to use this.
894 </para>
895 <para>
896 Click to download a single tile. Drag to download tiles in the dragged rectangle area.
897 </para>
898 <para>
899 Right-click to redownload bad/all tiles. Right-click and drag to redownload bad/all tiles in the dragged rectangle area.
900 </para>
901 </section>
902
903 <section><title>DEM Download</title>
904 <para>
905 You must have a DEM Layer selected to use this.
906 </para>
907 <para>
908 Click to download and import a DEM file.
909 </para>
910 </section>
911
912 <section><title>Webtools</title>
913 <para>
914 Many services are available only via a web browser (Google Maps, OpenStreetMap Potlach editor, etc.).
915 </para>
916 <para>
917 Jumping from &app; to such service can become annoying.
918 </para>
919 <para>
920 &appname; allows you to open such service directly at the position currently viewed in &app;.
921 </para>
922 <para>
923 This feature is called <guilabel>Webtools</guilabel>. It is also known as External Tools.
924 </para>
925 </section>
926
927 </section>
928
929 <!-- Preferences -->
930 <section><title>Preferences</title>
931 <section><title>Localisation</title>
932 <para>You can select units displayed by &appname; to best fit your usage.</para>
933 <figure>
934 <title>Properties dialog: units part</title>
935 <screenshot>
936   <graphic format="PNG" fileref="figures/properties_units.png"/>
937 </screenshot>
938 </figure>
939 <para>Concerning degrees, you can select the way to display them:
940 <variablelist>
941 <varlistentry>
942 <term>DDD</term><listitem><para>decimal degree</para></listitem>
943 </varlistentry>
944 <varlistentry>
945 <term>DDD</term><listitem><para>partial sexagesimal display: degrees, minutes and décimal part of minutes</para></listitem>
946 </varlistentry>
947 <varlistentry>
948 <term>DMS</term><listitem><para>sexagesimal display: degrees, minutes and seconds</para></listitem>
949 </varlistentry>
950 </variablelist>
951 </para>
952 <figure>
953 <title>Properties dialog: degree display options</title>
954 <screenshot>
955   <graphic format="PNG" fileref="figures/properties_degree.png"/>
956 </screenshot>
957 </figure>
958 </section>
959 <section><title>Tile's age</title>
960 <para>This age is used to decided wether or not a new request to tile server must be done.
961 </para>
962 <para>Changing this value, you will increase or decrese the network load.</para>
963 </section>
964 <section><title>Default maplayer directory</title>
965 <para>This property sets the default directory of the tiles cache.
966 This value is used when you create a new map layer.
967 </para>
968 <para>You are still able to change this value in each map layer properties.</para>
969 </section>
970 </section>
971 <section><title>Mini-Howto's</title>
972 <section><title>Getting Started</title>
973 <para>
974 To quickly get started using &appname;, follow these instructions.
975 </para>
976 <section><title>Go to an area of interest</title>
977 <para>
978 &appname;'s default location is a Manhatten, New York, USA, so you may need to pick another place that interests you.
979 </para>
980 <procedure>
981 <title>Method A</title>
982 <step>
983 <para>
984 Use View - Go to to move to a coordinate of interest. 
985 </para>
986 </step>
987 </procedure>
988 <procedure>
989 <title>Method B</title>
990 <step>
991 <para>Use the GPS Layer or <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
992 to load data directly from your GPS into &appname;.
993 Currently Garmin, Magellan, DeLorme and Navilink protocols are supported.
994 </para>
995 <note>
996 <para>You must have write permission to the port used. For Unix like OS:</para>
997 <para>/dev/ttyS0 is the first serial port</para>
998 <para>/dev/ttyUSB0 is the first USB port</para>
999 </note>
1000 <note><para>For DeLorme device support you will need GPSBabel v1.4.0+ installed</para></note>
1001 </step>
1002 </procedure>
1003 <procedure>
1004 <title>Method C</title>
1005 <step>
1006 <para>
1007 Get data from files in GPX or KML format, which can be opened directly.
1008 Use <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>
1009 </para>
1010 <para>
1011 Other formats can be imported that are supported by GPSBabel.
1012 <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>Import File With GPSBabel...</guimenuitem></menuchoice>
1013 </para>
1014 </step>
1015 <step>
1016 <para>
1017 Expand Tracks or Waypoints. Right-click on the
1018 track or waypoint of interest and select <guimenuitem>Goto "Center"</guimenuitem>.
1019 </para>
1020 </step>
1021 </procedure>
1022 </section>
1023 <section><title>Add a map layer</title>
1024 <para>
1025 1. Use Layers - New Map Layer, and choose a suitable cache directory
1026 where you would like to store your tracks and click <guilabel>OK</guilabel>. Zoom to a
1027 comfortable level (I suggest 4 mpp) by clicking the left and right
1028 mouse buttons on the gray area where your tracks are. Now from the menu
1029 choose Tools - Map Download, Click where you would like to download a
1030 map. Regardless of what tool you are using, the middle mouse button
1031 always pans. </para>
1032 <note>
1033 <para>
1034 You need an open internet connection when you are downloading maps.
1035 </para>
1036 </note>
1037 <para>
1038 1. You will notice the maps are being drawn on top of the tracks, which
1039 is probably not what you want. Look at the Layers Panel to the left.
1040 Notice how the layer named Map is ABOVE your TrackWaypoint layer that
1041 your GPS data is in. This means that it will be drawn last, or on top
1042 of the other layers. Select the Map layer from the list and click the
1043 down arrow button beneath the list. Your tracks will now be drawn over
1044 the map. </para>
1045
1046 </section>
1047
1048 </section>
1049 <section><title>From 1st startup to GPS track (including offline maps)</title>
1050 <para>
1051 The first you'll see is an empty map, because &appname; in its default configuration will download maps only on demand.
1052 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'.
1053 </para>
1054
1055 <section><title>Fetching the maps</title>
1056 <para>
1057 <emphasis role="bold">Map</emphasis>
1058 </para>
1059 <procedure>
1060 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
1061 <step><para>in the layer properties dialogue choose e.g. <guilabel>OpenStreetMap (Mapnik)</guilabel>.</para></step>
1062 <step>
1063 <para>For the moment, we keep the default <guilabel>Maps Directory</guilabel> (the directory in
1064 which the maps will be stored and can be used for offline usage).</para>
1065 </step>
1066 <step>
1067 <para>Check <guilabel>Autodownload maps</guilabel> and keep the zoom level as <guilabel>Use Viking
1068 Zoom Level</guilabel>.</para>
1069 <note>
1070 <para>
1071 however, that these settings will play an important
1072 role in the pre-fetch for offline usage discussed later
1073 </para>
1074 </note>
1075 </step>
1076 </procedure>
1077 <para>You'll see a map of Stuttgart. Using the mouse wheel, you can
1078 zoom in and out. The maps for the choosen resoltion will be downloaded
1079 automatically.
1080 </para>
1081 <para>
1082 <emphasis role="bold">DEM Layer (Height Map)</emphasis>
1083 </para>
1084 <procedure>
1085 <step><para>Zoom out to 512.</para></step>
1086 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New DEM Layer</guimenuitem></menuchoice></para></step>
1087 <step><para>Keep the download source as is (SRTM Global 90m), hit <guilabel>OK</guilabel>.</para></step>
1088 </procedure>
1089
1090 <para>In the layer listing on the left, the DEM layer should reside
1091 above the map layer. If this is not the case, highlight the DEM layer
1092 an shift it one up (using the arrow up button).
1093 </para>
1094 <procedure>
1095 <step><para>highlight the DEM layer in the layer listing on the left</para></step>
1096 <step><para>in the toolbar, check DEM layer download/import (the last symbol)</para></step>
1097 <step><para>a left-click in the map window should then fetch the DEM data</para></step>
1098 </procedure>
1099 <para>
1100 This might take some time.
1101 </para>
1102 <para>
1103 Sometimes, a tile does not show up correctly (you might see only a
1104 black frame in the map window) because it got corrupted during
1105 transfer. In order to correct this, you can delete the corresponding
1106 datafile in the cache. <programlisting> right-click the DEM layer properties</programlisting>
1107 </para>
1108 <para>
1109 The <guilabel>DEM Files</guilabel> listing allows you to delete the specific tiles (alternatively do this from the command line).
1110 </para>
1111 <para>
1112 You can also alter the Min. and Max. elevation in this dialogue.
1113 </para>
1114
1115 </section>
1116 <section><title>GPS Track with Height Profile</title>
1117 <procedure>
1118 <step><para>uncheck the DEM layer (the map show up again)</para></step>
1119 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New TrackWaypoint Layer</guimenuitem></menuchoice></para></step>
1120 </procedure>
1121 <para>
1122 Ensure the new track layer is above the map layer.
1123 </para>
1124 <procedure>
1125 <step><para>expand trackwaypointlayer, select <guimenuitem>Tracks</guimenuitem></para></step>
1126 <step>
1127 <para>
1128 in the tools menu choose <guimenuitem>Begin Track</guimenuitem> which looks like this:
1129 <figure>
1130 <title>Begin Track Icon</title>
1131 <screenshot>
1132   <graphic format="PNG" fileref="figures/begintr_18.png"/>
1133 </screenshot>
1134 </figure>
1135 </para></step>
1136 <step><para>leftclick in the map window, enter a name</para></step>
1137 <step><para>click several times to generate a track (a right-click removes the last point)</para></step>
1138 <step><para>expand tracks in the layer menu, your track should show up, select it</para></step>
1139 <step><para>right click your track, select <guimenuitem>Apply DEM data</guimenuitem></para></step>
1140 <step><para>right click your track again, select <guimenuitem>Properies</guimenuitem></para></step>
1141 <step><para>click the tab <guilabel>Elevation-distance</guilabel> - enjoy the plot</para></step>
1142 </procedure>
1143 <para>
1144 In order to save this setting for later usage
1145 </para>
1146 <procedure>
1147 <step><para>click <guilabel>OK</guilabel> in the <guilabel>Track Properties</guilabel> dialog</para></step>
1148 <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>
1149 </procedure>
1150
1151 </section>
1152 <section><title>Usecase: offline data for holiday</title>
1153 <para>
1154 Suppose you want to have the map and DEM data offline for your holiday in Italy near Bologna.
1155 </para>
1156 <procedure>
1157 <step><para>Start a new &appname; session.</para></step>
1158 <step><para><menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter Bologna</para></step>
1159 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
1160 <step><para>Choose e.g. <guilabel>OpenStreetMap (mapnik)</guilabel>.</para></step>
1161 <step><para>adapt the <guilabel>maps directory</guilabel> e.g. to <filename>/home/user/.viking-map-holiday/</filename>.
1162 This allows you to delete the map stuff after holiday without purging the rest of your maps.
1163 </para></step>
1164 <step><para>check <guilabel>autodownload map</guilabel></para></step>
1165 <step><para>keep <guilabel>viking zoom level</guilabel></para></step>
1166 <step><para>zoom out to 1024</para></step>
1167 <step><para>add a DEM layer (as discussed above)</para></step>
1168 <step><para>download the DEM data</para></step>
1169 </procedure>
1170 <para>In the &app; version discussed here, the DEM data automatically
1171 are stored in <filename>/home/user/.viking-maps/</filename>. You can move the corresponding
1172 tiles into <filename>.viking-map-holiday/</filename> if you like.
1173 </para>
1174 <para>
1175 <emphasis role="bold">Download map data for all zoom levels</emphasis>
1176 </para>
1177 <procedure>
1178 <step><para>uncheck the DEM layer for the map to show up</para></step>
1179 <step><para>navigate the map to be centered at Bologna</para></step>
1180 <step><para>choose the zoom such, that all regions of interest are displayed in the map window (e.g. 1024)</para></step>
1181 <step>
1182 <para>follow this sequence until you have all tiles for all zoom levels you need</para>
1183 <substeps>
1184 <step><para>right-click the map layer properties</para></step>
1185 <step><para>set the zoomlevel explicitely one below the last (in the first cycle 512), hit OK</para></step>
1186 <step><para>right click the map layer  <guimenuitem>Download Missing Onscreen Maps</guimenuitem></para></step>
1187 <step><para>wait until all tiles for that resolution have been downloaded</para></step>
1188 </substeps>
1189 </step>
1190 </procedure>
1191 <para>This may take some time and hd capacity. Lixus wrote a set of
1192 scripts which allow to download the map tiles for several zoom-level in
1193 parallel from the command line.
1194 </para>
1195 <para>
1196 Do not forget to save your configuration (as discussed above).
1197 </para>
1198
1199 </section>
1200
1201 </section>
1202 <section><title>OpenStreetMap project</title>
1203 <para>
1204 <ulink url="http://openstreetmap.org/">OpenStreetMap (OSM)</ulink> is a collaborative project to create a free editable map of the world.
1205 One of sources of data for this project is GPS tracks.
1206 &appname; supports this project via the GPS Traces methods, both uploading and downloading such data.
1207 </para>
1208 <section><title>Uploading data to OpenStreetMap</title>
1209 <para>
1210 It is possible to upload data directly from &appname; to OpenStreetMap.
1211 </para>
1212 <formalpara>
1213 <title>Upload a layer</title>
1214 <para>
1215 One solution is to upload whole a TrackWaypoint layer. To do this,
1216 simply select the layer and right click on it. Then, select <guimenuitem>Upload to
1217 OSM</guimenuitem>.
1218 </para>
1219 </formalpara>
1220 <formalpara>
1221 <title>Upload a single track</title>
1222 <para>One solution is to upload whole a TrackWaypoint layer. To do
1223 this, simply select the layer and right click on it. Then, select
1224 <guimenuitem>Upload to OSM</guimenuitem>.
1225 </para>
1226 </formalpara>
1227 <formalpara>
1228 <title>Fill in the form</title>
1229 <para>
1230 In both cases, &appname; will retain some information.
1231 The email field is the email you used to subscribed into OpenStreetMap.
1232 The password field is the password you used with this account.
1233 The filename is the name you want your upload has on the server. This information is displayed by the osm server.
1234 The description is some descriptive information.
1235 The tags field is a white separated list of tag.
1236 </para> 
1237 </formalpara>
1238 </section>
1239 <section><title>Downloading traces from OpenStreetMap</title>
1240 <para>
1241 It is possible to download GPS traces directly from OpenStreetMap into &appname;.
1242 This feature can be really useful for checking existing data before uploading new ones.
1243 </para>
1244 <formalpara>
1245 <title>Download all visible tracks</title>
1246 <para>One solution is to select
1247 <menuchoice>
1248 <guimenu>File</guimenu>
1249 <guisubmenu>Acquire</guisubmenu>
1250 <guimenuitem>OSM traces...</guimenuitem>
1251 </menuchoice>.
1252 Each request can get up to 5,000 points.
1253 The dialog box allows setting which group of 5,000 points to get. These groups are known as 'Page Numbers' which start at 0.
1254 Increasing the page number parameter allows one to request the subsequent sets of point groups.
1255 See <ulink url="http://wiki.openstreetmap.org/wiki/API_v0.6#GPS_Traces"/> for further detail.
1256 </para>
1257 </formalpara>
1258 </section>
1259 </section>
1260
1261 <section><title>Geocoded Photo</title>
1262 <para>
1263 HOWTO GEOCODE YOUR PHOTOS AND SEE THEM IN VIKING 
1264 </para>
1265 <para>1) Synchronize your camera's clock with your GPS clock. If your
1266 camera's clock doesn't have a seconds value you can change, you might
1267 try setting the minute value just when the minute changes.
1268 </para>
1269 <para>
1270 2) Activate the track log on your GPS.
1271 </para>
1272 <para>3) Get outside and take some pictures with your camera while
1273 making sure your GPS has reception. If you forgot to turn your GPS on
1274 or forgot to bring it when you took a picture but you know where you
1275 took the picture, you can make a waypoint with a name of the format
1276 YYMMDDhhmm, representing the time the picture was taken, to record
1277 where you were at that time.
1278 </para>
1279 <para>4) Get home and download your pictures and GPS data. You can
1280 download the GPS data several ways. The first is using gpspoint to
1281 download from a Garmin GPS: <programlisting>gpspoint -p /dev/ttyS0 -dw -dt -of 2004-04-02-trip1</programlisting>
1282 </para>
1283 <para>
1284 Where /dev/ttyS0 is the serial port the GPS is connected to. If you
1285 don't have a Garmin GPS, or if you don't feel like install gpspoint,
1286 you can use my version of gpsbabel with support for gpspoint files. You
1287 can use gpsbabel to either translate the GPS data from a format you
1288 already have the data in or download it directly from your GPS
1289 reciever. A typical command line would something like this:<programlisting>gpsbabel -i garmin -f /dev/ttyS0 -o gpspoint -F 2004-04-02-trip1</programlisting>
1290 </para>
1291 <para>
1292 5) Launch GPSPhoto.
1293 </para>
1294 <para>
1295 6) You must now bring your photos into GPSPhoto. Either drag them (or
1296 the directory containing them) from your favorite file manager to the
1297 list on the left of the GPSPhoto window, or use the buttons below the
1298 list to find them.
1299 </para>
1300 <para>
1301 7) Do the same for your GPS data file(s), dragging them to the list on the right of the GPSPhoto Window.
1302 </para>
1303 <para>8) Click the Execute button, and choose a location to save the
1304 gpspoint file containing the waypoints for your photos. Then click OK
1305 to write the waypoints to this file.
1306 </para>
1307 <para>
1308 9) Open Viking and open both your original GPS data file and your image waypoint file just created.
1309 </para>
1310 </section>
1311
1312 <section id="extend_viking">
1313     <title>Extending Viking</title>
1314
1315       <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>
1316       <para>Here is an example:
1317 <programlisting><![CDATA[
1318 <objects>
1319   <object class="ClassName">
1320     <property name="property_name1">Property value</property>
1321     <property name="property_name2">Property value</property>
1322   </object>
1323   ...
1324 <objects>
1325 ]]>
1326 </programlisting>
1327 </para>
1328       <para>You can find more examples in the documentation part of the distribution.</para>
1329       <section>
1330         <title>Map Source</title>
1331         <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>
1332         <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>
1333
1334         <para>The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties:
1335           <variablelist>
1336             <varlistentry>
1337               <term>id</term>
1338               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1339             </varlistentry>
1340             <varlistentry>
1341               <term>label</term>
1342               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1343             </varlistentry>
1344             <varlistentry>
1345               <term>hostname</term>
1346               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1347             </varlistentry>
1348             <varlistentry>
1349               <term>url</term>
1350               <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>
1351             </varlistentry>
1352           </variablelist>
1353         </para>
1354         <para>The VikTmsMapSource allows to declare any TMS service. It supports the following properties:
1355           <variablelist>
1356             <varlistentry>
1357               <term>id</term>
1358               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1359             </varlistentry>
1360             <varlistentry>
1361               <term>label</term>
1362               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1363             </varlistentry>
1364             <varlistentry>
1365               <term>hostname</term>
1366               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1367             </varlistentry>
1368             <varlistentry>
1369               <term>url</term>
1370               <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>
1371             </varlistentry>
1372           </variablelist>
1373         </para>
1374         <para>The VikWmscMapSource allows to declare any WMS or WMS-C service. It supports the following properties:
1375           <variablelist>
1376             <varlistentry>
1377               <term>id</term>
1378               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1379             </varlistentry>
1380             <varlistentry>
1381               <term>label</term>
1382               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1383             </varlistentry>
1384             <varlistentry>
1385               <term>hostname</term>
1386               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1387             </varlistentry>
1388             <varlistentry>
1389               <term>url</term>
1390               <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>
1391             </varlistentry>
1392           </variablelist>
1393         </para>
1394       </section>
1395
1396       <section>
1397         <title>Go-to search engines</title>
1398         <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>
1399         <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
1400         <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>
1401         <para>The related properties are:
1402           <variablelist>
1403             <varlistentry>
1404               <term>label</term>
1405               <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
1406             </varlistentry>
1407             <varlistentry>
1408               <term>url-format</term>
1409               <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>
1410             </varlistentry>
1411             <varlistentry>
1412               <term>lat-path</term>
1413               <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1414             </varlistentry>
1415             <varlistentry>
1416               <term>lat-attr (optional)</term>
1417               <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
1418             </varlistentry>
1419             <varlistentry>
1420               <term>lon-path</term>
1421               <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1422             </varlistentry>
1423             <varlistentry>
1424               <term>lon-attr (optional)</term>
1425               <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
1426             </varlistentry>
1427           </variablelist>
1428         </para>
1429         <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>
1430       </section>
1431
1432       <section>
1433         <title>Webtools</title>
1434         <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
1435         <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
1436         <para>Currently, there is a single object class available: VikWebtoolCenter. Such feature allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
1437         <para>The related properties are:
1438           <variablelist>
1439             <varlistentry>
1440               <term>id</term>
1441               <listitem><para>this is an integer and should be unique as it used to identify the tool</para></listitem>
1442             </varlistentry>
1443             <varlistentry>
1444               <term>label</term>
1445               <listitem><para>the text displayed in the menu entry</para></listitem>
1446             </varlistentry>
1447             <varlistentry>
1448               <term>url</term>
1449               <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. "http://hostname/%d/%d/%d.png")</para></listitem>
1450             </varlistentry>
1451           </variablelist>
1452         </para>
1453       </section>
1454
1455 </section>
1456
1457 <section><title>What to Do if &appname; Does Not Seem to Work</title>
1458 <para>
1459 In order to get some information about what &appname; is doing, start it in verbose debug mode via the command line:
1460 <programlisting>viking -dV</programlisting>
1461 </para>
1462 <para>
1463 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.
1464 E.g. Something like this for DEMs:
1465 <screen>
1466 ** (viking:28778): DEBUG: curl_download_uri: uri=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip
1467 * About to connect() to dds.cr.usgs.gov port 80 (#0)
1468 * Trying 152.61.128.95... * connected
1469 * Connected to dds.cr.usgs.gov (152.61.128.95) port 80 (#0)
1470  GET /srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip HTTP/1.1
1471 User-Agent: viking/0.9.8 libcurl/7.18.2 GnuTLS/2.4.2 zlib/1.2.3.3 libidn/1.8
1472 Host: dds.cr.usgs.gov
1473 Accept: */*
1474  HTTP/1.1 200 OK
1475  Date: Sun, 26 Jul 2009 18:13:38 GMT
1476  Server: Apache
1477  Last-Modified: Tue, 21 Jul 2009 19:57:35 GMT
1478  ETag: eac3f8-1828f5-46f3caa76070a
1479  Accept-Ranges: bytes
1480  Content-Length: 1583349
1481  Content-Type: application/zip
1482
1483 * Connection #0 to host dds.cr.usgs.gov left intact
1484 * Closing connection #0
1485 ** (viking:28778): DEBUG: dem_layer_add_file: /home/username/.viking-maps/srtm3-Eurasia/N48E008.hgt.zip
1486 </screen>
1487 Or for OSM Mapnik tile server:
1488 <screen>
1489 * About to connect() to tile.openstreetmap.org port 80 (#0)
1490 *   Trying 193.63.75.28... * connected
1491 * Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1492  GET /13/4065/2748.png HTTP/1.1
1493 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1494 Host: tile.openstreetmap.org
1495 Accept: */*
1496
1497 * HTTP 1.0, assume close after body
1498  HTTP/1.0 200 OK
1499  Date: Thu, 14 Oct 2010 22:18:42 GMT
1500  Server: Apache/2.2.8 (Ubuntu)
1501  ETag: "b66ff9d46474bab68262a3483428a232"
1502 ** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "b66ff9d46474bab68262a3483428a232"
1503  Content-Length: 17194
1504  Cache-Control: max-age=94805
1505  Expires: Sat, 16 Oct 2010 00:38:47 GMT
1506  Content-Type: image/png
1507  Age: 5153
1508  X-Cache: HIT from konqi.openstreetmap.org
1509  X-Cache-Lookup: HIT from konqi.openstreetmap.org:3128
1510  Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1511  Connection: close
1512  
1513 * Closing connection #0
1514 * About to connect() to a.andy.sandbox.cloudmade.com port 80 (#0)
1515 *   Trying 178.63.75.195... ** (viking:16704): DEBUG: curl_download_uri: uri=http://tile.openstreetmap.org/13/4065/2749.png
1516 * About to connect() to tile.openstreetmap.org port 80 (#0)
1517 *   Trying 193.63.75.28... * connected
1518 * Connected to a.andy.sandbox.cloudmade.com (178.63.75.195) port 80 (#0)
1519  GET /tiles/cycle/13/4065/2747.png HTTP/1.1
1520 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1521 Host: a.andy.sandbox.cloudmade.com
1522 Accept: */*
1523
1524 * connected
1525 * Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1526  GET /13/4065/2749.png HTTP/1.1
1527 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1528 Host: tile.openstreetmap.org
1529 Accept: */*
1530
1531 * HTTP 1.0, assume close after body
1532  HTTP/1.0 200 OK
1533  Date: Thu, 14 Oct 2010 23:44:35 GMT
1534  Server: Apache/2.2.8 (Ubuntu)
1535  ETag: "8e520ad47ce9c1b63430554886eb5fab"
1536 ** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "8e520ad47ce9c1b63430554886eb5fab"
1537  Content-Length: 18094
1538  Cache-Control: max-age=87742
1539  Expires: Sat, 16 Oct 2010 00:06:57 GMT
1540  Content-Type: image/png
1541  X-Cache: MISS from konqi.openstreetmap.org
1542  X-Cache-Lookup: MISS from konqi.openstreetmap.org:3128
1543  Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1544  Connection: close
1545 </screen>
1546 </para>
1547 </section>
1548
1549 </section>
1550
1551 <section><title>Dependencies</title>
1552 <formalpara><title>gpsbabel</title>
1553 <para>&appname; uses <ulink url="http://gpsbabel.org/">GPSBabel</ulink> to convert data.</para>
1554 </formalpara>
1555 <formalpara><title>unbuffer (optional)</title>
1556 <para>&appname; uses unbuffer command to optimize conversion calls.</para>
1557 </formalpara>
1558 </section>
1559
1560 </article>