/[thuban]/branches/WIP-pyshapelib-bramz/Doc/manual/thuban-manual.xml
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/Doc/manual/thuban-manual.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1570 - (hide annotations)
Fri Aug 8 17:09:02 2003 UTC (21 years, 7 months ago) by jan
Original Path: trunk/thuban/Doc/manual/thuban-manual.xml
File MIME type: text/xml
File size: 58835 byte(s)
Now use authorgroup. Added revhistory with version number.
Changed title to reflect version number of Thuban.

1 bh 1367 <?xml version="1.0" encoding="ISO-8859-1"?>
2     <!DOCTYPE book
3     PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
4 jonathan 1490 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
5     [<!ENTITY imgscale "70">]>
6 bh 1369 <!-- $Revision$ -->
7 bh 1367 <book>
8     <bookinfo>
9 jan 1570 <title>User's Manual for Thuban 1.0</title>
10     <authorgroup>
11     <author>
12     <firstname>Jonathan</firstname><surname>Coles</surname>
13     </author>
14     <author>
15     <firstname>Jan-Oliver</firstname><surname>Wagner</surname>
16     </author>
17     <author>
18     <firstname>Frank</firstname><surname>Koormann</surname>
19     </author>
20     </authorgroup>
21 bh 1367 <copyright>
22     <year>2003</year>
23     <holder>Intevation GmbH</holder>
24     </copyright>
25 jan 1570 <revhistory>
26     <revision>
27     <revnumber>1.0pre1</revnumber>
28     <date>08-Aug-2003</date>
29     <revremark>Corresponds to Thuban development release 0.8.1</revremark>
30     </revision>
31     </revhistory>
32    
33 bh 1367 </bookinfo>
34    
35     <chapter><title>Introduction</title>
36     <para>
37 jan 1544 Thuban is an interactive geographic data viewer.
38     It has been developed because there was no simple interactive
39 jonathan 1446 viewer for geographic information available as Free Software. Thuban is
40     written in Python and C++ and uses the wxWindows library allowing it to
41     run on many different platforms, including GNU/Linux and Windows.
42 bh 1367 </para>
43 jonathan 1446 <para>
44 jan 1544 Geographic data viewers are a necessary tool as they allow one to
45     get a visual
46 jonathan 1446 impression of the positional relationship of the information that may not
47     be apparent from simple inspection of the data values themselves.
48     Thuban allows the user to create a session that displays
49     geographic data and then explore that data through navigation and
50     manipulation of how it is drawn. The results can then be saved or printed.
51     </para>
52     <para>
53     Thuban arranges a session in a hierarchy. A session contains a map which
54     consists of layers. Each layer represents one kind of data set. For
55     instance, there may be a layer for roads and another layer for buildings.
56     These layers can either be vector shapes or images.
57     </para>
58 jan 1423
59     <section><title>Installation</title>
60 jonathan 1446 <para>
61     Thuban is actively supported under Debian Testing (sarge), RedHat 7.2,
62 jonathan 1533 and Windows 2000. Thuban depends on the following packages. These
63     packages can also be found on the
64 jonathan 1446 <ulink url="http://thuban.intevation.org/download.html">
65     Thuban Download site
66     </ulink>.
67 frank 1532 <itemizedlist>
68 jonathan 1533 <listitem><para>Python 2.2.1 (<literal>http://www.python.org</literal>)</para></listitem>
69     <listitem><para>wxWindows 2.4 (<literal>http://www.wxwindows.org</literal>)</para></listitem>
70     <listitem><para>wxPython 2.4 (<literal>http://www.wxpython.org</literal>)</para></listitem>
71     <listitem><para>proj 4.4.5 Projection Library (<literal>http://www.remotesensing.org/proj/</literal>)</para></listitem>
72     <listitem><para>GDAL 1.1.8 (<literal>http://www.remotesensing.org/gdal/</literal>)</para></listitem>
73     <listitem><para>SQLite 2.8.3 (<literal>http://www.hwaci.com/sw/sqlite/</literal>)</para></listitem>
74     <listitem><para>PySQLite 0.4.3 (<literal>http://pysqlite.sourceforge.net</literal>)</para></listitem>
75     </itemizedlist>
76 jonathan 1446 </para>
77 jan 1544 <para>
78     Along with the source codes, the download page also offers
79     full installation packages for Debian, Windows and RPM-based systems
80     (Mandrake, RedHat, SuSE, etc).
81     </para>
82 jan 1423 </section>
83    
84 jonathan 1446 <section><title>The Main Window</title>
85 jan 1423 <para>
86 frank 1532 <figure>
87     <title>The Main Window</title>
88 jonathan 1446 <mediaobject>
89 jonathan 1490 <imageobject> <imagedata fileref="../images/1_2_mainwindow.png" format="PNG" scale="&imgscale;"/> </imageobject>
90     <imageobject> <imagedata fileref="./images/1_2_mainwindow.ps" format="EPS" scale="&imgscale;"/> </imageobject>
91 jonathan 1446 </mediaobject>
92 frank 1532 </figure>
93 jonathan 1446 </para>
94    
95     <para>
96 jonathan 1466 The map window shows the current state of the map and is where
97 jonathan 1446 the user can interact with the map using the tools.
98     </para>
99    
100     <para>
101 jonathan 1466 The legend on the left displays a list of the current layers and
102     any visible classification groups. In the example, each shape layer
103     has a default classification which specifies how the shapes in each
104     layer are drawn. Layers that are higher in the list appear
105     ``closer'' to the user. The legend can be closed by clicking on the
106     small X in the upper right-hand region of the legend.
107     To open it again, use
108 jonathan 1446 <menuchoice>
109     <guimenu>Map</guimenu>
110     <guimenuitem>Legend</guimenuitem>
111     </menuchoice>.
112     The legend is also dockable, which means that it can be detached
113     from the main window by clicking on the small button next to the
114 jonathan 1466 close button. It can be attached by clicking the same button
115 jonathan 1446 again.
116     </para>
117     <para>
118 jonathan 1466 The status bar displays different information depending on the
119 jonathan 1446 current context. If the user is selecting an item from the menu
120     then the status bar will display a short help message indicating
121     what each menu item is for. If the user has a tool selected then
122     the position of the cursor on the map is displayed.
123     </para>
124     <para>
125 jonathan 1466 The tool bar provides quick access to the commonly needed tools.
126 jonathan 1446 By hovering over each button the user can see a short messages
127     describing what the tool does. The tools provided are Zoom In, Zoom
128 frank 1496 Out, Pan, Full Extent, Full Layer Extent, Full Shape Extent, Identify,
129 jonathan 1446 and Label. Each of the tools will be explained in further detail later
130     in the manual.
131     </para>
132 jan 1423 </section>
133    
134 bh 1367 </chapter>
135 jan 1423
136     <chapter><title>Session Management</title>
137    
138 jonathan 1446 <section><title>Starting a New Session</title>
139 jan 1423 <para>
140 jonathan 1446 A new session can be started from
141     <menuchoice>
142     <guimenu>File</guimenu>
143     <guimenuitem>New Session</guimenuitem>
144 jonathan 1490 </menuchoice>.
145 jonathan 1446 If a session is already loaded and has been modified without
146     being saved a prompt will ask if the current session should
147 jonathan 1490 be saved. A new session consists of an empty map with no
148     layers and no tables.
149 jan 1423 </para>
150     </section>
151    
152 jonathan 1446 <section><title>Opening a Session</title>
153 jan 1423 <para>
154 jonathan 1446 A session can be opened from
155     <menuchoice>
156     <guimenu>File</guimenu>
157     <guimenuitem>Open Session</guimenuitem>
158 jonathan 1490 </menuchoice>. A dialog box will open allowing the user to browse
159     for a Thuban Session file. Thuban session files end with
160     <varname>.thuban</varname>. Selecting a file a clicking
161     <guibutton>OK</guibutton> will load the session into Thuban.
162 jonathan 1446
163     If a session is already loaded and has been modified without
164     being saved a prompt will ask if the current session should
165     be saved.
166 jan 1423 </para>
167     </section>
168    
169 jonathan 1446 <section><title>Saving a Session</title>
170 jan 1423 <para>
171 jonathan 1446 A session can be saved from
172     <menuchoice>
173     <guimenu>File</guimenu>
174     <guimenuitem>Save Session</guimenuitem>
175 jonathan 1490 </menuchoice>. A dialog box will open allowing the user to browse
176 frank 1496 the file system and select a place to save the session. Thuban
177 jonathan 1490 sessions should be saved under a name ending in
178     <varname>.thuban</varname>. If the file already exists the user
179     will be prompted to save under a different name or overwrite the
180     existing file.
181 jan 1423 </para>
182     </section>
183    
184 jonathan 1446 <section><title>The Session Info-Tree</title>
185 jonathan 1490 <para>
186 frank 1532 <figure>
187     <title>Session Info Tree</title>
188 jonathan 1490 <mediaobject>
189     <imageobject><imagedata fileref="../images/2_4_session_tree.png" format="PNG" scale="&imgscale;"/></imageobject>
190     <imageobject><imagedata fileref="./images/2_4_session_tree.eps" format="EPS" scale="&imgscale;"/></imageobject>
191     </mediaobject>
192 frank 1532 </figure>
193 jonathan 1490 </para>
194 jan 1423 <para>
195 jonathan 1490 The session info-tree is primarily intended for developers working
196     with Thuban. It displays many of the internal values for the session,
197     map, and layers. It can be opened from
198     <menuchoice>
199     <guimenu>File</guimenu>
200     <guimenuitem>Session Tree</guimenuitem>
201     </menuchoice>.
202 jan 1423 </para>
203     </section>
204     </chapter>
205    
206     <chapter><title>Map Management</title>
207     <para>
208 jonathan 1466 The map consists of a number of layers where each layer represents a
209     different type of data set. By interacting with the map the user can
210     visually explore the data.
211 jan 1423 </para>
212 jonathan 1490 <para>
213     The map can have a name that will appear in the Thuban title bar.
214     The map name can be changed using
215     <menuchoice>
216     <guimenu>Map</guimenu>
217     <guimenuitem>Rename</guimenuitem>
218     </menuchoice>.
219     </para>
220     <para>
221     <inlinemediaobject>
222     <imageobject>
223     <imagedata fileref="../images/3_rename_map.png" format="PNG" scale="&imgscale;"/>
224     </imageobject>
225     <imageobject>
226     <imagedata fileref="./images/3_rename_map.eps" format="EPS" scale="&imgscale;"/>
227     </imageobject>
228     <textobject> <phrase>Rename Map</phrase> </textobject>
229     </inlinemediaobject>
230     </para>
231 jan 1423
232 jonathan 1446 <section><title>Adding and Removing Layers</title>
233 jan 1423 <para>
234 jonathan 1510 There are two types of layers that can be added to a map: shape layers
235 jonathan 1466 and image layers. Shape layers are stored in Shapefile format, a
236 jonathan 1491 standard file format for storing geographic objects. These
237 jonathan 1466 files have the extension ``.shp''. Associated with
238 jonathan 1491 the shape file is a database file which stores attributes for
239 frank 1496 each shape in the shape file. This file, in dBase format,
240 jonathan 1491 has the extension ``.dbf''. Both files must have the same base name.
241     For example, if there is a shape file named roads.shp there must
242 jonathan 1466 also be a file roads.dbf.
243 jan 1423 </para>
244 jonathan 1466 <para>
245     Shape layers can be added to the map with
246     <menuchoice>
247     <guimenu>Map</guimenu>
248     <guimenuitem>Add Layer</guimenuitem>
249     </menuchoice>.
250     Thuban will load all files with the same base name, so it doesn't
251 jonathan 1491 matter if the shape file or database file is selected.
252 jonathan 1466 </para>
253    
254     <para>
255     Image layers can be added to the map with
256     <menuchoice>
257     <guimenu>Map</guimenu>
258     <guimenuitem>Add Image Layer</guimenuitem>
259     </menuchoice>.
260     It is important to select a valid image file that has geographic
261 jonathan 1491 data associated with it. The data can be embedded in the file itself,
262 jonathan 1466 or in another file. If geographic information cannot be found, Thuban
263     will report an error.
264     </para>
265 jan 1423 </section>
266    
267     <section><title>Navigation</title>
268     <para>
269 jonathan 1466 The map can be explored by using the navigation tools available on
270 jonathan 1491 the tool bar or from the
271 jonathan 1466 <menuchoice><guimenu>Map</guimenu></menuchoice> menu.
272 jan 1423 </para>
273 frank 1532 <itemizedlist>
274     <listitem>
275 jonathan 1466 <para>
276     The ZoomIn tool
277     <inlinemediaobject>
278     <imageobject>
279 jonathan 1490 <imagedata fileref="../images/3_2_zoomin.png" format="PNG" scale="&imgscale;"/>
280 jonathan 1473 </imageobject>
281     <imageobject>
282 jonathan 1490 <imagedata fileref="./images/3_2_zoomin.eps" format="EPS" scale="&imgscale;"/>
283 jonathan 1466 </imageobject>
284     <textobject> <phrase>ZoomIn Tool</phrase> </textobject>
285     </inlinemediaobject>
286 jonathan 1491 enlarges a region of the map. Clicking once on the map
287 jonathan 1466 will double the magnification and center the map on the point that
288 jonathan 1510 was clicked. Clicking and dragging selects a region that will be
289 jonathan 1491 enlarged to fit the window.
290 jonathan 1466 </para>
291 frank 1532 </listitem>
292     <listitem>
293 jonathan 1466 <para>
294     The ZoomOut tool
295     <inlinemediaobject>
296     <imageobject>
297 jonathan 1490 <imagedata fileref="../images/3_2_zoomout.png" format="PNG" scale="&imgscale;"/>
298 jonathan 1473 </imageobject>
299     <imageobject>
300 jonathan 1490 <imagedata fileref="./images/3_2_zoomout.eps" format="EPS" scale="&imgscale;"/>
301 jonathan 1466 </imageobject>
302     <textobject> <phrase>ZoomOut Tool</phrase> </textobject>
303     </inlinemediaobject>
304     shrinks the map so that a larger region is visible. A single click
305     reduces the magnification by a factor of two. Clicking and dragging
306     selects a box such that the current contents of the window will be
307     scaled to fit into that box.
308     </para>
309 frank 1532 </listitem>
310     <listitem>
311 jonathan 1466 <para>
312     The Pan tool
313     <inlinemediaobject>
314     <imageobject>
315 jonathan 1490 <imagedata fileref="../images/3_2_pan.png" format="PNG" scale="&imgscale;"/>
316 jonathan 1473 </imageobject>
317     <imageobject>
318 jonathan 1490 <imagedata fileref="./images/3_2_pan.eps" format="EPS" scale="&imgscale;"/>
319 jonathan 1466 </imageobject>
320     <textobject> <phrase>Pan Tool</phrase> </textobject>
321     </inlinemediaobject>
322     allows the user to move the map around by clicking and dragging.
323     </para>
324 frank 1532 </listitem>
325     <listitem>
326 jonathan 1466 <para>
327     The Full Extent tool
328     <inlinemediaobject>
329     <imageobject>
330 jonathan 1490 <imagedata fileref="../images/3_2_fullextent.png" format="PNG" scale="&imgscale;"/>
331 jonathan 1473 </imageobject>
332     <imageobject>
333 jonathan 1490 <imagedata fileref="./images/3_2_fullextent.eps" format="EPS" scale="&imgscale;"/>
334 jonathan 1466 </imageobject>
335     <textobject> <phrase>Full Extent Tool</phrase> </textobject>
336     </inlinemediaobject>
337     rescales the viewable region so that the entire map is visible.
338     </para>
339 frank 1532 </listitem>
340     <listitem>
341 jonathan 1466 <para>
342     The Full Layer Extent tool
343     <inlinemediaobject>
344     <imageobject>
345 jonathan 1490 <imagedata fileref="../images/3_2_fulllayerextent.png" format="PNG" scale="&imgscale;"/>
346 jonathan 1473 </imageobject>
347     <imageobject>
348 jonathan 1490 <imagedata fileref="./images/3_2_fulllayerextent.eps" format="EPS" scale="&imgscale;"/>
349 jonathan 1466 </imageobject>
350     <textobject> <phrase>Full Layer Extent Tool</phrase> </textobject>
351     </inlinemediaobject>
352     rescales the viewable region so that the currently selected
353     layer fits within the window. If no layer is selected this button
354     will be disabled.
355     </para>
356 frank 1532 </listitem>
357     <listitem>
358 jonathan 1466 <para>
359     The Full Shape Extent tool
360     <inlinemediaobject>
361     <imageobject>
362 jonathan 1490 <imagedata fileref="../images/3_2_fullshapeextent.png" format="PNG" scale="&imgscale;"/>
363 jonathan 1473 </imageobject>
364     <imageobject>
365 jonathan 1490 <imagedata fileref="./images/3_2_fullshapeextent.eps" format="EPS" scale="&imgscale;"/>
366 jonathan 1466 </imageobject>
367     <textobject> <phrase>Full Shape Extent Tool</phrase> </textobject>
368     </inlinemediaobject>
369     rescales the viewable region so that the currently selected
370     shape fits within the window. If the shape is a point, it is
371     centered and the map is zoomed all the way in. If no shape is
372 jonathan 1510 selected this button will be disabled. This feature is especially
373     helpful when identifying an object related to a selected record
374     in a tableview (see below).
375    
376 jonathan 1466 </para>
377 frank 1532 </listitem>
378     </itemizedlist>
379 jan 1423 </section>
380    
381 jonathan 1446 <section><title>Object Identification</title>
382 jan 1423 <para>
383 jonathan 1466 Objects on the map can be identified using the Identify tool
384     <inlinemediaobject>
385     <imageobject>
386 jonathan 1490 <imagedata fileref="../images/3_3_identify.png" format="PNG" scale="&imgscale;"/>
387 jonathan 1473 </imageobject>
388     <imageobject>
389 jonathan 1490 <imagedata fileref="./images/3_3_identify.eps" format="EPS" scale="&imgscale;"/>
390 jonathan 1466 </imageobject>
391     <textobject> <phrase>Identify Tool</phrase> </textobject>
392     </inlinemediaobject>.
393     Clicking on an object selects that object and opens a dialog which
394     shows all the table attributes for that object. Any current selection
395 jonathan 1510 is lost. Objects on the map are typically shapes and this document
396     will often refer to objects as shapes.
397 jan 1423 </para>
398     </section>
399    
400 frank 1496 <section><title>Object Labeling</title>
401 jan 1423 <para>
402 frank 1496 Objects can be labeled using the Label tool
403 jonathan 1466 <inlinemediaobject>
404     <imageobject>
405 jonathan 1490 <imagedata fileref="../images/3_3_label.png" format="PNG" scale="&imgscale;"/>
406 jonathan 1473 </imageobject>
407     <imageobject>
408 jonathan 1490 <imagedata fileref="./images/3_3_label.eps" format="EPS" scale="&imgscale;"/>
409 jonathan 1466 </imageobject>
410     <textobject> <phrase>Label Tool</phrase> </textobject>
411     </inlinemediaobject>.
412     Clicking on an object selects that object and opens a dialog which
413     displays the table attributes for that object. An attribute can
414 jonathan 1491 be selected to be the label on the map. The label will be placed
415     at the center of the shape. Clicking on an object that already has
416     a label will remove the label.
417 jan 1423 </para>
418     </section>
419    
420 jonathan 1446 <section><title>The Legend</title>
421 jonathan 1490 <para>
422     <inlinemediaobject>
423     <imageobject>
424     <imagedata fileref="../images/3_5_legend.png" format="PNG" scale="&imgscale;"/>
425     </imageobject>
426     <imageobject>
427     <imagedata fileref="./images/3_5_legend.eps" format="EPS" scale="&imgscale;"/>
428     </imageobject>
429     <textobject> <phrase>Legend</phrase> </textobject>
430     </inlinemediaobject>
431     </para>
432 jan 1423 <para>
433 jonathan 1466 The Legend provides an overview of the layers in the map. Layers
434     that appear higher in the legend will appear ``closer'' to the user.
435     If a layer supports classification (currently, only shape layers
436     have this feature) then the classification groups will be shown
437     below each layer. The properties for each group are also displayed
438     with a small graphic. Polygon layers appear as rectangles, lines
439     appear as curved lines, and points appear as circles.
440     </para>
441     <para>
442     Along the top of the legend is a toolbar which allows quick access
443     to some of the layer manipulation options under
444 jonathan 1491 <menuchoice><guimenu>Map</guimenu></menuchoice>.
445     </para>
446 jonathan 1466
447 frank 1532 <itemizedlist>
448     <listitem>
449 jonathan 1491 <para>
450     The Move Layer to Top tool
451     <inlinemediaobject>
452     <imageobject>
453     <imagedata fileref="../images/3_5_totop.png" format="PNG" scale="&imgscale;"/>
454     </imageobject>
455     <imageobject>
456     <imagedata fileref="./images/3_5_totop.eps" format="EPS" scale="&imgscale;"/>
457     </imageobject>
458     <textobject> <phrase>Move Layer to Top</phrase> </textobject>
459     </inlinemediaobject> raises the selected layer to the top of the map.
460     </para>
461 frank 1532 </listitem>
462     <listitem>
463 jonathan 1491
464     <para>
465     The Move Layer Up tool
466     <inlinemediaobject>
467     <imageobject>
468     <imagedata fileref="../images/3_5_moveup.png" format="PNG" scale="&imgscale;"/>
469     </imageobject>
470     <imageobject>
471     <imagedata fileref="./images/3_5_moveup.eps" format="EPS" scale="&imgscale;"/>
472     </imageobject>
473     <textobject> <phrase>Move Layer Up</phrase> </textobject>
474     </inlinemediaobject> raises the selected layer one level.
475     </para>
476 frank 1532 </listitem>
477     <listitem>
478 jonathan 1491
479     <para>
480     The Move Layer Down tool
481     <inlinemediaobject>
482     <imageobject>
483     <imagedata fileref="../images/3_5_movedown.png" format="PNG" scale="&imgscale;"/>
484     </imageobject>
485     <imageobject>
486     <imagedata fileref="./images/3_5_movedown.eps" format="EPS" scale="&imgscale;"/>
487     </imageobject>
488     <textobject> <phrase>Move Layer Down</phrase> </textobject>
489     </inlinemediaobject> lowers the selected layer one level.
490     </para>
491    
492 frank 1532 </listitem>
493     <listitem>
494 jonathan 1491 <para>
495     The Move Layer to Bottom tool
496     <inlinemediaobject>
497     <imageobject>
498     <imagedata fileref="../images/3_5_tobottom.png" format="PNG" scale="&imgscale;"/>
499     </imageobject>
500     <imageobject>
501     <imagedata fileref="./images/3_5_tobottom.eps" format="EPS" scale="&imgscale;"/>
502     </imageobject>
503     <textobject> <phrase>Move Layer to Bottom</phrase> </textobject>
504     </inlinemediaobject> lowers the selected layer to the bottom of the map.
505     </para>
506    
507 frank 1532 </listitem>
508     <listitem>
509 jonathan 1491 <para>
510     The Visible tool
511     <inlinemediaobject>
512     <imageobject>
513     <imagedata fileref="../images/3_5_visible.png" format="PNG" scale="&imgscale;"/>
514     </imageobject>
515     <imageobject>
516     <imagedata fileref="./images/3_5_visible.eps" format="EPS" scale="&imgscale;"/>
517     </imageobject>
518     <textobject> <phrase>Visible</phrase> </textobject>
519     </inlinemediaobject> shows the selected layer in the map if it was
520     hidden.
521     </para>
522    
523 frank 1532 </listitem>
524     <listitem>
525 jonathan 1491 <para>
526     The Invisible tool
527     <inlinemediaobject>
528     <imageobject>
529     <imagedata fileref="../images/3_5_invisible.png" format="PNG" scale="&imgscale;"/>
530     </imageobject>
531     <imageobject>
532     <imagedata fileref="./images/3_5_invisible.eps" format="EPS" scale="&imgscale;"/>
533     </imageobject>
534     <textobject> <phrase>Invisible</phrase> </textobject>
535     </inlinemediaobject> hides the selected layer in the map.
536     </para>
537    
538 frank 1532 </listitem>
539     <listitem>
540 jonathan 1491 <para>
541     The Properties tool
542     <inlinemediaobject>
543     <imageobject>
544     <imagedata fileref="../images/3_5_props.png" format="PNG" scale="&imgscale;"/>
545     </imageobject>
546     <imageobject>
547     <imagedata fileref="./images/3_5_props.eps" format="EPS" scale="&imgscale;"/>
548     </imageobject>
549     <textobject> <phrase>Properties</phrase> </textobject>
550     </inlinemediaobject> opens the layer's properties dialog box.
551 jonathan 1466 Double-clicking on a layer or a group of a layer will open the
552     properties dialog for that layer.
553 jan 1423 </para>
554 frank 1532 </listitem>
555     </itemizedlist>
556 jonathan 1510 <para>
557     Along the bottom of the legend is the scalebar. The scalebar
558     will be available if there are any layers and the map has a
559     projection set.
560     </para>
561 jan 1423 </section>
562    
563 jonathan 1490 <section><title>Exporting</title>
564     <para>
565     Under Windows, maps can be exported in Enhanced Metafile format
566     (<varname>.wmf</varname>)
567     from
568     <menuchoice>
569     <guimenu>Map</guimenu>
570     <guimenuitem>Export</guimenuitem>
571 jonathan 1510 </menuchoice> for use in reports, presentations, or further
572     modification. The current map view, legend, and, if available,
573     scalebar are exported. Under other platforms this option is not
574     available. Clicking this menu item open a file selection dialog
575     that lets the user select a location to export the map.
576 jonathan 1490 </para>
577     </section>
578    
579 jan 1423 <section><title>Printing</title>
580     <para>
581 jonathan 1466 The map can be printed using
582     <menuchoice>
583     <guimenu>Map</guimenu>
584     <guimenuitem>Print</guimenuitem>
585 jonathan 1510 </menuchoice>. The current map view, legend, and, if available,
586     scalebar are printed. A standard printing dialog will open allowing
587     the user to configure the printer. This dialog will differ depending
588 jonathan 1490 on which platform Thuban is running.
589 jan 1423 </para>
590     </section>
591 jonathan 1490
592 jan 1423 </chapter>
593    
594     <chapter><title>Layer Management</title>
595     <para>
596     </para>
597    
598 jonathan 1446 <section><title>Types of Layers</title>
599 jan 1423 <para>
600 jonathan 1466 There are two types of layers supported by Thuban: shape layers and
601     image layers. Shape layers consist of vector based shapes with
602     geo-referenced coordinates. There are three types of supported
603 jonathan 1510 shapes: polygons, lines (arc), and points. Image layers can be any image
604 frank 1496 file format supported by the Geo-spatial Data Abstraction Library
605 jonathan 1491 (GDAL). The images must have geographic
606 frank 1496 coordinate data either embedded within the file or in a separate
607 jonathan 1473 file that is in the same directory as the image file. GeoTIFF files
608     work very well with Thuban and were designed specifically to be image
609     layers in GIS programs.
610 jan 1423 </para>
611 jonathan 1510 <para>
612     All actions in the
613     <menuchoice>
614     <guimenu>Layer</guimenu>
615     </menuchoice> menu act on the currently selected layer in the legend.
616     </para>
617 jan 1423 </section>
618    
619 jonathan 1466 <section><title>Properties</title>
620     <para>
621 jonathan 1490 To view the properties for a layer it must first be selected in the
622     legend. The menu option
623     <menuchoice>
624     <guimenu>Layer</guimenu>
625     <guimenuitem>Properties</guimenuitem>
626     </menuchoice> opens a dialog that displays a layer's properties.
627 jonathan 1510 All layers have a title which can be modified in the text field
628 jonathan 1491 provided. The type of layer is also shows. If the type is a type
629 jonathan 1490 of shape (polygon, arc, point) the classification table will be
630     shown. Image layers have no other properties other than title
631     and type.
632 jonathan 1466 </para>
633 jonathan 1490 <para>
634 frank 1532 <figure>
635     <title>Properties Window</title>
636 jonathan 1490 <mediaobject>
637     <imageobject><imagedata fileref="../images/4_2_layer_properties.png" format="PNG" scale="&imgscale;"/></imageobject>
638     <imageobject><imagedata fileref="./images/4_2_layer_properties.eps" format="EPS" scale="&imgscale;"/></imageobject>
639     </mediaobject>
640 frank 1532 </figure>
641 jonathan 1490 </para>
642     <para>
643 frank 1532 <figure>
644     <title>Properties Window</title>
645 jonathan 1490 <mediaobject>
646     <imageobject><imagedata fileref="../images/4_2_raster_layer_properties.png" format="PNG" scale="&imgscale;"/></imageobject>
647     <imageobject><imagedata fileref="./images/4_2_raster_layer_properties.eps" format="EPS" scale="&imgscale;"/></imageobject>
648     </mediaobject>
649 frank 1532 </figure>
650 jonathan 1490 </para>
651 jonathan 1466 </section>
652    
653 jan 1423 <section><title>Visibility</title>
654     <para>
655 jonathan 1466 Sometimes it is not desirable to view all layers at the same time.
656     Some layers may take a long time to draw and so while navigating
657     around the map the user may not want to wait for the map to redraw
658 jonathan 1491 all the layers each time the map is changed. Each layer can be
659     independently turned on or off using the
660 jonathan 1466 <menuchoice>
661     <guimenu>Layer</guimenu>
662     <guimenuitem>Show</guimenuitem>
663     </menuchoice>
664     or
665     <menuchoice>
666     <guimenu>Layer</guimenu>
667     <guimenuitem>Hide</guimenuitem>
668     </menuchoice> options respectively.
669 jan 1423 </para>
670     </section>
671    
672     <section><title>Duplication</title>
673     <para>
674 jonathan 1466 Layers and all their properties, including classifications, can
675     be duplicated using
676     <menuchoice>
677     <guimenu>Layer</guimenu>
678     <guimenuitem>Duplicate</guimenuitem>
679     </menuchoice>. Duplicating a layer is useful if the user wishes
680     to model a layer in several different ways. Even though the layers
681 jonathan 1491 overlap, by carefully selecting the shape properties it is possible
682 jonathan 1466 to display several pieces of information at once. For example, one
683     copy of a roads layer may be classified on a length property and
684 jonathan 1491 another copy may be classified on a type property. If the length
685 jonathan 1466 property was expressed with color and the type property expressed
686     with line thickness then it would be possible to view both
687     classifications by placing the type property copy over the
688     length property copy.
689 jan 1423 </para>
690     </section>
691    
692     </chapter>
693    
694     <chapter><title>Layer Classifications</title>
695     <para>
696 jonathan 1473 A layer classification is a way of assigning drawing properties to
697     groups of shapes based on attributes stored in the layer's table.
698     Only layer's with shapes can have a classification; image layers
699     cannot be classified.
700 jan 1423 </para>
701 jonathan 1473 <para>
702 jonathan 1491 A classification consists of a number of groups, each group
703 jonathan 1473 having a value or range of values to match against, and symbol
704     properties which control how a shape is drawn on the map. The user
705     selects which field in the table is used by the classification and
706     when the map is drawn the value for that field for each shape is
707     compared with each group's value. The properties of the first group
708     to match are used to draw the shape. This allows the user to get a
709     visual impression of not only how the data is laid out but also what
710     kind of data lies where.
711     </para>
712     <para>
713     A layer always has a classification. When a new layer is added to the
714     map, a default classification is created with the DEFAULT group. This
715 jonathan 1510 group cannot be removed but can be hidden (see below). Every shape in the
716     layer, regardless of its attributes, will match this group if no other
717     group matches.
718 jonathan 1473 </para>
719 jan 1423
720 jonathan 1473 <section><title>Editing Classifications</title>
721 jan 1423 <para>
722 jonathan 1473 A layer's classification can be modified under the properties dialog
723     (<menuchoice>
724     <guimenu>Layer</guimenu>
725     <guimenuitem>Properties</guimenuitem>
726     </menuchoice>). The layer's classification field can be set to None,
727     which simply assigns a DEFAULT group to the classification. No new
728     groups can be added to the classification if the field is None.
729     The user must first select a field to classify on. New groups can
730     be added to the classification with the <guibutton>Add</guibutton>
731     button.
732     </para>
733     <para>
734 jonathan 1510 To apply the changes to the map the user can click
735     either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
736     <guibutton>Try</guibutton> will not close the dialog box, allowing
737     the user to see how the classification changes the map.
738     <guibutton>Revert</guibutton> will undo the last classification applied
739     to the map. <guibutton>OK</guibutton> will commit the changes and
740     close the dialog. The user will be unable to undo the changes.
741     <guibutton>Close</guibutton> simply closes the dialog box. If any
742     changes have not been applied with <guibutton>Try</guibutton> the
743     changes will not be applied to the map.
744     </para>
745     <para>
746 frank 1532 <figure>
747     <title>Properties Window</title>
748 jonathan 1490 <mediaobject>
749     <imageobject><imagedata fileref="../images/5_classification.png" format="PNG" scale="&imgscale;"/></imageobject>
750     <imageobject><imagedata fileref="./images/5_classification.eps" format="EPS" scale="&imgscale;"/></imageobject>
751     </mediaobject>
752 frank 1532 </figure>
753 jonathan 1490 </para>
754     <para>
755 jonathan 1473 The order of the groups in the classification is significant
756     except for the DEFAULT group, which remains at the top. When shapes
757     are matched against groups the matching begins at the first group
758 jonathan 1491 after the DEFAULT group so that groups higher in the list will
759 jonathan 1473 be checked first. Matching for a
760     given shape will stop at the first group that matches. The user can
761     use <guibutton>Move Up</guibutton> and <guibutton>Move Down</guibutton>
762     to change the order of the groups. The DEFAULT group will always
763     match a shape that hasn't matched another group.
764 jan 1423 </para>
765 jonathan 1491 <section><title>Visible</title>
766     <para>
767 frank 1496 The Visible column has check-boxes that determine whether a
768 jonathan 1491 classification group will be displayed in the legend. This is
769     useful if the user knows that the groups completely cover
770     the data set and don't want the DEFAULT group to be displayed
771     in the legend and on a printout.
772     </para>
773     </section>
774     <section><title>Symbols</title>
775     <para>
776     Each type of shape has its own type of symbol. Thuban supports three
777     types of shapes: polygons, lines, and points. Polygons and points
778     have outline and fill color, while lines have only line color. Each
779     group has associated symbol properties. To edit the symbol
780     properties for a group the user can double click on the Symbol
781     column or select a group and click the
782     <guibutton>Edit Symbol</guibutton> button.
783     </para>
784     </section>
785     <section><title>Value</title>
786     <para>
787     The Value column of the classification table is the value that will
788     be matched when the map is being drawn. The type of data that can
789     entered into this field depends on the type of data of the
790     classification field.
791     </para>
792     <para>
793     If the field is of type Text, anything entered
794     into the field is valid. The text will be compared literally to the
795     value of the shape attribute, including case sensitivity.
796     If the type is Integer, then any valid integer may be entered. In
797     addition, with special syntax, a range of values can be entered.
798     A range from <varname>start</varname> to <varname>end</varname>
799 frank 1496 inclusive is specified like this: <literal>[start;end]</literal>.
800 jonathan 1491 The exclusive range is specified like this:
801     <literal>]start;end[</literal>. Ranges can include infinity like
802     this: <literal>[-oo;oo]</literal>. Field types can also be of type
803     Decimal. They represent any rational number and can be used in
804     ranges as well.
805     </para>
806     </section>
807     <section><title>Label</title>
808     <para>
809     By default, the text that is displayed for a group in the legend
810     is the value for that group. The label can substitute a more
811     descriptive term in the legend.
812     </para>
813     </section>
814 jan 1423 </section>
815    
816 jonathan 1446 <section><title>Generating Classes</title>
817 jan 1423 <para>
818 frank 1532 <figure>
819     <title>Generate Class</title>
820 jonathan 1490 <mediaobject>
821     <imageobject><imagedata fileref="../images/5_3_genclass.png" format="PNG" scale="&imgscale;"/></imageobject>
822     <imageobject><imagedata fileref="./images/5_3_genclass.eps" format="EPS" scale="&imgscale;"/></imageobject>
823     </mediaobject>
824 frank 1532 </figure>
825 jonathan 1490 </para>
826     <para>
827 jonathan 1473 Creating a classification by hand can be tedious.
828     Thuban, therefore, provides a means of generating an entire
829     classification at once while still giving the user control over
830     how it appears. Clicking <guibutton>Generate Class</guibutton>
831     opens the <varname>Generate Classification</varname> dialog.
832 frank 1496 Under the <varname>Generate</varname> pull down there are at most
833 jonathan 1473 three different ways to generate classifications:
834 jonathan 1510 Unique Values, Uniform Distribution, and Quantiles. Some options
835 jonathan 1491 may not be available if the data type for the field does not
836 jonathan 1510 support them. For instance, <varname>Uniform Distribution</varname>
837 jonathan 1473 doesn't make sense for a Text field.
838 jan 1423 </para>
839 jonathan 1473 <para>
840     For every way of generating a classification, a color scheme must
841     be selected. Thuban provides several different color schemes that
842     affect how the group properties change over the classification.
843 jonathan 1530 It may be desirable that only certain properties change over the
844     classification. If the shape type is a polygon or a point then
845     the <guibutton>Fix Border Color</guibutton> option will be available.
846     This allows the user to select a border color for all classification
847     groups.
848 jonathan 1473 It is also possible to create a custom color scheme. Selecting
849     this option will display two symbols: the one of the left has the
850     properties of the first group and the one on the right has the
851     properties of the last group. Thuban will interpolate between these
852     two properties to generate the other groups.
853 frank 1532 <figure>
854     <title>Custom Color Scheme</title>
855 jonathan 1510 <mediaobject>
856     <imageobject><imagedata fileref="../images/5_2_custom_ramp.png" format="PNG" scale="&imgscale;"/></imageobject>
857     <imageobject><imagedata fileref="./images/5_2_custom_ramp.eps" format="EPS" scale="&imgscale;"/></imageobject>
858     </mediaobject>
859 frank 1532 </figure>
860 jonathan 1473 </para>
861     <para>
862     The Unique Values option lets the user select specific values that
863     appear in the table. Clicking <guibutton>Retrieve From Table</guibutton>
864     searches the table for all unique values and displays them in the
865     list on the left. Items can be selected and moved to the list on the
866     right. Each list can be sorted or reversed for easier searching.
867     The classification that is generated will be in the same order as
868     the list on the right.
869 frank 1532 <figure>
870     <title>Unique Values</title>
871 jonathan 1510 <mediaobject>
872     <imageobject><imagedata fileref="../images/5_2_unique_values.png" format="PNG" scale="&imgscale;"/></imageobject>
873     <imageobject><imagedata fileref="./images/5_2_unique_values.eps" format="EPS" scale="&imgscale;"/></imageobject>
874     </mediaobject>
875 frank 1532 </figure>
876 jonathan 1473 </para>
877     <para>
878 jonathan 1510 The Uniform Distribution option creates a user specified number of
879 jonathan 1473 groups of ranges such that each range covers equal intervals. The
880     minimum and maximum values can automatically be retrieved from the
881     table by clicking <guibutton>Retrieve From Table</guibutton>. The
882     stepping is how large each interval is. Adjusting this value will
883     automatically recalculate how many groups is appropriate.
884 frank 1532 <figure>
885     <title>Uniform Distribution</title>
886 jonathan 1510 <mediaobject>
887     <imageobject><imagedata fileref="../images/5_2_uniform_dist.png" format="PNG" scale="&imgscale;"/></imageobject>
888     <imageobject><imagedata fileref="./images/5_2_uniform_dist.eps" format="EPS" scale="&imgscale;"/></imageobject>
889     </mediaobject>
890 frank 1532 </figure>
891 jonathan 1473 </para>
892     <para>
893 jonathan 1491 The Quantiles option generates ranges based on the number of items
894 jonathan 1510 in the table. For example, by specifying five groups Thuban will
895 jonathan 1491 generate five groups with appropriate ranges such that 20% of the table
896 jonathan 1473 data is in each group. If it is impossible to generate exact
897 jonathan 1491 groupings, Thuban will issue a warning but allow the user to continue.
898 frank 1532 <figure>
899     <title>Quantiles</title>
900 jonathan 1510 <mediaobject>
901     <imageobject><imagedata fileref="../images/5_2_quantiles.png" format="PNG" scale="&imgscale;"/></imageobject>
902     <imageobject><imagedata fileref="./images/5_2_quantiles.eps" format="EPS" scale="&imgscale;"/></imageobject>
903     </mediaobject>
904 frank 1532 </figure>
905 jonathan 1473 </para>
906 jan 1423 </section>
907     </chapter>
908    
909     <chapter><title>Projection Management</title>
910     <para>
911 jonathan 1475 Projections control how the geographic data is displayed on the screen.
912     If multiple layers are loaded into Thuban where the geographic data
913 jonathan 1491 is in a different projection system, then the user must specify a
914     projection for each layer. The user must also tell Thuban which
915 jonathan 1475 projection the map is in. This can be the same as the layers or a different
916     projection in which case the layers are reprojected into that space.
917     The map projection can be set using
918     <menuchoice>
919     <guimenu>Map</guimenu>
920     <guimenuitem>Projection</guimenuitem>
921     </menuchoice> and the layer projection can be set using
922     <menuchoice>
923     <guimenu>Layer</guimenu>
924     <guimenuitem>Projection</guimenuitem>
925     </menuchoice>.
926 frank 1532 <figure>
927     <title>Projection Window</title>
928 jonathan 1490 <mediaobject>
929     <imageobject><imagedata fileref="../images/6_projection.png" format="PNG" scale="&imgscale;"/></imageobject>
930     <imageobject><imagedata fileref="./images/6_projection.eps" format="EPS" scale="&imgscale;"/></imageobject>
931     </mediaobject>
932 frank 1532 </figure>
933 jan 1423 </para>
934 jonathan 1475 <para>
935     Thuban is distributed with a sample collection of projections. The
936     user can create new projections and make them available to all
937     future Thuban sessions. They may also be exported and imported so
938 jonathan 1491 that custom projections can be distributed.
939 jonathan 1475 </para>
940     <section><title>Selecting a Projection</title>
941     <para>
942     The available projections are listed on the left. If the layer
943 jonathan 1491 or map already has a projection it will initially be highlighted
944 jonathan 1475 and will end with <varname>(current)</varname>. Selecting
945 jonathan 1490 <varname>&lt;None&gt;</varname> will cause Thuban to use the data as
946 jonathan 1475 it appears in the source file and will not use a projection.
947     </para>
948     </section>
949     <section><title>Editing a Projection</title>
950     <para>
951     Whenever a projection is selected from the list its properties
952     are displayed on the right. These properties can be changed
953     and the changes saved to the selected projection using
954 jonathan 1491 <guibutton>Update</guibutton>. Only a projection that comes
955 jonathan 1475 from a file can be updated, so if the current layer's projection
956 jonathan 1491 is selected, <guibutton>Update</guibutton> will be disabled.
957     <guibutton>Add to List</guibutton> adds the projection to the
958     list of available projections as a new entry, and thus makes it
959 jonathan 1475 available to future Thuban sessions. Clicking <guibutton>New</guibutton>
960     will create an entirely new, empty projection. The
961 frank 1496 <guibutton>Remove</guibutton> button will permanently remove a
962 jonathan 1475 projection from the list of available projections.
963     </para>
964 jonathan 1510 <para>
965     To apply the selected projection to the map the user can click
966     either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
967     <guibutton>Try</guibutton> will not close the dialog box, allowing
968     the user to see how the projeciton changes the map.
969     <guibutton>Revert</guibutton> will undo the last projection applied
970     to the map. <guibutton>OK</guibutton> will commit the changes and
971     close the dialog. The user will be unable to undo the changes.
972     <guibutton>Close</guibutton> simply closes the dialog box. If no
973     selection has been applied with <guibutton>Try</guibutton> the
974     selection will not be applied to the map.
975     </para>
976 jonathan 1475 </section>
977     <section><title>Importing/Exporting Projections</title>
978     <para>
979     The projections that appear in the list of available projections
980     can be exported to another file that the user chooses. By selecting
981     one or more projections and clicking <guibutton>Export</guibutton>
982 jonathan 1491 the user will be able to select a file in which to store those
983     projections.
984 jonathan 1475 The file can then be distributed to other Thuban users. To import
985     a projection file the user can click <guibutton>Import</guibutton>.
986     The imported projections are added to the list and are then available
987 jonathan 1491 to the current session and any future Thuban sessions.
988 jonathan 1475 </para>
989     </section>
990 jan 1423 </chapter>
991    
992     <chapter><title>Table Management</title>
993     <para>
994 jonathan 1490 Thuban distinguishes two different types of tables: Attribute tables
995 jonathan 1491 (which belong to a layer) and normal data tables. Both provide
996     the same general functionality with the difference that actions on an
997 jonathan 1490 attribute table might also effect the map display.
998 jan 1423 </para>
999 frank 1478
1000     <section><title>Table View</title>
1001 jonathan 1490 <para>
1002 frank 1532 <figure>
1003     <title>Table View</title>
1004 jonathan 1490 <mediaobject>
1005     <imageobject><imagedata fileref="../images/7_1_table_view.png" format="PNG" scale="&imgscale;"/></imageobject>
1006     <imageobject><imagedata fileref="./images/7_1_table_view.eps" format="EPS" scale="&imgscale;"/></imageobject>
1007     </mediaobject>
1008 frank 1532 </figure>
1009 jonathan 1490 </para>
1010     <para>
1011 frank 1478 Thuban provides a standard dialog to display table contents, the
1012 jonathan 1510 Table View. The view has five sections: The title, selections,
1013 jonathan 1491 the table grid, export functions, and the status bar.
1014 jonathan 1490 </para>
1015     <para>
1016 jonathan 1491 The title bar identifies the table with its name.
1017 jonathan 1490 </para>
1018     <para>
1019 jonathan 1491 The selections box let the user perform simple analysis on the data
1020     based on comparisons: The first choice must be a field identifier of
1021     the table, the second choice determines the type of comparison. The
1022     third choice can be either a specific value (interpreted as numerical
1023 frank 1478 or string depending on the type of the first field) or a second field
1024     identifier. Thus you can perform analysis like selecting all
1025 jonathan 1510 records where <literal>population > 10000</literal> or
1026     <literal>cars_per_inhabitant < bikes_per_inhabitant</literal>
1027     (note that the field names are only explanatory, the dBase files
1028     allow only 11 character field names).
1029 jonathan 1490
1030 jonathan 1491 Selections can be combined either by applying a selection only on
1031 frank 1478 a previously selected set of records or by adding the results of a
1032     selection to a previous set. The default is that a selection replaces
1033     earlier results.
1034 jonathan 1490 </para>
1035     <para>
1036 jonathan 1510 The table grid shows the contents of the table (one record per row),
1037 frank 1478 with highlighted selection results. Columns and rows can be resized.
1038 jonathan 1490 </para>
1039     <para>
1040 frank 1496 The contents of a table can be exported into a file, either dBase
1041     format (DBF) or comma separated values (CSV). The
1042 jonathan 1490 <guibutton>Export</guibutton> button
1043 frank 1478 raises a file dialog to specify a path and file name, the export type
1044     is determined by the file extension (either .dbf or .csv).
1045    
1046 jonathan 1490 The <guibutton>Export Selection</guibutton> button works similarly
1047     but exports only the selected records.
1048 frank 1478
1049 jonathan 1490 The <guibutton>Close</guibutton> button closes the table view window.
1050     This is different from the menu item
1051     <menuchoice>
1052     <guimenu>Table</guimenu>
1053     <guimenuitem>Close</guimenuitem>
1054     </menuchoice> which unloads the table from Thuban.
1055     </para>
1056     <para>
1057 frank 1478 The status bar displays some statistics about the table and optional
1058     selection results.
1059 jonathan 1490 </para>
1060 frank 1478 </section>
1061    
1062     <section><title>General Functionality (Menu Table)</title>
1063 jonathan 1490 <para>
1064 frank 1478 The general functions affect all tables open in Thuban. Attribute
1065 jonathan 1491 tables are considered here as normal data tables (with the exception
1066 frank 1478 that they cannot be closed).
1067     </para>
1068 jonathan 1490 <section><title>Open</title>
1069     <para>
1070     The
1071     <menuchoice>
1072     <guimenu>Table</guimenu>
1073     <guimenuitem>Open</guimenuitem>
1074     </menuchoice>
1075     item raises a file dialog to let you select a
1076 frank 1496 dBase file from the file system to be loaded into Thuban read-only.
1077 jonathan 1491 On <guibutton>OK</guibutton> the selected file is loaded and a
1078     table view is opened.
1079 jonathan 1490 </para>
1080     </section>
1081 frank 1478
1082 jonathan 1490 <section><title>Close</title>
1083     <para>
1084     The
1085     <menuchoice>
1086     <guimenu>Table</guimenu>
1087     <guimenuitem>Close</guimenuitem>
1088     </menuchoice>
1089     item raises a dialog listing the currently open
1090     data tables
1091     (loaded via
1092     <menuchoice>
1093     <guimenu>Table</guimenu>
1094     <guimenuitem>Open</guimenuitem>
1095     </menuchoice>). Selected tables are dereferenced on confirmation.
1096     Since tables are opened read-only the contents of the tables are
1097     not affected.
1098 frank 1478
1099 jonathan 1491 Any open views of the tables are closed as well.
1100 frank 1478
1101 jonathan 1490 Tables used in a join cannot be closed.
1102     </para>
1103     </section>
1104 frank 1478
1105 jonathan 1490 <section><title>Rename</title>
1106     <para>
1107     <menuchoice>
1108     <guimenu>Table</guimenu>
1109     <guimenuitem>Rename</guimenuitem>
1110     </menuchoice> changes the table title.
1111     </para>
1112     </section>
1113 frank 1478
1114 jonathan 1490 <section><title>Show</title>
1115     <para>
1116     The
1117     <menuchoice>
1118     <guimenu>Table</guimenu>
1119     <guimenuitem>Show</guimenuitem>
1120     </menuchoice>
1121     item raises a list of available tables (explicitly
1122     loaded, attribute tables, results of a join). Selected tables are
1123 jonathan 1491 show in tables views on <guibutton>OK</guibutton>.
1124 jonathan 1490 </para>
1125     </section>
1126 frank 1478
1127 jonathan 1490 <section><title>Join</title>
1128     <para>
1129 frank 1532 <figure>
1130     <title>Join Tables</title>
1131 jonathan 1490 <mediaobject>
1132     <imageobject><imagedata fileref="../images/7_2_5_join.png" format="PNG" scale="&imgscale;"/></imageobject>
1133     <imageobject><imagedata fileref="./images/7_2_5_join.eps" format="EPS" scale="&imgscale;"/></imageobject>
1134     </mediaobject>
1135 frank 1532 </figure>
1136 jonathan 1490 </para>
1137     <para>
1138     The
1139     <menuchoice>
1140     <guimenu>Table</guimenu>
1141     <guimenuitem>Join</guimenuitem>
1142     </menuchoice>
1143     item raises a dialog to specify the two tables to be
1144     joined. The join results in a new table named 'Join of "left table"
1145     and "right table"'.
1146 frank 1478
1147 jonathan 1491 The dialog lets you select the two tables to be joined and the two
1148     fields the join has to be performed on. By default, the new
1149     table contains only those records which are matched by the join.
1150 frank 1478
1151 jonathan 1490 If you want to preserve the records of the left table you can
1152     perform an outer join. The fields from the right table for records
1153     not matched by the join are filled with <varname>None</varname> in
1154     this case.
1155     </para>
1156     </section>
1157 frank 1478
1158     </section>
1159     <section><title>Attribute Tables</title>
1160     <para>
1161 jonathan 1510 To clearly separate between both types of tables (data and
1162     attribute), Thuban provides functionality regarding the attribute
1163     tables under the <menuchoice><guimenu>Layer</guimenu></menuchoice> menu.
1164 frank 1478 </para>
1165    
1166 jonathan 1490 <section><title>Show Table</title>
1167     <para>
1168     <menuchoice>
1169     <guimenu>Layer</guimenu>
1170     <guimenuitem>Show Table</guimenuitem>
1171     </menuchoice>
1172     opens the attribute table of the currently active layer in a table
1173     view.
1174    
1175     In addition to the functionality described above selections
1176     affect also the map display: objects related to selected records
1177     are highlighted.
1178     </para>
1179     </section>
1180    
1181     <section><title>Join Table</title>
1182     <para>
1183 jonathan 1491 Unlike the join described above, the join does not result in a
1184 frank 1478 new table. The attribute table of the currently active layer is the
1185 jonathan 1490 left table and other tables are joined to this table. The results of
1186 jonathan 1491 the join are available for classification.
1187 frank 1478
1188 jonathan 1490 As a consequence, the join cannot result in fewer
1189     records than the source attribute table. The user is warned if the
1190     right table does not fulfill this constraint. An outer join must be
1191     used in such cases.
1192     </para>
1193     </section>
1194 frank 1478
1195 jonathan 1490 <section><title>Unjoin Table</title>
1196     <para>
1197     As said above, a normal table cannot be closed while it is still
1198     used in a join. While the joined table resulting from a join of
1199     normal tables can be simply closed (and thereby dereferencing
1200     the source tables), this is not possible for attribute tables.
1201 frank 1478
1202 frank 1496 Hence joins on attribute tables must be solved explicitly. This is
1203 jonathan 1490 what the
1204     <menuchoice>
1205     <guimenu>Layer</guimenu>
1206     <guimenuitem>Unjoin Table</guimenuitem>
1207     </menuchoice>
1208     item is used for: The last join for the currently
1209 frank 1478 active layer is solved.
1210 jonathan 1490 </para>
1211     </section>
1212 frank 1478 </section>
1213 jan 1423 </chapter>
1214    
1215     <chapter><title>Trouble Shooting</title>
1216     <para>
1217 jonathan 1510 Here are a few problems that users have encountered when first using Thuban.
1218 jan 1423 </para>
1219 jonathan 1510 <para>
1220 jonathan 1490
1221 frank 1532 <itemizedlist>
1222 jonathan 1490 <listitem>
1223 frank 1532 <para>After adding two or more layers nothing is drawn in the map window.
1224     </para>
1225 jonathan 1490 <para>
1226     This is probably because the layers have different projections. Projections
1227 jonathan 1510 must be set on all layers and on the map itself if the layers' projections
1228 jonathan 1490 are different.
1229     </para>
1230     </listitem>
1231    
1232 frank 1532 <listitem>
1233     <para>Thuban crashes on startup with the error
1234 jonathan 1490 <literal>NameError: global name 'False' is not defined</literal>.
1235 frank 1532 </para>
1236 jonathan 1490 <para>
1237     <varname>True</varname> and <varname>False</varname> were only introduced
1238     in Python 2.2.1. Thuban depends on at least Python 2.2.1.
1239     </para>
1240     </listitem>
1241    
1242 frank 1532 <listitem>
1243     <para>After compiling Thuban, Thuban crashes with an error similar to
1244 jonathan 1490 <literal>
1245     ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined symbol: __gxx_personality_v0
1246     </literal>
1247 frank 1532 </para>
1248 jonathan 1490 <para>
1249     Thuban depends on the wxWindows library. If Thuban is compiled with an
1250 jonathan 1491 incompatible version of the compiler than wxWindows was compiled with
1251 jonathan 1490 this error may occur. Try compiling with a different version of the
1252 jonathan 1491 compiler.
1253 jonathan 1490 </para>
1254     </listitem>
1255 frank 1532 </itemizedlist>
1256 jonathan 1510 </para>
1257     <para>
1258     If an error occurs Thuban will display a dialog indicating the error
1259     before closing. The text should be copied and reported to the
1260     <ulink url="http://thuban.intevation.org/bugtracker.html">
1261     Intevation bugtracker
1262     </ulink>.
1263     More information about the system is available from
1264     <menuchoice><guimenu>Help</guimenu><guimenuitem>About</guimenuitem></menuchoice> box.
1265     This should also be included in the bug report.
1266 frank 1532 <figure>
1267     <title>Error Dialog</title>
1268 jonathan 1510 <mediaobject>
1269     <imageobject><imagedata fileref="../images/8_int_error.png" format="PNG" scale="&imgscale;"/></imageobject>
1270     <imageobject><imagedata fileref="./images/8_int_error.eps" format="EPS" scale="&imgscale;"/></imageobject>
1271     </mediaobject>
1272 frank 1532 </figure>
1273 jonathan 1510 </para>
1274 jonathan 1490
1275 jan 1423 </chapter>
1276    
1277     <appendix><title>Supported Data Sources</title>
1278     <para>
1279     </para>
1280 jonathan 1475 <variablelist>
1281     <varlistentry>
1282     <term>Shapefile</term>
1283 jonathan 1490 <listitem>
1284     <para>
1285     The Shapefile format has become a standard format for saving
1286     geographic vector information. It supports polygons, lines, and
1287     points.
1288    
1289     <ulink url="http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf">
1290     Technical Specification.
1291     </ulink>
1292     </para>
1293     </listitem>
1294 jonathan 1475 </varlistentry>
1295    
1296     <varlistentry>
1297 frank 1496 <term>dBase file</term>
1298 jonathan 1490 <listitem>
1299     <para>
1300 frank 1496 dBase files are used to store the attributes for each layer. This
1301 jonathan 1490 is closely associated with the Shapefile format. For detailed
1302 frank 1496 specifications on the correct format of a dBase file used with
1303 jonathan 1490 Thuban please see the Technical Specification for the Shapefile
1304     format above.
1305     </para>
1306     </listitem>
1307 jonathan 1475 </varlistentry>
1308    
1309 frank 1532 <varlistentry>
1310     <term>Raster files</term>
1311     <listitem>
1312     <para>
1313     Binding the GDAL library Thuban supports numerous raster file formats,
1314     see <ulink url="http://www.remotesensing.org/gdal/formats_list.html">
1315     GDAL format list</ulink> for details.</para>
1316    
1317     <para>Most commonly used is the <emphasis>TIFF/GeoTIFF</emphasis>
1318     format: Raster maps are provided as TIFF images, with an additional
1319     "world file" storing the geographic reference (usually with an
1320 jan 1544 extension ".tfw").
1321 frank 1532 </para>
1322     </listitem>
1323     </varlistentry>
1324    
1325 jonathan 1475 </variablelist>
1326 jan 1423 </appendix>
1327    
1328     <appendix><title>Supported Projections</title>
1329     <para>
1330 jonathan 1490 The following types of projections are directly support by
1331     Thuban. The specific values for each are provided by the user
1332     to create custom projections. Thuban comes with predefined
1333 frank 1507 projections which are available through the Projections dialog.
1334 jan 1423 </para>
1335 frank 1532 <itemizedlist>
1336     <listitem>
1337     <para>Geographic</para>
1338     <itemizedlist>
1339     <listitem><para><literal>Ellipsoid</literal></para></listitem>
1340     <listitem><para>
1341     <literal>Source Data</literal>: either Degrees or Radians
1342 frank 1507 </para></listitem>
1343 frank 1532 </itemizedlist>
1344     </listitem>
1345     <listitem>
1346     <para>Lambert Conic Conformal</para>
1347     <itemizedlist>
1348     <listitem><para><literal>Ellipsoid</literal></para></listitem>
1349     <listitem><para><literal>Latitude of 1st standard parallel</literal></para></listitem>
1350     <listitem><para><literal>Latitude of 2nd standard parallel</literal></para></listitem>
1351     <listitem><para><literal>Central Meridian</literal></para></listitem>
1352     <listitem><para><literal>Latitude of Origin</literal></para></listitem>
1353     <listitem><para><literal>False Easting</literal> (meters)</para></listitem>
1354     <listitem><para><literal>False Northing</literal> (meters)</para></listitem>
1355     </itemizedlist>
1356     </listitem>
1357     <listitem>
1358     <para>Transverse Mercator</para>
1359     <itemizedlist>
1360     <listitem><para><literal>Ellipsoid</literal></para></listitem>
1361     <listitem><para><literal>Latitude</literal>of origin</para></listitem>
1362     <listitem><para><literal>Longitude</literal>at central meridian</para></listitem>
1363     <listitem><para><literal>Scale Factor</literal>at central meridian</para></listitem>
1364     <listitem><para><literal>False Easting</literal> (meters)</para></listitem>
1365     <listitem><para><literal>False Northing</literal> (meters)</para></listitem>
1366     </itemizedlist>
1367     </listitem>
1368     <listitem>
1369     <para>Universal Transverse Mercator</para>
1370     <itemizedlist>
1371     <listitem><para><literal>Ellipsoid</literal></para></listitem>
1372     <listitem><para><literal>Zone</literal>
1373     (can be guessed appling the Propose button)</para></listitem>
1374     <listitem><para><literal>Southern Hemisphere</literal> flag</para></listitem>
1375     </itemizedlist>
1376     </listitem>
1377     </itemizedlist>
1378 frank 1507
1379     <para>
1380     Thuban comes with a sample set of map projections for various
1381     European countries. Apart from the basic projection they differ
1382     especially in their parameterization:
1383     </para>
1384 frank 1532 <itemizedlist>
1385     <listitem><para>Belgium Datum 1972 (Lambert Conic Conformal)</para>
1386     </listitem>
1387 frank 1507
1388 frank 1532 <listitem><para>Gauss-Boaga Zone 1 (Italy, Transverse Mercartor)</para>
1389     </listitem>
1390 frank 1507
1391 frank 1532 <listitem><para>Gauss-Krueger Zone 2 (Germany, Transverse Mercartor)
1392     </para>
1393     </listitem>
1394 frank 1507
1395 frank 1532 <listitem><para>Reseau Geodesique Francaise
1396     (France, Lambert Conic Conformal)</para>
1397     </listitem>
1398 frank 1507
1399 frank 1532 <listitem><para>UK National Grid (United Kingdom, Transverse Mercartor)
1400     </para>
1401     </listitem>
1402     </itemizedlist>
1403 frank 1507
1404     <para>
1405     Thuban uses the comprehensive PROJ library for projections. PROJ provides
1406     more than the four commonly used projections described above. If needed
1407     Thuban can be easily extended to a new projection covered by PROJ.
1408     </para>
1409 jan 1423 </appendix>
1410    
1411 bh 1367 </book>
1412 frank 1496

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26