]> git.street.me.uk Git - andy/viking.git/blob - help/C/viking.xml
[DOC] Update track operations help information.
[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.0">
7   <!ENTITY manrevision  "0.1">
8   <!ENTITY date "October 2010">
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 OSM 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 </itemizedlist>
165 <note>
166 <para>
167 &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>:
168 </para>
169 </note>
170 </section>
171
172 <section><title>General Concepts</title>
173 <section><title>Layers</title>
174 <para>
175 'Layers' is concept one may know from powerful graphics editors such as Photoshop or GIMP.
176 Instead of putting all the data on the same level, it is stacked (i.e. layered) with different data over one another.
177 This can make useful for analysis and general handling of various sets of data.
178 </para>
179 <para>
180 Unfortunately the downside of this complexity is remembering how differing layers of data can obscure other data.
181 </para>
182 <para>
183 The Map layers have <ulink url="http://en.wikipedia.org/wiki/Alpha_compositing"><citetitle>Alpha Compositing</citetitle></ulink>,
184 to create the appearance of partial transparency.
185 By controlling this value one can see data below it in the layer heirarchy for interesting effects.
186 </para>
187 </section>
188 <section><title>Layers Panel</title>
189 <para>
190 The panel on the left is called the <emphasis role="bold">layers panel</emphasis>.
191 It determines which layers and sublayers (such as tracks and waypoints)
192 are shown, and the order in which they are drawn. Layers list on the
193 top of the layers panel are drawn last. You can change the order by
194 drag and drop, or by selecting a layer and using the up and down
195 buttons at the bottom of the layers panel.
196 </para>
197 </section>
198 <section><title>Viewport</title>
199 <para>
200 The main &appname; area where the layer data is drawn, is called the <emphasis role="bold">viewport</emphasis>.
201 </para>
202 </section>
203 <section><title>Statusbar</title>
204 <para>This provides a readout of various information:</para>
205 <itemizedlist>
206 <listitem><para>The currently selected (mouse pointer) tool</para></listitem>
207 <listitem><para>The number of items to process in the background - normally this the number in the map tile download queue</para></listitem>
208 <listitem><para>The zoom factor</para></listitem>
209 <listitem><para>The location of the mouse pointer (and potentially height information if DEM data is available)</para></listitem>
210 </itemizedlist>
211 </section>
212
213 <section><title>Projections</title>
214 <para>
215 &appname; supports differents projections:
216 <itemizedlist>
217 <listitem>
218 <para>UTM</para>
219 </listitem>
220 <listitem>
221 <para>LatLon (also called EPSG:4326)</para>
222 </listitem>
223 <listitem>
224 <para>Mercator (also called Spherical Mercator)</para>
225 </listitem>
226 </itemizedlist>
227 </para>
228 </section>
229 </section>
230
231 <section><title>Layers</title>
232
233 <section><title>TrackWaypoint Layer</title>
234 <para>
235 TrackWaypoint layers display GPS data (tracks and waypoints).
236 </para>
237 <para>One way to create new waypoints is to copy a
238 latitude/longitude coordinate pair, such as the one shown on most
239 geocaches, and paste it into an active TrackWaypoint layer. &appname; can
240 automatically recognize several variations of the lat/lon format.
241 </para>
242 <para>
243 By right-clicking tracks and waypoints in the layers panel, you can do
244 many things with tracks and waypoints. You can easily find a specific
245 track or waypoint by expanding the Tracks or Waypoints sublayers in the
246 layers panel to show all tracks or waypoints, and typing the name of
247 the track/waypoint.
248 </para>
249
250 <section><title>Layer Operations</title>
251 <para>
252 The layer has a context menu with several operations.
253 </para>
254
255 <section><title>View Layer</title>
256 <para>
257 Version1.1+: This will automatically move the viewport and select the best zoom level to see the whole layer (i.e. tracks and waypoints).
258 </para>
259 </section>
260
261 <section><title>View All Tracks</title>
262 <para>
263 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).
264 </para>
265 </section>
266
267 <section><title>View All Waypoints</title>
268 <para>
269 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).
270 </para>
271 </section>
272
273 <section><title>Goto Center of Layer</title>
274 <para>
275 This will automatically move the viewport to see the whole layer (i.e. tracks and waypoints). It does not adjust the zoom level.
276 </para>
277 </section>
278
279 <section><title>Goto Waypoint</title>
280 <para>
281 This opens a dialog box to enter a name of waypoint to search for. If it is found the viewport is centred on it.
282 </para>
283 <note>
284 <para>
285 Note this search is not very clever and only finds exact matches.
286 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.
287 </para>
288 </note>
289 </section>
290
291 <section><title>Export Layer</title>
292 <para>
293 The layer (all tracks and waypoints) can be exported to a file GPX, GPSPoint or GPSMapper format.
294 </para>
295 <para>
296 Version1.1+: An individual track can be exported to a GPX file via the track menu.
297 </para>
298 </section>
299
300 <section id="new_wp"><title>New Waypoint</title>
301 <para>
302 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.
303 </para>
304 </section>
305
306 <section><title>Add Wikipedia Waypoints</title>
307 <para>
308 This gets 'interesting' points from Wikipedia for the specified view: either within the extent of layer bounds or within the current viewport boundary.
309 </para>
310 </section>
311
312 <section id="osm_upload"><title>Upload To OSM</title>
313 <para>
314 This opens a dialog to upload all tracks and waypoints to OSM traces.
315 Useful if you are an OSM contributor (you will need an OSM account), these details can be stored in &appname; preferences.
316 </para>
317 <para>
318  &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 OSM.
319 </para>
320 <note>
321 <para>
322  <emphasis role="bold">Warning!</emphasis>
323 The password is transferred <emphasis role="bold">unencrypted</emphasis> in every request sent to the OSM server. This is due to OSM's basic authentication method.
324 </para>
325 </note>
326 </section>
327
328 <section><title>Filter</title>
329 <section><title>Simplify All Tracks</title>
330 <para>
331 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.
332 </para>
333 </section>
334 <section><title>Remove Duplicate Waypoints</title>
335 <para>
336 Remove Duplicate Waypoints - fairly self explainatory, with the results created in a new layer.
337 </para>
338 <note>
339 <para>
340 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.
341 </para>
342 </note>
343 </section>
344 </section>
345
346 <section id="filter_with_track"><title>Filter With <emphasis>Trackname</emphasis></title>
347 <para>
348 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:
349 </para>
350 <itemizedlist>
351 <listitem><para>Waypoints Inside This</para></listitem>
352 <listitem><para>Waypoints Outside This</para></listitem>
353 </itemizedlist>
354 <para>
355 The result is generated in a new Track/Waypoint layer.
356 </para>
357 </section>
358
359 </section><!-- End TRW Layer Options -->
360
361 <section><title>Track Properties</title>
362 <para>
363 Show many useful statistics about a track, including a
364 elevation-distance graph and a speed-time graph (if data is available).
365 You can click these graphs to jump to the point in the track. You can
366 also reverse a track, delete duplicates, and split a track from its
367 component segments (discontinuous breaks in a track) into separate
368 tracks.
369 </para>
370 <para>
371 The following colors are used in the elevation-distance graph:
372 </para>
373 <variablelist>
374 <varlistentry>
375 <term>'Main' colour - this is dependent on your Desktop theme - often blue by default</term>
376 <listitem><para>elevation data in graph</para></listitem>
377 </varlistentry>
378 <varlistentry>
379 <term>Yellow</term>
380 <listitem>
381 <para>no elevation data</para>
382 </listitem>
383 </varlistentry>
384 <varlistentry>
385 <term>Green</term>
386 <listitem>
387 <para>elevation data from DEM</para>
388 </listitem>
389 </varlistentry>
390 <varlistentry>
391 <term>Red</term>
392 <listitem>
393 <para>speed</para>
394 </listitem>
395 </varlistentry>
396 </variablelist>
397
398 </section>
399
400 <section><title>Track Operations</title>
401
402 <section><title>Goto</title>
403 <para>
404 This centers the viewport on the selected position on the track:
405 </para>
406 <itemizedlist>
407 <listitem><para>Startpoint</para></listitem>
408 <listitem><para>"Center" - the notional center from the bounds of the track</para></listitem>
409 <listitem><para>Endpoint</para></listitem>
410 <listitem><para>Version1.1+: Highest Altitude</para></listitem>
411 <listitem><para>Version1.1+: Lowest Altitude</para></listitem>
412 <listitem><para>Version1.1+: Maximum Speed</para></listitem>
413 </itemizedlist>
414 </section>
415
416 <section><title>View</title>
417 <para>
418 Version1.1+: This centers the viewport on the track and selects the best zoom level to see it.
419 </para>
420 </section>
421
422 <section><title>Merge By Time</title>
423 <para>
424 This operation repeatedly tries to merge the right-clicked track
425 with tracks in the same TrackWaypoint layer. The tracks which are
426 merged are those which have at least one trackpoint less than some
427 threshold time away. This way, if you somehow end up with lots of small
428 segments (say, caused by turning the GPS on and off) you can merge them
429 easily into one track.
430 </para>
431 </section>
432
433 <section><title>Merge With Other Tracks</title>
434 <para>
435 This opens a dialog listing the other tracks in the same TrackWaypoint layer, from which one can select the other tracks to merge with.
436 </para>
437 </section>
438
439 <section><title>Split By Time</title>
440 <para>
441 This operation will split a single track into segments wherever the
442 time interval between successive trackpoints is larger than some
443 threshold. This is useful when processing raw NMEA GPS data, especially
444 taken over a long time.
445 </para>
446 </section>
447
448 <section><title>Apply DEM data</title>
449 <para>
450 If any DEM data is loaded, this will apply the DEM data to give the track elevation data.
451 </para>
452 </section>
453
454 <section><title>Export Track as GPX</title>
455 <para>
456 Version1.1+: This allows exporting the track as a GPX file by opening a file save dialog.
457 </para>
458 </section>
459
460 <section><title>Extend Track End</title>
461 <para>
462 Changes the current tool to add trackpoints to the end of the track.
463 </para>
464 </section>
465
466 <section><title>Extend Using Magic Scissors</title>
467 <para>
468 Enables the Magic Scissors 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.
469 </para>
470 </section>
471
472 <section><title>Upload to OSM</title>
473 <para>
474 Same as the layer <link linkend="osm_upload">Upload to OSM</link>, but only applies to the track.
475 </para>
476 </section>
477
478 <section><title>Use With Filter</title>
479 <para>
480 This selects the track to be used in the <link linkend="filter_with_track">Filter With <emphasis>Trackname</emphasis></link> feature.
481 </para>
482 </section>
483
484 <section><title>View Google Directions</title>
485 <para>
486 This option is only available on a track created using the Magic Scissors tool.
487 </para>
488 <para>
489 Launch a web browser to see the Google directions page which yielded the route.
490 </para>
491 <note>
492 <para>
493 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 Magic Scissors tool) this will not work correctly.
494 </para>
495 </note>
496 </section>
497
498 </section><!-- End Track Options -->
499
500 <section><title>Waypoint Operations</title>
501
502 <section><title>Goto</title>
503 <para>
504 This centers the viewport on the selected waypoint.
505 </para>
506 </section>
507
508 <section><title>Visit Geocache Webpage</title>
509 <para>
510 If the waypoint's name is in Geocache form (GCXXXXX) you can launch a web browser to go to the Geocache page.
511 </para>
512 </section>
513
514 <section><title>New Waypoint</title>
515 <para>
516 Same as the layer <link linkend="new_wp">New Waypoint</link>.
517 </para>
518 </section>
519
520 </section><!-- WP END -->
521
522 </section><!-- TRW Layer END -->
523
524 <section><title>GPS Layer</title>
525 <para>
526 The GPS layer is responsible for uploading and downloading GPS data
527 from a GPS device. It also is responsible for realtime GPS tracking.
528 Expand the GP SLayer in the layers panel to see the two TRWLayers it
529 uses for uploading and downloading. To upload, download, or use
530 realtime tracking, right-click the GPS layer and click the appropiate
531 menu item.
532 </para>
533
534 <section><title>Download</title>
535 <para>
536 To download data from the GPS, right-click the GPS layer and click <guimenuitem>Download from GPS</guimenuitem>.
537 </para>
538
539 </section>
540 <section><title>Upload</title>
541 <para>
542 To upload data to the GPS, first populate the GPS Upload child
543 layer of the GPS layer (either by creating waypoints/tracks in it, or
544 copying and pasting or dragging waypoints/tracks from another layer).
545 Then right-click the GPS layer and click <guimenuitem>Upload to GPS</guimenuitem>.
546 </para>
547
548 </section>
549 <section><title>Realtime Tracking</title>
550 <para>
551 You must set up gpsd correctly or use a GPSD server and put the
552 correct information in the GPS layer properties dialog. Then right-click
553 the layer and select <guimenuitem>Start Realtime Tracking</guimenuitem>.
554 </para>
555
556 </section>
557
558 </section>
559 <section><title>(Digital Elevation Model) DEM Layer (todo)</title>
560 <para>
561 The current NASA SRTM server is: http://dds.cr.usgs.gov/srtm/version2_1/
562 </para>
563
564 </section>
565
566 </section>
567
568 <section><title>Tools</title>
569 <para>
570 You can use the scroll wheel and the right-click to zoom and pan no matter what tool you are using.
571 </para>
572 <para>
573 Scroll: zoom in and out without changing the center (also Ctrl+, Ctrl- [*not* KeyPad +/-])
574 </para>
575 <para>
576 Ctrl-scroll: pan north-south (also Ctrl-up, Ctrl-down)
577 </para>
578 <para>
579 Shift-scroll: pan east-west (also Ctrl-left, Ctrl-right)
580 </para>
581 <para>
582 Ctrl-shift-scroll: zoom in and out, keeping mouse over same location (like Google maps)
583 </para>
584 <para>
585 Left or Middle-click: make the clicked point on the map the center
586 </para>
587 <para>
588 Middle-click and drag: pan
589 </para>
590
591 <section><title>Zoom</title>
592 <para>
593 Zooms in and out on the clicked part of the map.
594 </para>
595 </section>
596
597 <section><title>Ruler</title>
598 <para>
599 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.
600 A second click will 'freeze' the ruler at that point.
601 </para>
602 </section>
603
604 <section><title>TrackWaypoint Layer Tools</title>
605 <para>
606 You must have a TrackWaypoint Layer selected to use these tools.
607 </para>
608 <section><title>Create Waypoint</title>
609 <para>
610 Left click will open the new waypoint dialog using the specified position.
611 </para>
612 </section>
613
614 <section><title>Create/Begin Track</title>
615 <para>
616 Left click to create a new trackpoint. If it's the initial trackpoint you will be asked to enter a name for the track.
617 If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
618 Right click or <keycap>Backspace</keycap> : undo one point.
619 </para>
620 <para>
621 Double click or <keycap>Escape</keycap> : finish track creation.
622 </para>
623 </section>
624
625 <section><title>Edit Waypoint</title>
626 <para>
627 Left Click/drag: select/move a waypoint.
628 If <keycap>Ctrl</keycap> is held at the same time, it will jump the waypoint position to a nearby existing trackpoint.
629 If <keycap>Shift</keycap> is held at the same time, it will jump the waypoint position to a nearby existing waypoint.
630 </para>
631 <para>Right-click on waypoint: opens a menu with waypoint actions (the
632 same menu accessed by right-clicking the waypoint in the layers panel)
633 </para>
634 </section>
635
636 <section><title>Edit Trackpoint</title>
637 <para>
638 Left click near a trackpoint (in screen pixel terms) to bring up the Track Point Edit dialog on that trackpoint.
639 Whilst the edit dialog is already open, left click again and drag enables moving of the trackpoint.
640 If <keycap>Ctrl</keycap> is held at the same time, it will jump the new trackpoint position to a nearby existing trackpoint.
641 </para>
642 <para>
643 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.
644 </para>
645 </section>
646
647 <section><title>Show Picture</title>
648 <para>
649 Opens an image viewer with the picture associated with the waypoint.
650 On Linux this uses <application>eog</application>.
651 On Windows this uses the default system image viewer.
652 </para>
653 </section>
654
655 <section><title>Magic Scissors</title>
656 <para>Creates a track using Google maps routing between two points.
657 Requires an internet connection. Click one point, then click another to
658 create a track.
659 </para>
660 <para>
661 Right-click: undo last routing (only track removed - not any waypoints)
662 </para>
663 <para>
664 <keycap>Ctrl</keycap>: continue previous track
665 </para>
666 </section>
667
668 </section>
669
670 <section><title>Georef Map Layer Tools</title>
671 <para>
672 You must have a Georef Map Layer selected to use these tools.
673 </para>
674 <section><title>Georef zoom</title>
675 <para>Changes the zoom level of the georeferenced map and changes the
676 &appname; zoom level accordingly. Useful if you are trying to match GPS
677 data to a georeferenced map.
678 </para>
679 </section>
680
681 <section><title>Georef move</title>
682 <para>
683 Drag to move the georeferenced map.
684 </para>
685 </section>
686 </section>
687
688 <section><title>Map Download</title>
689 <para>
690 You must have a Map Layer selected to use this.
691 </para>
692 <para>
693 Click to download a single tile. Drag to download tiles in the dragged rectangle area.
694 </para>
695 <para>
696 Right-click to redownload bad/all tiles. Right-click and drag to redownload bad/all tiles in the dragged rectangle area.
697 </para>
698 </section>
699
700 <section><title>DEM Download</title>
701 <para>
702 You must have a DEM Layer selected to use this.
703 </para>
704 <para>
705 Click to download and import a DEM file.
706 </para>
707 </section>
708
709 <section><title>Webtools</title>
710 <para>
711 Many services are available only via a web browser (Google Maps, OpenStreetMap Potlach editor, etc.).
712 </para>
713 <para>
714 Jumping from &app; to such service can become annoying.
715 </para>
716 <para>
717 &appname; allows you to open such service directly at the position currently viewed in &app;.
718 </para>
719 <para>
720 This feature is called <guilabel>Webtools</guilabel>. It is also known as External Tools.
721 </para>
722 </section>
723
724 </section>
725
726 <!-- Preferences -->
727 <section><title>Preferences</title>
728 <section><title>Localisation</title>
729 <para>You can select units displayed by &appname; to best fit your usage.</para>
730 <figure>
731 <title>Properties dialog: units part</title>
732 <screenshot>
733   <graphic format="PNG" fileref="figures/properties_units.png"/>
734 </screenshot>
735 </figure>
736 <para>Concerning degrees, you can select the way to display them:
737 <variablelist>
738 <varlistentry>
739 <term>DDD</term><listitem><para>decimal degree</para></listitem>
740 </varlistentry>
741 <varlistentry>
742 <term>DDD</term><listitem><para>partial sexagesimal display: degrees, minutes and décimal part of minutes</para></listitem>
743 </varlistentry>
744 <varlistentry>
745 <term>DMS</term><listitem><para>sexagesimal display: degrees, minutes and seconds</para></listitem>
746 </varlistentry>
747 </variablelist>
748 </para>
749 <figure>
750 <title>Properties dialog: degree display options</title>
751 <screenshot>
752   <graphic format="PNG" fileref="figures/properties_degree.png"/>
753 </screenshot>
754 </figure>
755 </section>
756 <section><title>Tile's age</title>
757 <para>This age is used to decided wether or not a new request to tile server must be done.
758 </para>
759 <para>Changing this value, you will increase or decrese the network load.</para>
760 </section>
761 <section><title>Default maplayer directory</title>
762 <para>This property sets the default directory of the tiles cache.
763 This value is used when you create a new map layer.
764 </para>
765 <para>You are still able to change this value in each map layer properties.</para>
766 </section>
767 </section>
768 <section><title>Mini-Howto's</title>
769 <section><title>Getting Started</title>
770 <para>
771 To quickly get started using &appname;, follow these instructions.
772 </para>
773 <section><title>Go to an area of interest</title>
774 <para>
775 &appname;'s default location is a Manhatten, New York, USA, so you may need to pick another place that interests you.
776 </para>
777 <procedure>
778 <title>Method A</title>
779 <step>
780 <para>
781 Use View - Go to to move to a coordinate of interest. 
782 </para>
783 </step>
784 </procedure>
785 <procedure>
786 <title>Method B</title>
787 <step>
788 <para>Use the GPS Layer or <menuchoice><guimenu>File</guimenu><guimenuitem>Acquire</guimenuitem><guimenuitem>From GPS</guimenuitem></menuchoice>
789 to load data directly from your GPS into &appname;.
790 Currently Garmin, Magellan, DeLorme and Navilink protocols are supported.
791 </para>
792 <note>
793 <para>You must have write permission to the port used. For Unix like OS:</para>
794 <para>/dev/ttyS0 is the first serial port</para>
795 <para>/dev/ttyUSB0 is the first USB port</para>
796 </note>
797 <note><para>For DeLorme device support you will need GPSBabel v1.4.0+ installed</para></note>
798 </step>
799 </procedure>
800 <procedure>
801 <title>Method C</title>
802 <step>
803 <para>Get data from files in GPX format. For other formats (kml,
804 ozi...), use a converter such as GPSBabel to convert the files to GPX
805 format first.
806 </para>
807 </step>
808 <step>
809 <para>
810 Open up &appname; and use File - Open or File - Append
811 file to open the file.
812 </para>
813 </step>
814 <step>
815 <para>
816 Expand Tracks or Waypoints. Right-click on the
817 track or waypoint of interest and select <guimenuitem>Goto "Center"</guimenuitem>.
818 </para>
819 </step>
820 </procedure>
821 <procedure>
822 <title>Method D</title>
823 <step>
824 <para>
825 Use File - Append File to add your track and waypoint data to
826 &appname;. This has been tested with Geocaching.com's *.loc format,
827 (others(?)).
828 </para>
829 </step>
830 <step>
831 <para>
832 Expand Tracks or Waypoints. Right-click on the tack or
833 point of interest and select <guimenuitem>Goto "Center"</guimenuitem>.
834 </para>
835 </step>
836 </procedure>
837 </section>
838 <section><title>Add a map layer</title>
839 <para>
840 1. Use Layers - New Map Layer, and choose a suitable cache directory
841 where you would like to store your tracks and click <guilabel>OK</guilabel>. Zoom to a
842 comfortable level (I suggest 4 mpp) by clicking the left and right
843 mouse buttons on the gray area where your tracks are. Now from the menu
844 choose Tools - Map Download, Click where you would like to download a
845 map. Regardless of what tool you are using, the middle mouse button
846 always pans. </para>
847 <note>
848 <para>
849 You need an open internet connection when you are downloading maps.
850 </para>
851 </note>
852 <para>
853 1. You will notice the maps are being drawn on top of the tracks, which
854 is probably not what you want. Look at the Layers Panel to the left.
855 Notice how the layer named Map is ABOVE your TrackWaypoint layer that
856 your GPS data is in. This means that it will be drawn last, or on top
857 of the other layers. Select the Map layer from the list and click the
858 down arrow button beneath the list. Your tracks will now be drawn over
859 the map. </para>
860
861 </section>
862
863 </section>
864 <section><title>From 1st startup to GPS track (including offline maps)</title>
865 <para>
866 The first you'll see is an empty map, because &appname; in its default configuration will download maps only on demand.
867 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'.
868 </para>
869
870 <section><title>Fetching the maps</title>
871 <para>
872 <emphasis role="bold">Map</emphasis>
873 </para>
874 <procedure>
875 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
876 <step><para>in the layer properties dialogue choose e.g. <guilabel>OpenStreetMap (Mapnik)</guilabel>.</para></step>
877 <step>
878 <para>For the moment, we keep the default <guilabel>Maps Directory</guilabel> (the directory in
879 which the maps will be stored and can be used for offline usage).</para>
880 </step>
881 <step>
882 <para>Check <guilabel>Autodownload maps</guilabel> and keep the zoom level as <guilabel>Use Viking
883 Zoom Level</guilabel>.</para>
884 <note>
885 <para>
886 however, that these settings will play an important
887 role in the pre-fetch for offline usage discussed later
888 </para>
889 </note>
890 </step>
891 </procedure>
892 <para>You'll see a map of Stuttgart. Using the mouse wheel, you can
893 zoom in and out. The maps for the choosen resoltion will be downloaded
894 automatically.
895 </para>
896 <para>
897 <emphasis role="bold">DEM Layer (Height Map)</emphasis>
898 </para>
899 <procedure>
900 <step><para>Zoom out to 512.</para></step>
901 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New DEM Layer</guimenuitem></menuchoice></para></step>
902 <step><para>Keep the download source as is (SRTM Global 90m), hit <guilabel>OK</guilabel>.</para></step>
903 </procedure>
904
905 <para>In the layer listing on the left, the DEM layer should reside
906 above the map layer. If this is not the case, highlight the DEM layer
907 an shift it one up (using the arrow up button).
908 </para>
909 <procedure>
910 <step><para>highlight the DEM layer in the layer listing on the left</para></step>
911 <step><para>in the toolbar, check DEM layer download/import (the last symbol)</para></step>
912 <step><para>a left-click in the map window should then fetch the DEM data</para></step>
913 </procedure>
914 <para>
915 This might take some time.
916 </para>
917 <para>
918 Sometimes, a tile does not show up correctly (you might see only a
919 black frame in the map window) because it got corrupted during
920 transfer. In order to correct this, you can delete the corresponding
921 datafile in the cache. <programlisting> right-click the DEM layer properties</programlisting>
922 </para>
923 <para>
924 The <guilabel>DEM Files</guilabel> listing allows you to delete the specific tiles (alternatively do this from the command line).
925 </para>
926 <para>
927 You can also alter the Min. and Max. elevation in this dialogue.
928 </para>
929
930 </section>
931 <section><title>GPS Track with Height Profile</title>
932 <procedure>
933 <step><para>uncheck the DEM layer (the map show up again)</para></step>
934 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New TrackWaypoint Layer</guimenuitem></menuchoice></para></step>
935 </procedure>
936 <para>
937 Ensure the new track layer is above the map layer.
938 </para>
939 <procedure>
940 <step><para>expand trackwaypointlayer, select <guimenuitem>Tracks</guimenuitem></para></step>
941 <step>
942 <para>
943 in the tools menu choose <guimenuitem>Begin Track</guimenuitem> which looks like this:
944 <figure>
945 <title>Begin Track Icon</title>
946 <screenshot>
947   <graphic format="PNG" fileref="figures/begintr_18.png"/>
948 </screenshot>
949 </figure>
950 </para></step>
951 <step><para>leftclick in the map window, enter a name</para></step>
952 <step><para>click several times to generate a track (a right-click removes the last point)</para></step>
953 <step><para>expand tracks in the layer menu, your track should show up, select it</para></step>
954 <step><para>right click your track, select <guimenuitem>Apply DEM data</guimenuitem></para></step>
955 <step><para>right click your track again, select <guimenuitem>Properies</guimenuitem></para></step>
956 <step><para>click the tab <guilabel>Elevation-distance</guilabel> - enjoy the plot</para></step>
957 </procedure>
958 <para>
959 In order to save this setting for later usage
960 </para>
961 <procedure>
962 <step><para>click <guilabel>OK</guilabel> in the <guilabel>Track Properties</guilabel> dialog</para></step>
963 <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>
964 </procedure>
965
966 </section>
967 <section><title>Usecase: offline data for holiday</title>
968 <para>
969 Suppose you want to have the map and DEM data offline for your holiday in Italy near Bologna.
970 </para>
971 <procedure>
972 <step><para>Start a new &appname; session.</para></step>
973 <step><para><menuchoice><guimenu>View</guimenu><guimenuitem>Go to Location</guimenuitem></menuchoice>, enter Bologna</para></step>
974 <step><para><menuchoice><guimenu>Layers</guimenu><guimenuitem>New Map Layer</guimenuitem></menuchoice></para></step>
975 <step><para>Choose e.g. <guilabel>OpenStreetMap (mapnik)</guilabel>.</para></step>
976 <step><para>adapt the <guilabel>maps directory</guilabel> e.g. to <filename>/home/user/.viking-map-holiday/</filename>.
977 This allows you to delete the map stuff after holiday without purging the rest of your maps.
978 </para></step>
979 <step><para>check <guilabel>autodownload map</guilabel></para></step>
980 <step><para>keep <guilabel>viking zoom level</guilabel></para></step>
981 <step><para>zoom out to 1024</para></step>
982 <step><para>add a DEM layer (as discussed above)</para></step>
983 <step><para>download the DEM data</para></step>
984 </procedure>
985 <para>In the &app; version discussed here, the DEM data automatically
986 are stored in <filename>/home/user/.viking-maps/</filename>. You can move the corresponding
987 tiles into <filename>.viking-map-holiday/</filename> if you like.
988 </para>
989 <para>
990 <emphasis role="bold">Download map data for all zoom levels</emphasis>
991 </para>
992 <procedure>
993 <step><para>uncheck the DEM layer for the map to show up</para></step>
994 <step><para>navigate the map to be centered at Bologna</para></step>
995 <step><para>choose the zoom such, that all regions of interest are displayed in the map window (e.g. 1024)</para></step>
996 <step>
997 <para>follow this sequence until you have all tiles for all zoom levels you need</para>
998 <substeps>
999 <step><para>right-click the map layer properties</para></step>
1000 <step><para>set the zoomlevel explicitely one below the last (in the first cycle 512), hit OK</para></step>
1001 <step><para>right click the map layer  <guimenuitem>Download Missing Onscreen Maps</guimenuitem></para></step>
1002 <step><para>wait until all tiles for that resolution have been downloaded</para></step>
1003 </substeps>
1004 </step>
1005 </procedure>
1006 <para>This may take some time and hd capacity. Lixus wrote a set of
1007 scripts which allow to download the map tiles for several zoom-level in
1008 parallel from the command line.
1009 </para>
1010 <para>
1011 Do not forget to save your configuration (as discussed above).
1012 </para>
1013
1014 </section>
1015
1016 </section>
1017 <section><title>Uploading data to OpenStreetMap</title>
1018 <para>
1019 It is possible to upload data directly from &appname; to OpenStreetMap.
1020 </para>
1021 <formalpara>
1022 <title>Upload a layer</title>
1023 <para>
1024 One solution is to upload whole a TrackWaypoint layer. To do this,
1025 simply select the layer and right click on it. Then, select <guimenuitem>Upload to
1026 OSM</guimenuitem>.
1027 </para>
1028 </formalpara>
1029 <formalpara>
1030 <title>Upload a single track</title>
1031 <para>One solution is to upload whole a TrackWaypoint layer. To do
1032 this, simply select the layer and right click on it. Then, select
1033 <guimenuitem>Upload to OSM</guimenuitem>.
1034 </para>
1035 </formalpara>
1036 <formalpara>
1037 <title>Fill in the form</title>
1038 <para>
1039 In both cases, &appname; will retain some information.
1040 The email field is the email you used to subscribed into OSM.
1041 The password field is the password you used with this account.
1042 The filename is the name you want your upload has on the server. This information is displayed by the osm server.
1043 The description is some descriptive information.
1044 The tags field is a white separated list of tag.
1045 </para> 
1046 </formalpara>
1047
1048 </section>
1049 <section><title>Geocoded Photo</title>
1050 <para>
1051 HOWTO GEOCODE YOUR PHOTOS AND SEE THEM IN VIKING 
1052 </para>
1053 <para>1) Synchronize your camera's clock with your GPS clock. If your
1054 camera's clock doesn't have a seconds value you can change, you might
1055 try setting the minute value just when the minute changes.
1056 </para>
1057 <para>
1058 2) Activate the track log on your GPS.
1059 </para>
1060 <para>3) Get outside and take some pictures with your camera while
1061 making sure your GPS has reception. If you forgot to turn your GPS on
1062 or forgot to bring it when you took a picture but you know where you
1063 took the picture, you can make a waypoint with a name of the format
1064 YYMMDDhhmm, representing the time the picture was taken, to record
1065 where you were at that time.
1066 </para>
1067 <para>4) Get home and download your pictures and GPS data. You can
1068 download the GPS data several ways. The first is using gpspoint to
1069 download from a Garmin GPS: <programlisting>gpspoint -p /dev/ttyS0 -dw -dt -of 2004-04-02-trip1</programlisting>
1070 </para>
1071 <para>
1072 Where /dev/ttyS0 is the serial port the GPS is connected to. If you
1073 don't have a Garmin GPS, or if you don't feel like install gpspoint,
1074 you can use my version of gpsbabel with support for gpspoint files. You
1075 can use gpsbabel to either translate the GPS data from a format you
1076 already have the data in or download it directly from your GPS
1077 reciever. A typical command line would something like this:<programlisting>gpsbabel -i garmin -f /dev/ttyS0 -o gpspoint -F 2004-04-02-trip1</programlisting>
1078 </para>
1079 <para>
1080 5) Launch GPSPhoto.
1081 </para>
1082 <para>
1083 6) You must now bring your photos into GPSPhoto. Either drag them (or
1084 the directory containing them) from your favorite file manager to the
1085 list on the left of the GPSPhoto window, or use the buttons below the
1086 list to find them.
1087 </para>
1088 <para>
1089 7) Do the same for your GPS data file(s), dragging them to the list on the right of the GPSPhoto Window.
1090 </para>
1091 <para>8) Click the Execute button, and choose a location to save the
1092 gpspoint file containing the waypoints for your photos. Then click OK
1093 to write the waypoints to this file.
1094 </para>
1095 <para>
1096 9) Open Viking and open both your original GPS data file and your image waypoint file just created.
1097 </para>
1098 </section>
1099
1100 <section>
1101     <title>Extending Viking</title>
1102
1103       <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>
1104       <para>Here is an example:
1105 <programlisting><![CDATA[
1106 <objects>
1107   <object class="ClassName">
1108     <property name="property_name1">Property value</property>
1109     <property name="property_name2">Property value</property>
1110   </object>
1111   ...
1112 <objects>
1113 ]]>
1114 </programlisting>
1115 </para>
1116       <para>You can find more examples in the documentation part of the distribution.</para>
1117       <section>
1118         <title>Map Source</title>
1119         <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename>.</para>
1120         <para>An example of the file in the distribution <filename>doc/examples/maps.xml</filename>.</para>
1121         <para>The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties:
1122           <variablelist>
1123             <varlistentry>
1124               <term>id</term>
1125               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1126             </varlistentry>
1127             <varlistentry>
1128               <term>label</term>
1129               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1130             </varlistentry>
1131             <varlistentry>
1132               <term>hostname</term>
1133               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1134             </varlistentry>
1135             <varlistentry>
1136               <term>url</term>
1137               <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>
1138             </varlistentry>
1139           </variablelist>
1140         </para>
1141         <para>The VikTmsMapSource allows to declare any TMS service. It supports the following properties:
1142           <variablelist>
1143             <varlistentry>
1144               <term>id</term>
1145               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1146             </varlistentry>
1147             <varlistentry>
1148               <term>label</term>
1149               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1150             </varlistentry>
1151             <varlistentry>
1152               <term>hostname</term>
1153               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1154             </varlistentry>
1155             <varlistentry>
1156               <term>url</term>
1157               <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>
1158             </varlistentry>
1159           </variablelist>
1160         </para>
1161         <para>The VikWmscMapSource allows to declare any WMS or WMS-C service. It supports the following properties:
1162           <variablelist>
1163             <varlistentry>
1164               <term>id</term>
1165               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
1166             </varlistentry>
1167             <varlistentry>
1168               <term>label</term>
1169               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
1170             </varlistentry>
1171             <varlistentry>
1172               <term>hostname</term>
1173               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1174             </varlistentry>
1175             <varlistentry>
1176               <term>url</term>
1177               <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>
1178             </varlistentry>
1179           </variablelist>
1180         </para>
1181       </section>
1182
1183       <section>
1184         <title>Go-to search engines</title>
1185         <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>
1186         <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
1187         <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>
1188         <para>The related properties are:
1189           <variablelist>
1190             <varlistentry>
1191               <term>label</term>
1192               <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
1193             </varlistentry>
1194             <varlistentry>
1195               <term>url-format</term>
1196               <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>
1197             </varlistentry>
1198             <varlistentry>
1199               <term>lat-path</term>
1200               <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1201             </varlistentry>
1202             <varlistentry>
1203               <term>lat-attr (optional)</term>
1204               <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
1205             </varlistentry>
1206             <varlistentry>
1207               <term>lon-path</term>
1208               <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
1209             </varlistentry>
1210             <varlistentry>
1211               <term>lon-attr (optional)</term>
1212               <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
1213             </varlistentry>
1214           </variablelist>
1215         </para>
1216         <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>
1217       </section>
1218
1219       <section>
1220         <title>Webtools</title>
1221         <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
1222         <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
1223         <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>
1224         <para>The related properties are:
1225           <variablelist>
1226             <varlistentry>
1227               <term>id</term>
1228               <listitem><para>this is an integer and should be unique as it used to identify the tool</para></listitem>
1229             </varlistentry>
1230             <varlistentry>
1231               <term>label</term>
1232               <listitem><para>the text displayed in the menu entry</para></listitem>
1233             </varlistentry>
1234             <varlistentry>
1235               <term>url</term>
1236               <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>
1237             </varlistentry>
1238           </variablelist>
1239         </para>
1240       </section>
1241
1242 </section>
1243
1244 <section><title>What to Do if &appname; Does Not Seem to Work</title>
1245 <para>
1246 In order to get some information about what &appname; is doing, start it in verbose debug mode via the command line:
1247 <programlisting>viking -dV</programlisting>
1248 </para>
1249 <para>
1250 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.
1251 E.g. Something like this for DEMs:
1252 <screen>
1253 ** (viking:28778): DEBUG: curl_download_uri: uri=http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip
1254 * About to connect() to dds.cr.usgs.gov port 80 (#0)
1255 * Trying 152.61.128.95... * connected
1256 * Connected to dds.cr.usgs.gov (152.61.128.95) port 80 (#0)
1257  GET /srtm/version2_1/SRTM3/Eurasia/N48E008.hgt.zip HTTP/1.1
1258 User-Agent: viking/0.9.8 libcurl/7.18.2 GnuTLS/2.4.2 zlib/1.2.3.3 libidn/1.8
1259 Host: dds.cr.usgs.gov
1260 Accept: */*
1261  HTTP/1.1 200 OK
1262  Date: Sun, 26 Jul 2009 18:13:38 GMT
1263  Server: Apache
1264  Last-Modified: Tue, 21 Jul 2009 19:57:35 GMT
1265  ETag: eac3f8-1828f5-46f3caa76070a
1266  Accept-Ranges: bytes
1267  Content-Length: 1583349
1268  Content-Type: application/zip
1269
1270 * Connection #0 to host dds.cr.usgs.gov left intact
1271 * Closing connection #0
1272 ** (viking:28778): DEBUG: dem_layer_add_file: /home/username/.viking-maps/srtm3-Eurasia/N48E008.hgt.zip
1273 </screen>
1274 Or for OSM Mapnik tile server:
1275 <screen>
1276 * About to connect() to tile.openstreetmap.org port 80 (#0)
1277 *   Trying 193.63.75.28... * connected
1278 * Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1279  GET /13/4065/2748.png HTTP/1.1
1280 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1281 Host: tile.openstreetmap.org
1282 Accept: */*
1283
1284 * HTTP 1.0, assume close after body
1285  HTTP/1.0 200 OK
1286  Date: Thu, 14 Oct 2010 22:18:42 GMT
1287  Server: Apache/2.2.8 (Ubuntu)
1288  ETag: "b66ff9d46474bab68262a3483428a232"
1289 ** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "b66ff9d46474bab68262a3483428a232"
1290  Content-Length: 17194
1291  Cache-Control: max-age=94805
1292  Expires: Sat, 16 Oct 2010 00:38:47 GMT
1293  Content-Type: image/png
1294  Age: 5153
1295  X-Cache: HIT from konqi.openstreetmap.org
1296  X-Cache-Lookup: HIT from konqi.openstreetmap.org:3128
1297  Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1298  Connection: close
1299  
1300 * Closing connection #0
1301 * About to connect() to a.andy.sandbox.cloudmade.com port 80 (#0)
1302 *   Trying 178.63.75.195... ** (viking:16704): DEBUG: curl_download_uri: uri=http://tile.openstreetmap.org/13/4065/2749.png
1303 * About to connect() to tile.openstreetmap.org port 80 (#0)
1304 *   Trying 193.63.75.28... * connected
1305 * Connected to a.andy.sandbox.cloudmade.com (178.63.75.195) port 80 (#0)
1306  GET /tiles/cycle/13/4065/2747.png HTTP/1.1
1307 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1308 Host: a.andy.sandbox.cloudmade.com
1309 Accept: */*
1310
1311 * connected
1312 * Connected to tile.openstreetmap.org (193.63.75.28) port 80 (#0)
1313  GET /13/4065/2749.png HTTP/1.1
1314 User-Agent: viking/0.9.96 libcurl/7.20.1 GnuTLS/2.8.6 zlib/1.2.3.4 libidn/1.18
1315 Host: tile.openstreetmap.org
1316 Accept: */*
1317
1318 * HTTP 1.0, assume close after body
1319  HTTP/1.0 200 OK
1320  Date: Thu, 14 Oct 2010 23:44:35 GMT
1321  Server: Apache/2.2.8 (Ubuntu)
1322  ETag: "8e520ad47ce9c1b63430554886eb5fab"
1323 ** (viking:16704): DEBUG: curl_get_etag_func: ETAG found: "8e520ad47ce9c1b63430554886eb5fab"
1324  Content-Length: 18094
1325  Cache-Control: max-age=87742
1326  Expires: Sat, 16 Oct 2010 00:06:57 GMT
1327  Content-Type: image/png
1328  X-Cache: MISS from konqi.openstreetmap.org
1329  X-Cache-Lookup: MISS from konqi.openstreetmap.org:3128
1330  Via: 1.1 konqi.openstreetmap.org:3128 (squid/2.7.STABLE7)
1331  Connection: close
1332 </screen>
1333 </para>
1334 </section>
1335
1336 </section>
1337
1338 </article>