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