/[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 1530 - (hide annotations)
Thu Jul 31 09:57:25 2003 UTC (21 years, 7 months ago) by jonathan
Original Path: trunk/thuban/Doc/manual/thuban-manual.xml
File MIME type: text/xml
File size: 60037 byte(s)
Added a few sentences about the Fix Border Color option when generating classes.

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