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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1478  
changed lines
  Added in v.1570

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26