/[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 1532 - (hide annotations)
Thu Jul 31 10:58:24 2003 UTC (21 years, 7 months ago) by frank
Original Path: trunk/thuban/Doc/manual/thuban-manual.xml
File MIME type: text/xml
File size: 59481 byte(s)
* Doc/manual/thuban-manual.xml:
	Changed the screenshot elements to figure.
	Changed some variablelist elements to itemizedlist.
	Added section on GDAL formats.

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