]> git.street.me.uk Git - andy/viking.git/blob - help/viking.xml.in
Remove as OSRM routing option as it no longer supports GPX output.
[andy/viking.git] / help / viking.xml.in
1 <?xml version='1.0' encoding='ISO-8859-1'?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4
5 <!--
6
7 Process this file with an XSLT processor: `xsltproc \
8 -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
9 manpages/docbook.xsl manpage.dbk'.  A manual page
10 <package>.<section> will be generated.  You may view the
11 manual page with: nroff -man <package>.<section> | less'.  A
12 typical entry in a Makefile or Makefile.am is:
13
14 DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
15 manpages/docbook.xsl
16 XP=xsltproc -''-nonet
17
18 manpage.1: manpage.dbk
19         $(XP) $(DB2MAN) $<
20     
21 The xsltproc binary is found in the xsltproc package.  The
22 XSL files are in docbook-xsl.  Please remember that if you
23 create the nroff version in one of the debian/rules file
24 targets (such as build), you will need to include xsltproc
25 and docbook-xsl in your Build-Depends control field.
26
27 -->
28
29   <!-- Fill in your name for FIRSTNAME and SURNAME. -->
30   <!ENTITY dhfirstname "<firstname>Ralf</firstname>">
31   <!ENTITY dhsurname   "<surname>Meyer</surname>">
32   <!ENTITY dhdate      "<date>@ISODATE@</date>">
33   <!ENTITY dhsource      "Viking">
34   <!ENTITY dhversion     "@PACKAGE_VERSION@">
35   <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
36        allowed: see man(7), man(1). -->
37   <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
38   <!ENTITY dhemail     "<email>ranfyy@gmail.com</email>">
39   <!ENTITY dhusername  "Ralf Meyer">
40   <!ENTITY dhucpackage "<refentrytitle>VIKING</refentrytitle>">
41   <!ENTITY dhpackage   "viking">
42
43   <!ENTITY debian      "<productname>Debian</productname>">
44   <!ENTITY gnu         "<acronym>GNU</acronym>">
45   <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
46 ]>
47
48 <reference>
49 <title>&dhsource; &dhversion;</title>
50
51 <refentry xmlns:xi="http://www.w3.org/2001/XInclude">
52   <refentryinfo>
53     <address>
54       &dhemail;
55     </address>
56     <copyright>
57       <year>2007</year>
58       <holder>&dhusername;</holder>
59     </copyright>
60     <copyright>
61       <year>2010</year>
62       <holder>Guilhem Bonnefille</holder>
63     </copyright>
64     <copyright>
65       <year>2013</year>
66       <holder>Rob Norris</holder>
67     </copyright>
68     &dhdate;
69   </refentryinfo>
70   <refmeta>
71     &dhucpackage;
72     &dhsection;
73     <refmiscinfo CLASS="source">&dhsource;</refmiscinfo>
74     <refmiscinfo CLASS="version">&dhversion;</refmiscinfo>
75   </refmeta>
76   <refnamediv>
77     <refname>&dhpackage;</refname>
78
79     <refpurpose>program to manage GPS data</refpurpose>
80   </refnamediv>
81   <refsynopsisdiv>
82     <cmdsynopsis>
83       <command>&dhpackage;</command>
84       <group choice="opt">
85         <arg choice="plain"><option>-d</option></arg>
86         <arg choice="plain"><option>--debug</option></arg>
87       </group>
88       <group choice="opt">
89         <arg choice="plain"><option>-V</option></arg>
90         <arg choice="plain"><option>--verbose</option></arg>
91       </group>
92       <sbr/>
93       <group choice="opt">
94         <arg choice="plain"><option>--latitude</option> <replaceable>degrees</replaceable></arg>
95       </group>
96       <group choice="opt">
97         <arg choice="plain"><option>--longitude</option> <replaceable>degrees</replaceable></arg>
98       </group>
99       <sbr/>
100       <group choice="opt">
101         <arg choice="plain"><option>-z</option></arg>
102         <arg choice="plain"><option>--zoom</option> <replaceable>ZoomLevelOSM</replaceable></arg>
103       </group>
104       <group choice="opt">
105         <arg choice="plain"><option>-m</option></arg>
106         <arg choice="plain"><option>--map</option> <replaceable>MapId</replaceable></arg>
107       </group>
108       <sbr/>
109       <arg rep="repeat"><replaceable>file</replaceable></arg>
110     </cmdsynopsis>
111     <cmdsynopsis>
112       <command>&dhpackage;</command>
113       <group choice="opt">
114         <arg choice="plain"><option>-h</option></arg>
115         <arg choice="plain"><option>--help</option></arg>
116       </group>
117     </cmdsynopsis>
118     <cmdsynopsis>
119       <command>&dhpackage;</command>
120       <group choice="opt">
121         <arg choice="plain"><option>-v</option></arg>
122         <arg choice="plain"><option>--version</option></arg>
123       </group>
124     </cmdsynopsis>
125   </refsynopsisdiv>
126   <refsect1>
127     <title>DESCRIPTION</title>
128
129     <para>
130       Viking is a program to manage GPS data.
131     </para>
132     <para>  
133       You can import and plot tracks, routes and waypoints, show OpenStreetMap (OSM) and/or other maps, generate maps (using Mapnik),
134        geotag images, add coordinate lines, make new tracks, routes and waypoints, hide different things, etc.
135       It is written mainly in C with some C++ and uses the GTK+ 2 toolkit. It is available for Linux, other POSIX operating systems and Windows.
136     </para>
137     <para>  
138       Homepage: <ulink type="http" url="http://viking.sf.net">http://viking.sf.net</ulink>
139     </para>
140     <para>  
141       Viking is licensed under the GNU GPL.
142     </para>
143
144   </refsect1>
145   <refsect1>
146     <title>OPTIONS</title>
147
148     <variablelist>
149       <varlistentry>
150         <term><option>file</option></term>
151         <listitem>
152           <para>Specify file to load at start.</para>
153         </listitem>
154       </varlistentry>
155       <varlistentry>
156         <term><option>-d</option></term>
157         <term><option>--debug</option></term>
158         <listitem>
159           <para>Enable debug output.</para>
160         </listitem>
161       </varlistentry>
162       <varlistentry>
163         <term><option>-V</option></term>
164         <term><option>--verbose</option></term>
165         <listitem>
166           <para>Enable verbose output.</para>
167         </listitem>
168       </varlistentry>
169       <varlistentry>
170         <term><option>-?</option></term>
171         <term><option>--help</option></term>
172         <listitem>
173           <para>Show help options.</para>
174         </listitem>
175       </varlistentry>
176       <varlistentry>
177         <term><option>-v</option></term>
178         <term><option>--version</option></term>
179         <listitem>
180           <para>Show version.</para>
181         </listitem>
182       </varlistentry>
183       <varlistentry>
184         <term><option>--latitude</option></term>
185         <listitem>
186           <para>Set the initial position to the specified latitude in decimal degrees.</para>
187         </listitem>
188       </varlistentry>
189       <varlistentry>
190         <term><option>--longitude</option></term>
191         <listitem>
192           <para>Set the initial position to the specified longitude in decimal degrees.</para>
193         </listitem>
194       </varlistentry>
195       <varlistentry>
196         <term><option>-z</option></term>
197         <term><option>--zoom</option></term>
198         <listitem>
199           <para>Set the initial zoom level. The value is the OSM zoom level (0 - 22).</para>
200         </listitem>
201       </varlistentry>
202       <varlistentry>
203         <term><option>-m</option></term>
204         <term><option>--map</option></term>
205         <listitem>
206           <para>Add a map layer by specifying the map id. The value needs to match one of the internal ids or an id from the maps configuration extension (see below).
207           Specifying a value of 0 will use the configured map layer default.</para>
208 <variablelist>
209   <varlistentry><term></term><listitem><para>Internal Map Ids:</para></listitem></varlistentry>
210   <varlistentry><term></term><listitem><para>OSM Mapnik = 13</para></listitem></varlistentry>
211   <varlistentry><term></term><listitem><para>OSM Cycle = 17</para></listitem></varlistentry>
212   <varlistentry><term></term><listitem><para>Mapquest OSM = 19</para></listitem></varlistentry>
213 </variablelist>
214         </listitem>
215       </varlistentry>
216     </variablelist>
217
218   </refsect1>
219   <refsect1>
220     <title>Extending Viking</title>
221
222       <para>Currently, &dhpackage; has some extension 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>
223       <para>Here is an example:
224 <literallayout><![CDATA[
225 <objects>
226   <object class="ClassName">
227     <property name="property_name1">Property value</property>
228     <property name="property_name2">Property value</property>
229   </object>
230   ...
231 <objects>
232 ]]>
233 </literallayout>
234 </para>
235       <para>You can find more examples in the documentation part of the distribution.</para>
236       <formalpara>
237         <title>Map Source</title>
238         <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename>.</para>
239         <para>An example of the file in the distribution <filename>doc/examples/maps.xml</filename>.</para>
240         <para>The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties:
241           <variablelist>
242             <varlistentry>
243               <term>id</term>
244               <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
245             </varlistentry>
246             <varlistentry>
247               <term>name</term>
248               <listitem><para>a string (should be unique) that is used for the OSM style cache directory name when the Map Cache directory is the default (<filename>~/.viking-maps</filename>)</para></listitem>
249             </varlistentry>
250             <varlistentry>
251               <term>label</term>
252               <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
253             </varlistentry>
254             <varlistentry>
255               <term>hostname</term>
256               <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
257             </varlistentry>
258             <varlistentry>
259               <term>url</term>
260               <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png")</para></listitem>
261             </varlistentry>
262             <varlistentry>
263               <term>zoom-min (optional)</term>
264               <listitem><para>The minimum zoom value supported by the tile server. The Default is 0 if not specified.</para></listitem>
265             </varlistentry>
266             <varlistentry>
267               <term>zoom-max (optional)</term>
268               <listitem>
269                  <para>The maximum zoom value supported by the tile server. The Default is 18 if not specified.</para>
270                  <para>See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
271               </listitem>
272             </varlistentry>
273             <varlistentry>
274               <term>lat-min (optional)</term>
275               <listitem><para>The minimum latitude value in degrees supported by the tile server. The Default is -90 degrees if not specified.</para></listitem>
276             </varlistentry>
277             <varlistentry>
278               <term>lat-max (optional)</term>
279               <listitem><para>The maximum latitude value in degrees supported by the tile server. The Default is 90 degrees if not specified.</para></listitem>
280             </varlistentry>
281             <varlistentry>
282               <term>lon-min (optional)</term>
283               <listitem><para>The minimum longitude value in degrees supported by the tile server. The Default is -180 degrees if not specified.</para></listitem>
284             </varlistentry>
285             <varlistentry>
286               <term>lon-max (optional)</term>
287               <listitem><para>The maximum longitude value in degrees supported by the tile server. The Default is 180 degrees if not specified.</para></listitem>
288             </varlistentry>
289             <varlistentry>
290               <term>file-extension (optional)</term>
291               <listitem>
292                 <para>The file extension of the files on disk. The default is <emphasis>.png</emphasis></para>
293                 <para>If the tile source URL ends in something other than .png, then this parameter will need to match it.</para>
294                 <para>This can also be useful in reading a tileset from other software which may name tiles in an alternative form,
295                       e.g. for Mobile Atlas creator it names them <emphasis>.png.tile</emphasis></para>
296                 <note><para>The file types actually usable are those supported by GDK Pixbuf Library, which includes at least PNG and JPEG.</para></note>
297                 <note><para>Remember to include the beginning <emphasis>'.'</emphasis> when specifying this parameter.</para></note>
298               </listitem>
299             </varlistentry>
300             <varlistentry>
301               <term>switch-xy (optional)</term>
302               <listitem>
303                 <para>Swap the X,Y values around in the URL parametrized ordering.</para>
304                 <para>The default is false.</para>
305               </listitem>
306             </varlistentry>
307             <varlistentry>
308               <term>check-file-server-time (optional)</term>
309               <listitem>
310                 <para>Sends the timestamp of the tile to the server, so the server can decide whether it should send a new tile or not.</para>
311                 <para>The default is false.</para>
312               </listitem>
313             </varlistentry>
314             <varlistentry>
315               <term>use-etag (optional)</term>
316               <listitem>
317                 <para>Use and compare the <ulink url="http://en.wikipedia.org/wiki/HTTP_ETag">ETag</ulink> value in determining whether to download a newer tile. The default is false.</para>
318                 <para>The ETag value is stored in a separate file in the same directory as the tile to enable checking the value across multiple runs of the program.</para>
319               </listitem>
320             </varlistentry>
321           </variablelist>
322         </para>
323         <para>The VikTmsMapSource allows to declare any TMS service. It supports the following properties (as per VikSlippyMapSource above):
324           <variablelist>
325             <varlistentry>
326               <term>id</term>
327             </varlistentry>
328             <varlistentry>
329               <term>label</term>
330             </varlistentry>
331             <varlistentry>
332               <term>hostname</term>
333             </varlistentry>
334             <varlistentry>
335               <term>url</term>
336             </varlistentry>
337             <varlistentry>
338               <term>check-file-server-time (optional)</term>
339             </varlistentry>
340             <varlistentry>
341               <term>zoom-min (optional)</term>
342             </varlistentry>
343             <varlistentry>
344               <term>zoom-max (optional)</term>
345             </varlistentry>
346             <varlistentry>
347               <term>lat-min (optional)</term>
348             </varlistentry>
349             <varlistentry>
350               <term>lat-max (optional)</term>
351             </varlistentry>
352             <varlistentry>
353               <term>lon-min (optional)</term>
354             </varlistentry>
355             <varlistentry>
356               <term>lon-max (optional)</term>
357             </varlistentry>
358           </variablelist>
359         </para>
360         <para>The VikWmscMapSource allows to declare any WMS or WMS-C service. It supports the following properties  (as per VikSlippyMapSource above):
361           <variablelist>
362             <varlistentry>
363               <term>id</term>
364             </varlistentry>
365             <varlistentry>
366               <term>label</term>
367             </varlistentry>
368             <varlistentry>
369               <term>hostname</term>
370             </varlistentry>
371             <varlistentry>
372               <term>url</term>
373             </varlistentry>
374             <varlistentry>
375               <term>check-file-server-time (optional)</term>
376             </varlistentry>
377             <varlistentry>
378               <term>zoom-min (optional)</term>
379             </varlistentry>
380             <varlistentry>
381               <term>zoom-max (optional)</term>
382             </varlistentry>
383             <varlistentry>
384               <term>lat-min (optional)</term>
385             </varlistentry>
386             <varlistentry>
387               <term>lat-max (optional)</term>
388             </varlistentry>
389             <varlistentry>
390               <term>lon-min (optional)</term>
391             </varlistentry>
392             <varlistentry>
393               <term>lon-max (optional)</term>
394             </varlistentry>
395           </variablelist>
396         </para>
397       </formalpara>
398
399       <formalpara>
400         <title>Go-to search engines</title>
401         <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>
402         <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
403         <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>
404         <para>The related properties are:
405           <variablelist>
406             <varlistentry>
407               <term>label</term>
408               <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
409             </varlistentry>
410             <varlistentry>
411               <term>url-format</term>
412               <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>
413             </varlistentry>
414             <varlistentry>
415               <term>lat-path</term>
416               <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
417             </varlistentry>
418             <varlistentry>
419               <term>lat-attr (optional)</term>
420               <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
421             </varlistentry>
422             <varlistentry>
423               <term>lon-path</term>
424               <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
425             </varlistentry>
426             <varlistentry>
427               <term>lon-attr (optional)</term>
428               <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
429             </varlistentry>
430           </variablelist>
431         </para>
432         <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>
433       </formalpara>
434
435       <formalpara>
436         <title>External tools</title>
437         <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
438         <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
439         <para>The VikWebtoolCenter allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
440         <para>The related properties are:
441           <variablelist>
442             <varlistentry>
443               <term>label</term>
444               <listitem><para>the text displayed in the menu entry</para></listitem>
445             </varlistentry>
446             <varlistentry>
447               <term>url</term>
448               <listitem><para>the parametrized URL to open, in the spirit of C printf format, with 2 "%s" and a "%d" fields for X, Y and Z (zoom level) (eg. "http://hostname/?lat=%s&amp;lon=%s&amp;zoom=%d")</para></listitem>
449             </varlistentry>
450           </variablelist>
451         </para>
452         <para>The VikWebtoolBounds allows to declare any Webtool using a logic based on bounds coordinates.</para>
453         <para>The related properties are:
454           <variablelist>
455             <varlistentry>
456               <term>label</term>
457               <listitem><para>the text displayed in the menu entry</para></listitem>
458             </varlistentry>
459             <varlistentry>
460               <term>url</term>
461               <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for left, right, bottom and top (eg. "http://hostname:8111/load_and_zoom?left=%s&amp;right=%s&amp;bottom=%s&amp;top=%s")</para></listitem>
462             </varlistentry>
463           </variablelist>
464         </para>
465       </formalpara>
466
467       <formalpara>
468         <title>Remote File Datasources</title>
469         <para>It is possible to add web references expected to return a file which can then be opened directly or converted via GPSBabel.</para>
470         <para>The file is <filename>~/.viking/datasources.xml</filename>.</para>
471         <para>An example of the file is in the source distribution <filename>doc/examples/datasources.xml</filename>.</para>
472         <para>The VikWebtoolDatasource allows to declare any URL using logic based on coordinates.</para>
473         <para>The related properties are:
474           <variablelist>
475             <varlistentry>
476               <term>label</term>
477               <listitem><para>the text displayed in the menu entry</para></listitem>
478             </varlistentry>
479             <varlistentry>
480               <term>url</term>
481               <listitem>
482                 <para>the parametrized URL to open in the spirit of C printf format, with up to 7 "%s" values. e.g. <literal>http://hostname/getfile?lat=%s&amp;lon=%s</literal></para>
483                 <para>The order and meaning of these parameters is given by the url_format_code below</para>
484               </listitem>
485             </varlistentry>
486             <varlistentry>
487               <term>url_format_code</term>
488               <listitem>
489                 <para>A string describing the parametrized URL substitution parameters, each character represents how to translate each term.</para>
490                 <para>B = Bottom of the current view i.e. minimum latitude</para>
491                 <para>L = Left of the current view i.e. minimum longitude</para>
492                 <para>T = Top of the current view i.e. maximum latitude</para>
493                 <para>R = Right of the current view i.e. maximum longitude</para>
494                 <para>A = center lAtitude of the current view</para>
495                 <para>O = center lOngitude of the current view</para>
496                 <para>Z = OSM Zoom value of the current view. See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
497                 <para>S = A user specified input string requested from the user via a dialog box</para>
498                 <para>Thus for the url example above then the format code should be <emphasis>AO</emphasis></para>
499               </listitem>
500             </varlistentry>
501             <varlistentry>
502               <term>file_type</term>
503               <listitem>
504                 <para>This value is passed on for the -i parameter in interfacing with GPSBabel.</para>
505                 <para>If it is not defined then the returned file is interpreted internally as a GPX file.</para>
506                 <para>Possible values such as 'kml', 'mapsource' etc.. can be used. See <ulink url="http://www.gpsbabel.org/capabilities.html">GPSBabel File Formats</ulink> for the full list.</para>
507               </listitem>
508             </varlistentry>
509             <varlistentry>
510               <term>babel_filter_args</term>
511               <listitem>
512                 <para>This value is passed on for the filter arguments interfacing with GPSBabel.</para>
513                 <para>E.g. "-x nuketypes,routes" can be used to filter all routes from the results.</para>
514               </listitem>
515             </varlistentry>
516              <varlistentry>
517               <term>input_label</term>
518               <listitem>
519                 <para>This value is used when requesting input from the user.</para>
520                 <para>It is the label of the text input box.</para>
521               </listitem>
522             </varlistentry>
523           </variablelist>
524         </para>
525       </formalpara>
526
527   </refsect1>
528   <refsect1>
529     <title>FILES</title>
530
531     <variablelist>
532       <varlistentry>
533         <term><filename>~/.viking/maps.xml</filename></term>
534         <listitem>
535           <para>File containing definition of map sources.</para>
536           <para>See previous section for details.</para>
537        </listitem>
538       </varlistentry>
539       <varlistentry>
540         <term><filename>~/.viking/goto_tools.xml</filename></term>
541         <listitem>
542           <para>File containing definition of "Go-to" services.</para>
543           <para>See previous section for details.</para>
544        </listitem>
545       </varlistentry>
546       <varlistentry>
547         <term><filename>~/.viking/external_tools.xml</filename></term>
548         <listitem>
549           <para>File containing definition of external tools.</para>
550           <para>See previous section for details.</para>
551        </listitem>
552       </varlistentry>
553       <varlistentry>
554         <term><filename>~/.viking/datasources.xml</filename></term>
555         <listitem>
556           <para>File containing definition of remote file datasources.</para>
557           <para>See previous section for details.</para>
558        </listitem>
559       </varlistentry>
560       <varlistentry>
561         <term><filename>~/.viking/viking.prefs</filename></term>
562         <listitem>
563           <para>Preferences for &dhpackage;.</para>
564         </listitem>
565       </varlistentry>
566       <varlistentry>
567         <term><filename>~/.viking/viking_layer_defaults.ini</filename></term>
568         <listitem>
569           <para>Layer default values for &dhpackage;.</para>
570         </listitem>
571       </varlistentry>
572       <varlistentry>
573         <term><filename>~/.viking/viking.ini</filename></term>
574         <listitem>
575           <para>Values for &dhpackage; automatically saved between sessions.</para>
576           <para>Not generally intended to be manually edited.</para>
577           <para>However some finer control of default internal values can be set.</para>
578         </listitem>
579       </varlistentry>
580       <varlistentry>
581         <term><filename>~/.viking/keys.rc</filename></term>
582         <listitem>
583           <para>File containing short cut key accelerators.</para>
584           <para>This is in the standard GTK Accelerator map format.</para>
585        </listitem>
586       </varlistentry>
587       <varlistentry>
588         <term><filename>~/.viking/cookies.txt</filename></term>
589         <listitem>
590           <para>File hosting cookies used by &dhpackage;.</para>
591         </listitem>
592       </varlistentry>
593       <varlistentry>
594         <term><filename>~/.viking-maps/</filename></term>
595         <listitem>
596           <para>Default location of the map cache of tiles downloaded or created by &dhpackage;.</para>
597         </listitem>
598       </varlistentry>
599     </variablelist>
600
601         <para>Extension files (<filename>maps.xml</filename>,
602         <filename>goto_tools.xml</filename>,
603         <filename>datasources.xml</filename>,
604         <filename>external_tools.xml</filename>)
605         are also searched in <filename>/etc/viking</filename> and
606         <filename>/usr/share/viking</filename> directories (or related in your system).</para>
607
608   </refsect1>
609   <refsect1>
610     <title>ENVIRONMENT</title>
611
612     <variablelist>
613       <varlistentry>
614         <term><envar>XDG_DATA_HOME</envar></term>
615         <listitem>
616           <para>Optional directory to look for extension files
617           (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>,
618           <filename>external_tools.xml</filename>).</para>
619        </listitem>
620       </varlistentry>
621       <varlistentry>
622         <term><envar>XDG_DATA_DIRS</envar></term>
623         <listitem>
624           <para>Path used to change the directories scanned for extension files
625           (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>,
626           <filename>external_tools.xml</filename>).</para>
627        </listitem>
628       </varlistentry>
629     </variablelist>
630
631   </refsect1>
632   <refsect1>
633     <title>AUTHOR</title>
634
635     <para>This manual page was originally written by &dhusername; &dhemail; for
636       the &debian; system (but may be used by others).  Permission is
637       granted to copy, distribute and/or modify this document under
638       the terms of the &gnu; General Public License, Version 2 any 
639           later version published by the Free Software Foundation.
640     </para>
641         <para>
642           On Debian systems, the complete text of the GNU General Public
643           License can be found in /usr/share/common-licenses/GPL.
644         </para>
645
646   </refsect1>
647 </refentry>
648 </reference>