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 |
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" scale="&imgscale;"/> </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" scale="&imgscale;"/> </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> |
183 |
|
|
184 |
<section><title>The Session Info-Tree</title> |
<section><title>The Session Info-Tree</title> |
185 |
<para> |
<para> |
186 |
<screenshot> |
<figure> |
187 |
<screeninfo>Session Info Tree</screeninfo> |
<title>Session Info Tree</title> |
188 |
<mediaobject> |
<mediaobject> |
189 |
<imageobject><imagedata fileref="../images/2_4_session_tree.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/2_4_session_tree.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Session Info Tree</phrase></textobject> |
|
|
<caption><para>Session Info Tree</para></caption> |
|
191 |
</mediaobject> |
</mediaobject> |
192 |
</screenshot> |
</figure> |
193 |
</para> |
</para> |
194 |
<para> |
<para> |
195 |
The session info-tree is primarily intended for developers working |
The session info-tree is primarily intended for developers working |
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. These |
standard file format for storing geographic objects. These |
237 |
files have the extension ``.shp''. Associated with |
files have the extension ``.shp''. Associated with |
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> |
285 |
</inlinemediaobject> |
</inlinemediaobject> |
286 |
enlarges 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 selects a region that will |
was clicked. Clicking and dragging selects a region that will be |
289 |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
|
|
444 |
<menuchoice><guimenu>Map</guimenu></menuchoice>. |
<menuchoice><guimenu>Map</guimenu></menuchoice>. |
445 |
</para> |
</para> |
446 |
|
|
447 |
|
<itemizedlist> |
448 |
|
<listitem> |
449 |
<para> |
<para> |
450 |
The Move Layer to Top tool |
The Move Layer to Top tool |
451 |
<inlinemediaobject> |
<inlinemediaobject> |
458 |
<textobject> <phrase>Move Layer to Top</phrase> </textobject> |
<textobject> <phrase>Move Layer to Top</phrase> </textobject> |
459 |
</inlinemediaobject> raises the selected layer to the top of the map. |
</inlinemediaobject> raises the selected layer to the top of the map. |
460 |
</para> |
</para> |
461 |
|
</listitem> |
462 |
|
<listitem> |
463 |
|
|
464 |
<para> |
<para> |
465 |
The Move Layer Up tool |
The Move Layer Up tool |
473 |
<textobject> <phrase>Move Layer Up</phrase> </textobject> |
<textobject> <phrase>Move Layer Up</phrase> </textobject> |
474 |
</inlinemediaobject> raises the selected layer one level. |
</inlinemediaobject> raises the selected layer one level. |
475 |
</para> |
</para> |
476 |
|
</listitem> |
477 |
|
<listitem> |
478 |
|
|
479 |
<para> |
<para> |
480 |
The Move Layer Down tool |
The Move Layer Down tool |
489 |
</inlinemediaobject> lowers the selected layer one level. |
</inlinemediaobject> lowers the selected layer one level. |
490 |
</para> |
</para> |
491 |
|
|
492 |
|
</listitem> |
493 |
|
<listitem> |
494 |
<para> |
<para> |
495 |
The Move Layer to Bottom tool |
The Move Layer to Bottom tool |
496 |
<inlinemediaobject> |
<inlinemediaobject> |
504 |
</inlinemediaobject> lowers the selected layer to the bottom of the map. |
</inlinemediaobject> lowers the selected layer to the bottom of the map. |
505 |
</para> |
</para> |
506 |
|
|
507 |
|
</listitem> |
508 |
|
<listitem> |
509 |
<para> |
<para> |
510 |
The Visible tool |
The Visible tool |
511 |
<inlinemediaobject> |
<inlinemediaobject> |
520 |
hidden. |
hidden. |
521 |
</para> |
</para> |
522 |
|
|
523 |
|
</listitem> |
524 |
|
<listitem> |
525 |
<para> |
<para> |
526 |
The Invisible tool |
The Invisible tool |
527 |
<inlinemediaobject> |
<inlinemediaobject> |
535 |
</inlinemediaobject> hides the selected layer in the map. |
</inlinemediaobject> hides the selected layer in the map. |
536 |
</para> |
</para> |
537 |
|
|
538 |
|
</listitem> |
539 |
|
<listitem> |
540 |
<para> |
<para> |
541 |
The Properties tool |
The Properties tool |
542 |
<inlinemediaobject> |
<inlinemediaobject> |
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> |
</section> |
562 |
|
|
563 |
<section><title>Exporting</title> |
<section><title>Exporting</title> |
568 |
<menuchoice> |
<menuchoice> |
569 |
<guimenu>Map</guimenu> |
<guimenu>Map</guimenu> |
570 |
<guimenuitem>Export</guimenuitem> |
<guimenuitem>Export</guimenuitem> |
571 |
</menuchoice>. Under other platforms this option is not available. |
</menuchoice> for use in reports, presentations, or further |
572 |
Clicking this menu item open a file selection dialog that lets the |
modification. The current map view, legend, and, if available, |
573 |
user select a location to export the map. |
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> |
</para> |
577 |
</section> |
</section> |
578 |
|
|
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. This dialog will differ depending |
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. |
on which platform Thuban is running. |
589 |
</para> |
</para> |
590 |
</section> |
</section> |
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 the Geo-spatial Data Abstraction Library |
file format supported by the Geo-spatial Data Abstraction Library |
605 |
(GDAL). The images must have geographic |
(GDAL). The images must have geographic |
606 |
coordinate data either embedded within the file or in a separate |
coordinate data either embedded within the file or in a separate |
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> |
624 |
<guimenu>Layer</guimenu> |
<guimenu>Layer</guimenu> |
625 |
<guimenuitem>Properties</guimenuitem> |
<guimenuitem>Properties</guimenuitem> |
626 |
</menuchoice> opens a dialog that displays a layer's properties. |
</menuchoice> opens a dialog that displays a layer's properties. |
627 |
All layers have a title and it can be modified in the text field |
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 |
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 |
of shape (polygon, arc, point) the classification table will be |
630 |
shown. Image layers have no other properties other than title |
shown. Image layers have no other properties other than title |
631 |
and type. |
and type. |
632 |
</para> |
</para> |
633 |
<para> |
<para> |
634 |
<screenshot> |
<figure> |
635 |
<screeninfo>Properties Window</screeninfo> |
<title>Properties Window</title> |
636 |
<mediaobject> |
<mediaobject> |
637 |
<imageobject><imagedata fileref="../images/4_2_layer_properties.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/4_2_layer_properties.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Properties Window</phrase></textobject> |
|
|
<caption><para>The Properties Window for a Shape Layer</para></caption> |
|
639 |
</mediaobject> |
</mediaobject> |
640 |
</screenshot> |
</figure> |
641 |
</para> |
</para> |
642 |
<para> |
<para> |
643 |
<screenshot> |
<figure> |
644 |
<screeninfo>Properties Window</screeninfo> |
<title>Properties Window</title> |
645 |
<mediaobject> |
<mediaobject> |
646 |
<imageobject><imagedata fileref="../images/4_2_raster_layer_properties.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/4_2_raster_layer_properties.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Properties Window</phrase></textobject> |
|
|
<caption><para>The Properties Window for an Image Layer</para></caption> |
|
648 |
</mediaobject> |
</mediaobject> |
649 |
</screenshot> |
</figure> |
650 |
</para> |
</para> |
651 |
</section> |
</section> |
652 |
|
|
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 if no other group matches. |
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> |
731 |
button. |
button. |
732 |
</para> |
</para> |
733 |
<para> |
<para> |
734 |
<screenshot> |
To apply the changes to the map the user can click |
735 |
<screeninfo>Properties Window</screeninfo> |
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> |
<mediaobject> |
749 |
<imageobject><imagedata fileref="../images/5_classification.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/5_classification.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Properties Window</phrase></textobject> |
|
|
<caption><para>The Properties Window with Classifications</para></caption> |
|
751 |
</mediaobject> |
</mediaobject> |
752 |
</screenshot> |
</figure> |
753 |
</para> |
</para> |
754 |
<para> |
<para> |
755 |
The order of the groups in the classification is significant |
The order of the groups in the classification is significant |
815 |
|
|
816 |
<section><title>Generating Classes</title> |
<section><title>Generating Classes</title> |
817 |
<para> |
<para> |
818 |
<screenshot> |
<figure> |
819 |
<screeninfo>Generate Class</screeninfo> |
<title>Generate Class</title> |
820 |
<mediaobject> |
<mediaobject> |
821 |
<imageobject><imagedata fileref="../images/5_3_genclass.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/5_3_genclass.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Generate Class</phrase></textobject> |
|
|
<caption><para>The Generate Classifications Dialog</para></caption> |
|
823 |
</mediaobject> |
</mediaobject> |
824 |
</screenshot> |
</figure> |
825 |
</para> |
</para> |
826 |
<para> |
<para> |
827 |
Creating a classification by hand can be tedious. |
Creating a classification by hand can be tedious. |
831 |
opens the <varname>Generate Classification</varname> dialog. |
opens the <varname>Generate Classification</varname> dialog. |
832 |
Under the <varname>Generate</varname> pull down 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 the 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 |
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 of items |
The Quantiles option generates ranges based on the number of items |
894 |
in the input set. For example, by specifying five groups Thuban will |
in the table. For example, by specifying five groups Thuban will |
895 |
generate five 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 |
groupings, 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> |
923 |
<guimenu>Layer</guimenu> |
<guimenu>Layer</guimenu> |
924 |
<guimenuitem>Projection</guimenuitem> |
<guimenuitem>Projection</guimenuitem> |
925 |
</menuchoice>. |
</menuchoice>. |
926 |
<screenshot> |
<figure> |
927 |
<screeninfo>Projection Window</screeninfo> |
<title>Projection Window</title> |
928 |
<mediaobject> |
<mediaobject> |
929 |
<imageobject><imagedata fileref="../images/6_projection.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/6_projection.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Projection Window</phrase></textobject> |
|
|
<caption><para>The Projection Window</para></caption> |
|
931 |
</mediaobject> |
</mediaobject> |
932 |
</screenshot> |
</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 |
961 |
<guibutton>Remove</guibutton> button will permanently 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> |
999 |
|
|
1000 |
<section><title>Table View</title> |
<section><title>Table View</title> |
1001 |
<para> |
<para> |
1002 |
<screenshot> |
<figure> |
1003 |
<screeninfo>Table View</screeninfo> |
<title>Table View</title> |
1004 |
<mediaobject> |
<mediaobject> |
1005 |
<imageobject><imagedata fileref="../images/7_1_table_view.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/7_1_table_view.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Table View</phrase></textobject> |
|
|
<caption><para>The Table View</para></caption> |
|
1007 |
</mediaobject> |
</mediaobject> |
1008 |
</screenshot> |
</figure> |
1009 |
</para> |
</para> |
1010 |
<para> |
<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 has 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> |
1022 |
third 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_inhabitant < bikes_per_inhabitant" (note that the field names |
<literal>cars_per_inhabitant < bikes_per_inhabitant</literal> |
1027 |
are only explanatory, the 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 |
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> |
1126 |
|
|
1127 |
<section><title>Join</title> |
<section><title>Join</title> |
1128 |
<para> |
<para> |
1129 |
<screenshot> |
<figure> |
1130 |
<screeninfo>Join Tables</screeninfo> |
<title>Join Tables</title> |
1131 |
<mediaobject> |
<mediaobject> |
1132 |
<imageobject><imagedata fileref="../images/7_2_5_join.png" format="PNG" scale="&imgscale;"/></imageobject> |
<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> |
<imageobject><imagedata fileref="./images/7_2_5_join.eps" format="EPS" scale="&imgscale;"/></imageobject> |
|
<textobject><phrase>Join Tables</phrase></textobject> |
|
|
<caption><para>The Join Tables Dialog</para></caption> |
|
1134 |
</mediaobject> |
</mediaobject> |
1135 |
</screenshot> |
</figure> |
1136 |
</para> |
</para> |
1137 |
<para> |
<para> |
1138 |
The |
The |
1158 |
</section> |
</section> |
1159 |
<section><title>Attribute Tables</title> |
<section><title>Attribute Tables</title> |
1160 |
<para> |
<para> |
1161 |
To clearly separate between both types, Thuban provides |
To clearly separate between both types of tables (data and |
1162 |
functionality regarding the attribute tables under the Layer menu. |
attribute), Thuban provides functionality regarding the attribute |
1163 |
|
tables under the <menuchoice><guimenu>Layer</guimenu></menuchoice> menu. |
1164 |
</para> |
</para> |
1165 |
|
|
1166 |
<section><title>Show Table</title> |
<section><title>Show Table</title> |
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> |
</para> |
1219 |
<variablelist> |
<para> |
1220 |
|
|
1221 |
<varlistentry> |
<itemizedlist> |
|
<term>After adding two or more layers nothing is being drawn in the |
|
|
map window. |
|
|
</term> |
|
1222 |
<listitem> |
<listitem> |
1223 |
|
<para>After adding two or more layers nothing is drawn in the map window. |
1224 |
|
</para> |
1225 |
<para> |
<para> |
1226 |
This is probably because the layers have different projections. Projections |
This is probably because the layers have different projections. Projections |
1227 |
must be set on all layers and on the map itself if the layer's projections |
must be set on all layers and on the map itself if the layers' projections |
1228 |
are different. |
are different. |
1229 |
</para> |
</para> |
1230 |
</listitem> |
</listitem> |
|
</varlistentry> |
|
1231 |
|
|
|
<varlistentry> |
|
|
<term>Thuban crashes on startup with the error |
|
|
<literal>NameError: global name 'False' is not defined</literal>. |
|
|
</term> |
|
1232 |
<listitem> |
<listitem> |
1233 |
|
<para>Thuban crashes on startup with the error |
1234 |
|
<literal>NameError: global name 'False' is not defined</literal>. |
1235 |
|
</para> |
1236 |
<para> |
<para> |
1237 |
<varname>True</varname> and <varname>False</varname> were only introduced |
<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. |
in Python 2.2.1. Thuban depends on at least Python 2.2.1. |
1239 |
</para> |
</para> |
1240 |
</listitem> |
</listitem> |
|
</varlistentry> |
|
1241 |
|
|
1242 |
<varlistentry> |
<listitem> |
1243 |
<term>After compiling Thuban, Thuban crashes with an error similar to |
<para>After compiling Thuban, Thuban crashes with an error similar to |
1244 |
<literal> |
<literal> |
1245 |
ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined symbol: __gxx_personality_v0 |
ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined symbol: __gxx_personality_v0 |
1246 |
</literal> |
</literal> |
1247 |
</term> |
</para> |
|
<listitem> |
|
1248 |
<para> |
<para> |
1249 |
Thuban depends on the wxWindows library. If Thuban is compiled with an |
Thuban depends on the wxWindows library. If Thuban is compiled with an |
1250 |
incompatible version of the compiler than wxWindows was compiled with |
incompatible version of the compiler than wxWindows was compiled with |
1252 |
compiler. |
compiler. |
1253 |
</para> |
</para> |
1254 |
</listitem> |
</listitem> |
1255 |
</varlistentry> |
</itemizedlist> |
1256 |
</variablelist> |
</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> |
1274 |
|
|
1275 |
</chapter> |
</chapter> |
1276 |
|
|
1306 |
</listitem> |
</listitem> |
1307 |
</varlistentry> |
</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> |
1324 |
|
|
1325 |
</variablelist> |
</variablelist> |
1326 |
</appendix> |
</appendix> |
1327 |
|
|
1330 |
The following types of projections are directly support by |
The following types of projections are directly support by |
1331 |
Thuban. The specific values for each are provided by the user |
Thuban. The specific values for each are provided by the user |
1332 |
to create custom projections. Thuban comes with predefined |
to create custom projections. Thuban comes with predefined |
1333 |
projections and are available through the Projections dialog. |
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></para></listitem> |
|
|
</varlistentry> |
|
|
<varlistentry> |
|
|
<term>Lambert Conic Conformal</term> |
|
|
<listitem><para></para></listitem> |
|
|
</varlistentry> |
|
|
<varlistentry> |
|
|
<term>Transverse Mercator</term> |
|
|
<listitem><para></para></listitem> |
|
|
</varlistentry> |
|
|
<varlistentry> |
|
|
<term>Universal Transverse Mercator</term> |
|
|
<listitem><para></para></listitem> |
|
|
</varlistentry> |
|
|
</variablelist> |
|
1409 |
</appendix> |
</appendix> |
1410 |
|
|
1411 |
</book> |
</book> |