/[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 1507 by frank, Tue Jul 29 14:30:19 2003 UTC revision 1532 by frank, Thu Jul 31 10:58:24 2003 UTC
# Line 48  Line 48 
48          <section><title>Installation</title>          <section><title>Installation</title>
49          <para>          <para>
50          Thuban is actively supported under Debian Testing (sarge), RedHat 7.2,          Thuban is actively supported under Debian Testing (sarge), RedHat 7.2,
51          and Windows 2000. All the necessary files can be found on the          and Windows 2000. The following list of files that Thuban requires
52            can be found on the
53          <ulink url="http://thuban.intevation.org/download.html">          <ulink url="http://thuban.intevation.org/download.html">
54          Thuban Download site          Thuban Download site
55          </ulink>.          </ulink>.
56            <variablelist>
57            <varlistentry>
58            <term>Debian Testing (sarge)</term>
59            <listitem>
60            <itemizedlist>
61                <listitem><para>Thuban-0.8.1-1-debian.i386.rpm</para></listitem>
62                <listitem><para>GTK 1.2.3</para></listitem>
63                <listitem><para>Python 2.2.1</para></listitem>
64                <listitem><para>Python 2.2 XML Base Tools</para></listitem>
65                <listitem><para>wxWindows 2.4</para></listitem>
66                <listitem><para>wxWindows 2.4 Python Bindings</para></listitem>
67                <listitem><para>proj 4.4.5 Projection Library</para></listitem>
68                <listitem><para>SQLite Python Bindings 0.4.3</para></listitem>
69                <listitem><para>GDAL 1.1.8</para></listitem>
70            </itemizedlist>
71            </listitem>
72            </varlistentry>
73            <varlistentry>
74            <term>RedHat 7.2</term>
75            <listitem>
76            <itemizedlist>
77                <listitem><para>Thuban-0.8.1-1.i386.rpm</para></listitem>
78                <listitem><para>Python 2.2.1</para></listitem>
79                <listitem><para>wxPython 2.4 for Python 2.2 with wxGTK</para></listitem>
80                <listitem><para>proj 4.4.5 Projection Library</para></listitem>
81                <listitem><para>SQLite 2.8.3</para></listitem>
82                <listitem><para>PySQLite 0.4.3</para></listitem>
83                <listitem><para>GDAL 1.1.8</para></listitem>
84            </itemizedlist>
85            </listitem>
86            </varlistentry>
87            <varlistentry>
88            <term>Windows 2000</term>
89            <listitem>
90            <itemizedlist>
91                <listitem><para>Thuban-0.8.1-0.exe</para></listitem>
92                <listitem><para>Python 2.2.1</para></listitem>
93                <listitem><para>wxWindows 2.4 for Python 2.2</para></listitem>
94                <listitem><para>SQLite Python Libraries</para></listitem>
95                <listitem><para>GDAL for Thuban</para></listitem>
96            </itemizedlist>
97            </listitem>
98            </varlistentry>
99            </variablelist>
100          </para>          </para>
101          </section>          </section>
102    
103          <section><title>The Main Window</title>          <section><title>The Main Window</title>
104          <para>          <para>
105          <screenshot>          <figure>
106          <screeninfo>The Main Window</screeninfo>          <title>The Main Window</title>
107          <mediaobject>          <mediaobject>
108          <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>
109          <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>  
110          </mediaobject>          </mediaobject>
111          </screenshot>          </figure>
112          </para>          </para>
113    
114          <para>          <para>
# Line 159  Line 202 
202    
203          <section><title>The Session Info-Tree</title>          <section><title>The Session Info-Tree</title>
204          <para>          <para>
205          <screenshot>          <figure>
206          <screeninfo>Session Info Tree</screeninfo>          <title>Session Info Tree</title>
207          <mediaobject>          <mediaobject>
208          <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>
209          <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>  
210          </mediaobject>          </mediaobject>
211          </screenshot>          </figure>
212          </para>          </para>
213          <para>          <para>
214          The session info-tree is primarily intended for developers working          The session info-tree is primarily intended for developers working
# Line 209  Line 250 
250    
251          <section><title>Adding and Removing Layers</title>          <section><title>Adding and Removing Layers</title>
252          <para>          <para>
253          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
254          and image layers. Shape layers are stored in Shapefile format, a          and image layers. Shape layers are stored in Shapefile format, a
255          standard file format for storing geographic objects. These          standard file format for storing geographic objects. These
256          files have the extension ``.shp''. Associated with          files have the extension ``.shp''. Associated with
# Line 248  Line 289 
289          the tool bar or from the          the tool bar or from the
290          <menuchoice><guimenu>Map</guimenu></menuchoice> menu.          <menuchoice><guimenu>Map</guimenu></menuchoice> menu.
291          </para>          </para>
292            <itemizedlist>
293            <listitem>
294          <para>          <para>
295          The ZoomIn tool          The ZoomIn tool
296          <inlinemediaobject>          <inlinemediaobject>
# Line 261  Line 304 
304          </inlinemediaobject>          </inlinemediaobject>
305          enlarges a region of the map. Clicking once on the map          enlarges a region of the map. Clicking once on the map
306          will double the magnification and center the map on the point that          will double the magnification and center the map on the point that
307          was clicked. Clicking and dragging selects a region that will          was clicked. Clicking and dragging selects a region that will be
308          enlarged to fit the window.          enlarged to fit the window.
309          </para>          </para>
310            </listitem>
311            <listitem>
312          <para>          <para>
313          The ZoomOut tool          The ZoomOut tool
314          <inlinemediaobject>          <inlinemediaobject>
# Line 280  Line 325 
325          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
326          scaled to fit into that box.          scaled to fit into that box.
327          </para>          </para>
328            </listitem>
329            <listitem>
330          <para>          <para>
331          The Pan tool          The Pan tool
332          <inlinemediaobject>          <inlinemediaobject>
# Line 293  Line 340 
340          </inlinemediaobject>          </inlinemediaobject>
341          allows the user to move the map around by clicking and dragging.          allows the user to move the map around by clicking and dragging.
342          </para>          </para>
343            </listitem>
344            <listitem>
345          <para>          <para>
346          The Full Extent tool          The Full Extent tool
347          <inlinemediaobject>          <inlinemediaobject>
# Line 306  Line 355 
355          </inlinemediaobject>          </inlinemediaobject>
356          rescales the viewable region so that the entire map is visible.          rescales the viewable region so that the entire map is visible.
357          </para>          </para>
358            </listitem>
359            <listitem>
360          <para>          <para>
361          The Full Layer Extent tool          The Full Layer Extent tool
362          <inlinemediaobject>          <inlinemediaobject>
# Line 321  Line 372 
372          layer fits within the window. If no layer is selected this button          layer fits within the window. If no layer is selected this button
373          will be disabled.          will be disabled.
374          </para>          </para>
375            </listitem>
376            <listitem>
377          <para>          <para>
378          The Full Shape Extent tool          The Full Shape Extent tool
379          <inlinemediaobject>          <inlinemediaobject>
# Line 335  Line 388 
388          rescales the viewable region so that the currently selected          rescales the viewable region so that the currently selected
389          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
390          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
391          selected this button will be disabled.          selected this button will be disabled. This feature is especially
392            helpful when identifying an object related to a selected record
393            in a tableview (see below).
394    
395          </para>          </para>
396            </listitem>
397            </itemizedlist>
398          </section>          </section>
399    
400          <section><title>Object Identification</title>          <section><title>Object Identification</title>
# Line 353  Line 411 
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          shows all the table attributes for that object. Any current selection          shows all the table attributes for that object. Any current selection
414          is lost.          is lost. Objects on the map are typically shapes and this document
415            will often refer to objects as shapes.
416          </para>          </para>
417          </section>          </section>
418    
# Line 404  Line 463 
463          <menuchoice><guimenu>Map</guimenu></menuchoice>.          <menuchoice><guimenu>Map</guimenu></menuchoice>.
464          </para>          </para>
465    
466            <itemizedlist>
467            <listitem>
468          <para>          <para>
469          The Move Layer to Top tool          The Move Layer to Top tool
470          <inlinemediaobject>          <inlinemediaobject>
# Line 416  Line 477 
477          <textobject> <phrase>Move Layer to Top</phrase> </textobject>          <textobject> <phrase>Move Layer to Top</phrase> </textobject>
478          </inlinemediaobject> raises the selected layer to the top of the map.          </inlinemediaobject> raises the selected layer to the top of the map.
479          </para>          </para>
480            </listitem>
481            <listitem>
482    
483          <para>          <para>
484          The Move Layer Up tool          The Move Layer Up tool
# Line 429  Line 492 
492          <textobject> <phrase>Move Layer Up</phrase> </textobject>          <textobject> <phrase>Move Layer Up</phrase> </textobject>
493          </inlinemediaobject> raises the selected layer one level.          </inlinemediaobject> raises the selected layer one level.
494          </para>          </para>
495            </listitem>
496            <listitem>
497    
498          <para>          <para>
499          The Move Layer Down tool          The Move Layer Down tool
# Line 443  Line 508 
508          </inlinemediaobject> lowers the selected layer one level.          </inlinemediaobject> lowers the selected layer one level.
509          </para>          </para>
510    
511            </listitem>
512            <listitem>
513          <para>          <para>
514          The Move Layer to Bottom tool          The Move Layer to Bottom tool
515          <inlinemediaobject>          <inlinemediaobject>
# Line 456  Line 523 
523          </inlinemediaobject> lowers the selected layer to the bottom of the map.          </inlinemediaobject> lowers the selected layer to the bottom of the map.
524          </para>          </para>
525    
526            </listitem>
527            <listitem>
528          <para>          <para>
529          The Visible tool          The Visible tool
530          <inlinemediaobject>          <inlinemediaobject>
# Line 470  Line 539 
539          hidden.          hidden.
540          </para>          </para>
541    
542            </listitem>
543            <listitem>
544          <para>          <para>
545          The Invisible tool          The Invisible tool
546          <inlinemediaobject>          <inlinemediaobject>
# Line 483  Line 554 
554          </inlinemediaobject> hides the selected layer in the map.          </inlinemediaobject> hides the selected layer in the map.
555          </para>          </para>
556    
557            </listitem>
558            <listitem>
559          <para>          <para>
560          The Properties tool          The Properties tool
561          <inlinemediaobject>          <inlinemediaobject>
# Line 497  Line 570 
570          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
571          properties dialog for that layer.          properties dialog for that layer.
572          </para>          </para>
573            </listitem>
574            </itemizedlist>
575            <para>
576            Along the bottom of the legend is the scalebar. The scalebar
577            will be available if there are any layers and the  map has a
578            projection set.
579            </para>
580          </section>          </section>
581    
582          <section><title>Exporting</title>          <section><title>Exporting</title>
# Line 507  Line 587 
587          <menuchoice>          <menuchoice>
588          <guimenu>Map</guimenu>          <guimenu>Map</guimenu>
589          <guimenuitem>Export</guimenuitem>          <guimenuitem>Export</guimenuitem>
590          </menuchoice>. Under other platforms this option is not available.          </menuchoice> for use in reports, presentations, or further
591          Clicking this menu item open a file selection dialog that lets the          modification. The current map view, legend, and, if available,
592          user select a location to export the map.          scalebar are exported. Under other platforms this option is not
593            available. Clicking this menu item open a file selection dialog
594            that lets the user select a location to export the map.
595          </para>          </para>
596          </section>          </section>
597    
# Line 519  Line 601 
601          <menuchoice>          <menuchoice>
602          <guimenu>Map</guimenu>          <guimenu>Map</guimenu>
603          <guimenuitem>Print</guimenuitem>          <guimenuitem>Print</guimenuitem>
604          </menuchoice>. A standard printing dialog will open allowing the          </menuchoice>. The current map view, legend, and, if available,
605          user to configure the printer. This dialog will differ depending          scalebar are printed. A standard printing dialog will open allowing
606            the user to configure the printer. This dialog will differ depending
607          on which platform Thuban is running.          on which platform Thuban is running.
608          </para>          </para>
609          </section>          </section>
# Line 536  Line 619 
619          There are two types of layers supported by Thuban: shape layers and          There are two types of layers supported by Thuban: shape layers and
620          image layers. Shape layers consist of vector based shapes with          image layers. Shape layers consist of vector based shapes with
621          geo-referenced coordinates. There are three types of supported          geo-referenced coordinates. There are three types of supported
622          shapes: polygons, lines, and points. Image layers can be any image          shapes: polygons, lines (arc), and points. Image layers can be any image
623          file format supported by the Geo-spatial Data Abstraction Library          file format supported by the Geo-spatial Data Abstraction Library
624          (GDAL). The images must have geographic          (GDAL). The images must have geographic
625          coordinate data either embedded within the file or in a separate          coordinate data either embedded within the file or in a separate
# Line 544  Line 627 
627          work very well with Thuban and were designed specifically to be image          work very well with Thuban and were designed specifically to be image
628          layers in GIS programs.          layers in GIS programs.
629          </para>          </para>
630            <para>
631            All actions in the
632            <menuchoice>
633            <guimenu>Layer</guimenu>
634            </menuchoice> menu act on the currently selected layer in the legend.
635            </para>
636          </section>          </section>
637    
638          <section><title>Properties</title>          <section><title>Properties</title>
# Line 554  Line 643 
643          <guimenu>Layer</guimenu>          <guimenu>Layer</guimenu>
644          <guimenuitem>Properties</guimenuitem>          <guimenuitem>Properties</guimenuitem>
645          </menuchoice> opens a dialog that displays a layer's properties.          </menuchoice> opens a dialog that displays a layer's properties.
646          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
647          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
648          of shape (polygon, arc, point) the classification table will be          of shape (polygon, arc, point) the classification table will be
649          shown. Image layers have no other properties other than title          shown. Image layers have no other properties other than title
650          and type.          and type.
651          </para>          </para>
652          <para>          <para>
653          <screenshot>          <figure>
654          <screeninfo>Properties Window</screeninfo>          <title>Properties Window</title>
655          <mediaobject>          <mediaobject>
656          <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>
657          <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>  
658          </mediaobject>          </mediaobject>
659          </screenshot>          </figure>
660          </para>          </para>
661          <para>          <para>
662          <screenshot>          <figure>
663          <screeninfo>Properties Window</screeninfo>          <title>Properties Window</title>
664          <mediaobject>          <mediaobject>
665          <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>
666          <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>  
667          </mediaobject>          </mediaobject>
668          </screenshot>          </figure>
669          </para>          </para>
670          </section>          </section>
671    
# Line 646  Line 731 
731      <para>      <para>
732      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
733      map, a default classification is created with the DEFAULT group. This      map, a default classification is created with the DEFAULT group. This
734      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
735      attributes, will match this group if no other group matches.      layer, regardless of its attributes, will match this group if no other
736        group matches.
737      </para>      </para>
738    
739          <section><title>Editing Classifications</title>          <section><title>Editing Classifications</title>
# Line 664  Line 750 
750          button.          button.
751          </para>          </para>
752          <para>          <para>
753          <screenshot>          To apply the changes to the map the user can click
754          <screeninfo>Properties Window</screeninfo>          either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
755            <guibutton>Try</guibutton> will not close the dialog box, allowing
756            the user to see how the classification changes the map.
757            <guibutton>Revert</guibutton> will undo the last classification applied
758            to the map. <guibutton>OK</guibutton> will commit the changes and
759            close the dialog. The user will be unable to undo the changes.
760            <guibutton>Close</guibutton> simply closes the dialog box. If any
761            changes have not been applied with <guibutton>Try</guibutton> the
762            changes will not be applied to the map.
763            </para>
764            <para>
765            <figure>
766            <title>Properties Window</title>
767          <mediaobject>          <mediaobject>
768          <imageobject><imagedata fileref="../images/5_classification.png" format="PNG" scale="&imgscale;"/></imageobject>          <imageobject><imagedata fileref="../images/5_classification.png" format="PNG" scale="&imgscale;"/></imageobject>
769          <imageobject><imagedata fileref="./images/5_classification.eps" format="EPS" scale="&imgscale;"/></imageobject>          <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>  
770          </mediaobject>          </mediaobject>
771          </screenshot>          </figure>
772          </para>          </para>
773          <para>          <para>
774          The order of the groups in the classification is significant          The order of the groups in the classification is significant
# Line 738  Line 834 
834    
835          <section><title>Generating Classes</title>          <section><title>Generating Classes</title>
836          <para>          <para>
837          <screenshot>          <figure>
838          <screeninfo>Generate Class</screeninfo>          <title>Generate Class</title>
839          <mediaobject>          <mediaobject>
840          <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>
841          <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>  
842          </mediaobject>          </mediaobject>
843          </screenshot>          </figure>
844          </para>          </para>
845          <para>          <para>
846          Creating a classification by hand can be tedious.          Creating a classification by hand can be tedious.
# Line 756  Line 850 
850          opens the <varname>Generate Classification</varname> dialog.          opens the <varname>Generate Classification</varname> dialog.
851          Under the <varname>Generate</varname> pull down there are at most          Under the <varname>Generate</varname> pull down there are at most
852          three different ways to generate classifications:          three different ways to generate classifications:
853          Unique Values, Unique Distribution, and Quantiles. Some options          Unique Values, Uniform Distribution, and Quantiles. Some options
854          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
855          support them. For instance, <varname>Unique Distribution</varname>          support them. For instance, <varname>Uniform Distribution</varname>
856          doesn't make sense for a Text field.          doesn't make sense for a Text field.
857          </para>          </para>
858          <para>          <para>
859          For every way of generating a classification, a color scheme must          For every way of generating a classification, a color scheme must
860          be selected. Thuban provides several different color schemes that          be selected. Thuban provides several different color schemes that
861          affect how the group properties change over the classification.          affect how the group properties change over the classification.
862            It may be desirable that only certain properties change over the
863            classification. If the shape type is a polygon or a point then
864            the <guibutton>Fix Border Color</guibutton> option will be available.
865            This allows the user to select a border color for all classification
866            groups.
867          It is also possible to create a custom color scheme. Selecting          It is also possible to create a custom color scheme. Selecting
868          this option will display two symbols: the one of the left has the          this option will display two symbols: the one of the left has the
869          properties of the first group and the one on the right has the          properties of the first group and the one on the right has the
870          properties of the last group. Thuban will interpolate between these          properties of the last group. Thuban will interpolate between these
871          two properties to generate the other groups.          two properties to generate the other groups.
872            <figure>
873            <title>Custom Color Scheme</title>
874            <mediaobject>
875            <imageobject><imagedata fileref="../images/5_2_custom_ramp.png" format="PNG" scale="&imgscale;"/></imageobject>
876            <imageobject><imagedata fileref="./images/5_2_custom_ramp.eps" format="EPS" scale="&imgscale;"/></imageobject>
877            </mediaobject>
878            </figure>
879          </para>          </para>
880          <para>          <para>
881          The Unique Values option lets the user select specific values that          The Unique Values option lets the user select specific values that
# Line 779  Line 885 
885          right. Each list can be sorted or reversed for easier searching.          right. Each list can be sorted or reversed for easier searching.
886          The classification that is generated will be in the same order as          The classification that is generated will be in the same order as
887          the list on the right.          the list on the right.
888            <figure>
889            <title>Unique Values</title>
890            <mediaobject>
891            <imageobject><imagedata fileref="../images/5_2_unique_values.png" format="PNG" scale="&imgscale;"/></imageobject>
892            <imageobject><imagedata fileref="./images/5_2_unique_values.eps" format="EPS" scale="&imgscale;"/></imageobject>
893            </mediaobject>
894            </figure>
895          </para>          </para>
896          <para>          <para>
897          The Unique Distribution option creates a user specified number of          The Uniform Distribution option creates a user specified number of
898          groups of ranges such that each range covers equal intervals. The          groups of ranges such that each range covers equal intervals. The
899          minimum and maximum values can automatically be retrieved from the          minimum and maximum values can automatically be retrieved from the
900          table by clicking <guibutton>Retrieve From Table</guibutton>. The          table by clicking <guibutton>Retrieve From Table</guibutton>. The
901          stepping is how large each interval is. Adjusting this value will          stepping is how large each interval is. Adjusting this value will
902          automatically recalculate how many groups is appropriate.          automatically recalculate how many groups is appropriate.
903            <figure>
904            <title>Uniform Distribution</title>
905            <mediaobject>
906            <imageobject><imagedata fileref="../images/5_2_uniform_dist.png" format="PNG" scale="&imgscale;"/></imageobject>
907            <imageobject><imagedata fileref="./images/5_2_uniform_dist.eps" format="EPS" scale="&imgscale;"/></imageobject>
908            </mediaobject>
909            </figure>
910          </para>          </para>
911          <para>          <para>
912          The Quantiles option generates ranges based on the number of items          The Quantiles option generates ranges based on the number of items
913          in the input set. For example, by specifying five groups Thuban will          in the table. For example, by specifying five groups Thuban will
914          generate five groups with appropriate ranges such that 20% of the table          generate five groups with appropriate ranges such that 20% of the table
915          data is in each group. If it is impossible to generate exact          data is in each group. If it is impossible to generate exact
916          groupings, Thuban will issue a warning but allow the user to continue.          groupings, Thuban will issue a warning but allow the user to continue.
917            <figure>
918            <title>Quantiles</title>
919            <mediaobject>
920            <imageobject><imagedata fileref="../images/5_2_quantiles.png" format="PNG" scale="&imgscale;"/></imageobject>
921            <imageobject><imagedata fileref="./images/5_2_quantiles.eps" format="EPS" scale="&imgscale;"/></imageobject>
922            </mediaobject>
923            </figure>
924          </para>          </para>
925          </section>          </section>
926    </chapter>    </chapter>
# Line 815  Line 942 
942      <guimenu>Layer</guimenu>      <guimenu>Layer</guimenu>
943      <guimenuitem>Projection</guimenuitem>      <guimenuitem>Projection</guimenuitem>
944      </menuchoice>.      </menuchoice>.
945      <screenshot>      <figure>
946      <screeninfo>Projection Window</screeninfo>      <title>Projection Window</title>
947      <mediaobject>      <mediaobject>
948      <imageobject><imagedata fileref="../images/6_projection.png" format="PNG" scale="&imgscale;"/></imageobject>      <imageobject><imagedata fileref="../images/6_projection.png" format="PNG" scale="&imgscale;"/></imageobject>
949      <imageobject><imagedata fileref="./images/6_projection.eps" format="EPS" scale="&imgscale;"/></imageobject>      <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>  
950      </mediaobject>      </mediaobject>
951      </screenshot>      </figure>
952      </para>      </para>
953      <para>      <para>
954      Thuban is distributed with a sample collection of projections. The      Thuban is distributed with a sample collection of projections. The
# Line 855  Line 980 
980          <guibutton>Remove</guibutton> button will permanently remove a          <guibutton>Remove</guibutton> button will permanently remove a
981          projection from the list of available projections.          projection from the list of available projections.
982          </para>          </para>
983            <para>
984            To apply the selected projection to the map the user can click
985            either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
986            <guibutton>Try</guibutton> will not close the dialog box, allowing
987            the user to see how the projeciton changes the map.
988            <guibutton>Revert</guibutton> will undo the last projection applied
989            to the map. <guibutton>OK</guibutton> will commit the changes and
990            close the dialog. The user will be unable to undo the changes.
991            <guibutton>Close</guibutton> simply closes the dialog box. If no
992            selection has been applied with <guibutton>Try</guibutton> the
993            selection will not be applied to the map.
994            </para>
995      </section>      </section>
996          <section><title>Importing/Exporting Projections</title>          <section><title>Importing/Exporting Projections</title>
997          <para>          <para>
# Line 881  Line 1018 
1018    
1019      <section><title>Table View</title>      <section><title>Table View</title>
1020          <para>          <para>
1021          <screenshot>          <figure>
1022          <screeninfo>Table View</screeninfo>          <title>Table View</title>
1023          <mediaobject>          <mediaobject>
1024          <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>
1025          <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>  
1026          </mediaobject>          </mediaobject>
1027          </screenshot>          </figure>
1028          </para>          </para>
1029          <para>          <para>
1030          Thuban provides a standard dialog to display table contents, the          Thuban provides a standard dialog to display table contents, the
1031          Table View. The view falls has five sections: The title, selections,          Table View. The view has five sections: The title, selections,
1032          the table grid, export functions, and the status bar.          the table grid, export functions, and the status bar.
1033          </para>          </para>
1034          <para>          <para>
# Line 906  Line 1041 
1041          third choice can be either a specific value (interpreted as numerical          third choice can be either a specific value (interpreted as numerical
1042          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
1043          identifier. Thus you can perform analysis like selecting all          identifier. Thus you can perform analysis like selecting all
1044          records where "population > 10000" or          records where <literal>population > 10000</literal> or
1045          "cars_per_inhabitant <  bikes_per_inhabitant" (note that the field names          <literal>cars_per_inhabitant < bikes_per_inhabitant</literal>
1046          are only explanatory, the dBase files allow only          (note that the field names are only explanatory, the dBase files
1047          11 character field names).          allow only 11 character field names).
1048                
1049          Selections can be combined either by applying a selection only on          Selections can be combined either by applying a selection only on
1050          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
# Line 917  Line 1052 
1052          earlier results.          earlier results.
1053          </para>          </para>
1054          <para>          <para>
1055          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),
1056          with highlighted selection results. Columns and rows can be resized.          with highlighted selection results. Columns and rows can be resized.
1057          </para>          </para>
1058          <para>          <para>
# Line 1010  Line 1145 
1145    
1146          <section><title>Join</title>          <section><title>Join</title>
1147              <para>              <para>
1148              <screenshot>              <figure>
1149              <screeninfo>Join Tables</screeninfo>              <title>Join Tables</title>
1150              <mediaobject>              <mediaobject>
1151              <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>
1152              <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>  
1153              </mediaobject>              </mediaobject>
1154              </screenshot>              </figure>
1155              </para>              </para>
1156              <para>              <para>
1157              The              The
# Line 1044  Line 1177 
1177      </section>      </section>
1178      <section><title>Attribute Tables</title>      <section><title>Attribute Tables</title>
1179          <para>          <para>
1180              To clearly separate between both types, Thuban provides              To clearly separate between both types of tables (data and
1181          functionality regarding the attribute tables under the Layer menu.          attribute), Thuban provides functionality regarding the attribute
1182            tables under the <menuchoice><guimenu>Layer</guimenu></menuchoice> menu.
1183          </para>          </para>
1184    
1185          <section><title>Show Table</title>          <section><title>Show Table</title>
# Line 1099  Line 1233 
1233    
1234    <chapter><title>Trouble Shooting</title>    <chapter><title>Trouble Shooting</title>
1235      <para>      <para>
1236        Here are a few problems that users have encountered when first using Thuban.
1237      </para>      </para>
1238      <variablelist>      <para>
1239    
1240      <varlistentry>      <itemizedlist>
     <term>After adding two or more layers nothing is being drawn in the  
     map window.  
     </term>  
1241      <listitem>      <listitem>
1242        <para>After adding two or more layers nothing is drawn in the map window.
1243        </para>
1244      <para>      <para>
1245      This is probably because the layers have different projections. Projections      This is probably because the layers have different projections. Projections
1246      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
1247      are different.      are different.
1248      </para>      </para>
1249      </listitem>      </listitem>
     </varlistentry>  
1250    
     <varlistentry>  
     <term>Thuban crashes on startup with the error  
         <literal>NameError: global name 'False' is not defined</literal>.  
     </term>  
1251      <listitem>      <listitem>
1252        <para>Thuban crashes on startup with the error
1253            <literal>NameError: global name 'False' is not defined</literal>.
1254        </para>
1255      <para>      <para>
1256      <varname>True</varname> and <varname>False</varname> were only introduced      <varname>True</varname> and <varname>False</varname> were only introduced
1257      in Python 2.2.1. Thuban depends on at least Python 2.2.1.      in Python 2.2.1. Thuban depends on at least Python 2.2.1.
1258      </para>      </para>
1259      </listitem>      </listitem>
     </varlistentry>  
1260    
1261      <varlistentry>      <listitem>
1262      <term>After compiling Thuban, Thuban crashes with an error similar to      <para>After compiling Thuban, Thuban crashes with an error similar to
1263          <literal>          <literal>
1264          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
1265          </literal>          </literal>
1266      </term>      </para>
     <listitem>  
1267      <para>      <para>
1268      Thuban depends on the wxWindows library. If Thuban is compiled with an      Thuban depends on the wxWindows library. If Thuban is compiled with an
1269      incompatible version of the compiler than wxWindows was compiled with      incompatible version of the compiler than wxWindows was compiled with
# Line 1141  Line 1271 
1271      compiler.      compiler.
1272      </para>      </para>
1273      </listitem>      </listitem>
1274      </varlistentry>      </itemizedlist>
1275      </variablelist>      </para>
1276        <para>
1277        If an error occurs Thuban will display a dialog indicating the error
1278        before closing. The text should be copied and reported to the
1279        <ulink url="http://thuban.intevation.org/bugtracker.html">
1280        Intevation bugtracker
1281        </ulink>.
1282        More information about the system is available from
1283        <menuchoice><guimenu>Help</guimenu><guimenuitem>About</guimenuitem></menuchoice> box.
1284        This should also be included in the bug report.
1285        <figure>
1286        <title>Error Dialog</title>
1287        <mediaobject>
1288        <imageobject><imagedata fileref="../images/8_int_error.png" format="PNG" scale="&imgscale;"/></imageobject>
1289        <imageobject><imagedata fileref="./images/8_int_error.eps" format="EPS" scale="&imgscale;"/></imageobject>
1290        </mediaobject>
1291        </figure>
1292        </para>
1293    
1294    </chapter>    </chapter>
1295    
# Line 1178  Line 1325 
1325      </listitem>      </listitem>
1326      </varlistentry>      </varlistentry>
1327    
1328        <varlistentry>
1329        <term>Raster files</term>
1330        <listitem>
1331            <para>
1332            Binding the GDAL library Thuban supports numerous raster file formats,
1333            see <ulink url="http://www.remotesensing.org/gdal/formats_list.html">
1334            GDAL format list</ulink> for details.</para>
1335    
1336            <para>Most commonly used is the <emphasis>TIFF/GeoTIFF</emphasis>
1337            format: Raster maps are provided as TIFF images, with an additional
1338            "world file" storing the geographic reference (usually with an
1339            extension ".tfw".
1340            </para>
1341        </listitem>
1342        </varlistentry>
1343    
1344      </variablelist>      </variablelist>
1345    </appendix>    </appendix>
1346    
# Line 1188  Line 1351 
1351      to create custom projections. Thuban comes with predefined      to create custom projections. Thuban comes with predefined
1352      projections which are available through the Projections dialog.      projections which are available through the Projections dialog.
1353      </para>      </para>
1354      <variablelist>      <itemizedlist>
1355      <varlistentry>      <listitem>
1356          <term>Geographic</term>          <para>Geographic</para>
1357          <listitem><para><literal>Ellipsoid</literal></para>          <itemizedlist>
1358          <para><literal>Source Data</literal>: either Degrees or Radians          <listitem><para><literal>Ellipsoid</literal></para></listitem>
1359            <listitem><para>
1360                    <literal>Source Data</literal>: either Degrees or Radians
1361                  </para></listitem>                  </para></listitem>
1362      </varlistentry>          </itemizedlist>
1363      <varlistentry>      </listitem>
1364          <term>Lambert Conic Conformal</term>      <listitem>
1365          <listitem><para><literal>Ellipsoid</literal></para>          <para>Lambert Conic Conformal</para>
1366          <para><literal>Latitude of 1st standard parallel</literal></para>      <itemizedlist>
1367          <para><literal>Latitude of 2nd standard parallel</literal></para>          <listitem><para><literal>Ellipsoid</literal></para></listitem>
1368          <para><literal>Central Meridian</literal></para>          <listitem><para><literal>Latitude of 1st standard parallel</literal></para></listitem>
1369          <para><literal>Latitude of Origin</literal></para>          <listitem><para><literal>Latitude of 2nd standard parallel</literal></para></listitem>
1370          <para><literal>False Easting</literal> (meters)</para>          <listitem><para><literal>Central Meridian</literal></para></listitem>
1371          <para><literal>False Northing</literal> (meters)</para></listitem>          <listitem><para><literal>Latitude of Origin</literal></para></listitem>
1372      </varlistentry>          <listitem><para><literal>False Easting</literal> (meters)</para></listitem>
1373      <varlistentry>          <listitem><para><literal>False Northing</literal> (meters)</para></listitem>
1374          <term>Transverse Mercator</term>      </itemizedlist>
1375          <listitem><para><literal>Ellipsoid</literal></para>      </listitem>
1376          <para><literal>Latitude</literal>of origin</para>      <listitem>
1377          <para><literal>Longitude</literal>at central meridian</para>          <para>Transverse Mercator</para>
1378          <para><literal>Scale Factor</literal>at central meridian</para>      <itemizedlist>
1379          <para><literal>False Easting</literal> (meters)</para>          <listitem><para><literal>Ellipsoid</literal></para></listitem>
1380          <para><literal>False Northing</literal> (meters)</para></listitem>          <listitem><para><literal>Latitude</literal>of origin</para></listitem>
1381      </varlistentry>          <listitem><para><literal>Longitude</literal>at central meridian</para></listitem>
1382      <varlistentry>          <listitem><para><literal>Scale Factor</literal>at central meridian</para></listitem>
1383          <term>Universal Transverse Mercator</term>          <listitem><para><literal>False Easting</literal> (meters)</para></listitem>
1384          <listitem><para><literal>Ellipsoid</literal></para>          <listitem><para><literal>False Northing</literal> (meters)</para></listitem>
1385          <para><literal>Zone</literal>      </itemizedlist>
1386                  (can be guessed appling the Propose button)</para>      </listitem>
1387          <para><literal>Southern Hemisphere</literal> flag</para></listitem>      <listitem>
1388      </varlistentry>          <para>Universal Transverse Mercator</para>
1389      </variablelist>      <itemizedlist>
1390            <listitem><para><literal>Ellipsoid</literal></para></listitem>
1391            <listitem><para><literal>Zone</literal>
1392                    (can be guessed appling the Propose button)</para></listitem>
1393            <listitem><para><literal>Southern Hemisphere</literal> flag</para></listitem>
1394        </itemizedlist>
1395        </listitem>
1396        </itemizedlist>
1397            
1398      <para>      <para>
1399      Thuban comes with a sample set of map projections for various      Thuban comes with a sample set of map projections for various
1400      European countries. Apart from the basic projection they differ      European countries. Apart from the basic projection they differ
1401      especially in their parameterization:      especially in their parameterization:
1402      </para>      </para>
1403      <variablelist>      <itemizedlist>
1404      <varlistentry><term>Belgium Datum 1972 (Lambert Conic Conformal)</term>      <listitem><para>Belgium Datum 1972 (Lambert Conic Conformal)</para>
1405          <listitem><para></para></listitem>      </listitem>
     </varlistentry>  
1406    
1407      <varlistentry><term>Gauss-Boaga Zone 1 (Italy, Transverse Mercartor)</term>      <listitem><para>Gauss-Boaga Zone 1 (Italy, Transverse Mercartor)</para>
1408          <listitem><para></para></listitem>      </listitem>
     </varlistentry>  
1409    
1410      <varlistentry><term>Gauss-Krueger Zone 2 (Germany, Transverse Mercartor)      <listitem><para>Gauss-Krueger Zone 2 (Germany, Transverse Mercartor)
1411      </term>      </para>
1412          <listitem><para></para></listitem>      </listitem>
     </varlistentry>  
1413    
1414      <varlistentry><term>Reseau Geodesique Francaise      <listitem><para>Reseau Geodesique Francaise
1415      (France, Lambert Conic Conformal)</term>      (France, Lambert Conic Conformal)</para>
1416          <listitem><para></para></listitem>      </listitem>
     </varlistentry>  
1417    
1418      <varlistentry><term>UK National Grid (United Kingdom, Transverse Mercartor)      <listitem><para>UK National Grid (United Kingdom, Transverse Mercartor)
1419      </term>      </para>
1420          <listitem><para></para></listitem>      </listitem>
1421      </varlistentry>      </itemizedlist>
     </variablelist>  
1422    
1423      <para>      <para>
1424      Thuban uses the comprehensive PROJ library for projections. PROJ provides      Thuban uses the comprehensive PROJ library for projections. PROJ provides

Legend:
Removed from v.1507  
changed lines
  Added in v.1532

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26