/[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 1530 by jonathan, Thu Jul 31 09:57:25 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                <para>Thuban-0.8.1-1-debian.i386.rpm</para>
61                <para>GTK 1.2.3</para>
62                <para>Python 2.2.1</para>
63                <para>Python 2.2 XML Base Tools</para>
64                <para>wxWindows 2.4</para>
65                <para>wxWindows 2.4 Python Bindings</para>
66                <para>proj 4.4.5 Projection Library</para>
67                <para>SQLite Python Bindings 0.4.3</para>
68                <para>GDAL 1.1.8</para>
69            </listitem>
70            </varlistentry>
71            <varlistentry>
72            <term>RedHat 7.2</term>
73            <listitem>
74                <para>Thuban-0.8.1-1.i386.rpm</para>
75                <para>Python 2.2.1</para>
76                <para>wxPython 2.4 for Python 2.2 with wxGTK</para>
77                <para>proj 4.4.5 Projection Library</para>
78                <para>SQLite 2.8.3</para>
79                <para>PySQLite 0.4.3</para>
80                <para>GDAL 1.1.8</para>
81            </listitem>
82            </varlistentry>
83            <varlistentry>
84            <term>Windows 2000</term>
85            <listitem>
86                <para>Thuban-0.8.1-0.exe</para>
87                <para>Python 2.2.1</para>
88                <para>wxWindows 2.4 for Python 2.2</para>
89                <para>SQLite Python Libraries</para>
90                <para>GDAL for Thuban</para>
91            </listitem>
92            </varlistentry>
93            </variablelist>
94          </para>          </para>
95          </section>          </section>
96    
# Line 209  Line 248 
248    
249          <section><title>Adding and Removing Layers</title>          <section><title>Adding and Removing Layers</title>
250          <para>          <para>
251          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
252          and image layers. Shape layers are stored in Shapefile format, a          and image layers. Shape layers are stored in Shapefile format, a
253          standard file format for storing geographic objects. These          standard file format for storing geographic objects. These
254          files have the extension ``.shp''. Associated with          files have the extension ``.shp''. Associated with
# Line 261  Line 300 
300          </inlinemediaobject>          </inlinemediaobject>
301          enlarges a region of the map. Clicking once on the map          enlarges a region of the map. Clicking once on the map
302          will double the magnification and center the map on the point that          will double the magnification and center the map on the point that
303          was clicked. Clicking and dragging selects a region that will          was clicked. Clicking and dragging selects a region that will be
304          enlarged to fit the window.          enlarged to fit the window.
305          </para>          </para>
306          <para>          <para>
# Line 335  Line 374 
374          rescales the viewable region so that the currently selected          rescales the viewable region so that the currently selected
375          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
376          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
377          selected this button will be disabled.          selected this button will be disabled. This feature is especially
378            helpful when identifying an object related to a selected record
379            in a tableview (see below).
380    
381          </para>          </para>
382          </section>          </section>
383    
# Line 353  Line 395 
395          </inlinemediaobject>.          </inlinemediaobject>.
396          Clicking on an object selects that object and opens a dialog which          Clicking on an object selects that object and opens a dialog which
397          shows all the table attributes for that object. Any current selection          shows all the table attributes for that object. Any current selection
398          is lost.          is lost. Objects on the map are typically shapes and this document
399            will often refer to objects as shapes.
400          </para>          </para>
401          </section>          </section>
402    
# Line 497  Line 540 
540          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
541          properties dialog for that layer.          properties dialog for that layer.
542          </para>          </para>
543    
544            <para>
545            Along the bottom of the legend is the scalebar. The scalebar
546            will be available if there are any layers and the  map has a
547            projection set.
548            </para>
549          </section>          </section>
550    
551          <section><title>Exporting</title>          <section><title>Exporting</title>
# Line 507  Line 556 
556          <menuchoice>          <menuchoice>
557          <guimenu>Map</guimenu>          <guimenu>Map</guimenu>
558          <guimenuitem>Export</guimenuitem>          <guimenuitem>Export</guimenuitem>
559          </menuchoice>. Under other platforms this option is not available.          </menuchoice> for use in reports, presentations, or further
560          Clicking this menu item open a file selection dialog that lets the          modification. The current map view, legend, and, if available,
561          user select a location to export the map.          scalebar are exported. Under other platforms this option is not
562            available. Clicking this menu item open a file selection dialog
563            that lets the user select a location to export the map.
564          </para>          </para>
565          </section>          </section>
566    
# Line 519  Line 570 
570          <menuchoice>          <menuchoice>
571          <guimenu>Map</guimenu>          <guimenu>Map</guimenu>
572          <guimenuitem>Print</guimenuitem>          <guimenuitem>Print</guimenuitem>
573          </menuchoice>. A standard printing dialog will open allowing the          </menuchoice>. The current map view, legend, and, if available,
574          user to configure the printer. This dialog will differ depending          scalebar are printed. A standard printing dialog will open allowing
575            the user to configure the printer. This dialog will differ depending
576          on which platform Thuban is running.          on which platform Thuban is running.
577          </para>          </para>
578          </section>          </section>
# Line 536  Line 588 
588          There are two types of layers supported by Thuban: shape layers and          There are two types of layers supported by Thuban: shape layers and
589          image layers. Shape layers consist of vector based shapes with          image layers. Shape layers consist of vector based shapes with
590          geo-referenced coordinates. There are three types of supported          geo-referenced coordinates. There are three types of supported
591          shapes: polygons, lines, and points. Image layers can be any image          shapes: polygons, lines (arc), and points. Image layers can be any image
592          file format supported by the Geo-spatial Data Abstraction Library          file format supported by the Geo-spatial Data Abstraction Library
593          (GDAL). The images must have geographic          (GDAL). The images must have geographic
594          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 596 
596          work very well with Thuban and were designed specifically to be image          work very well with Thuban and were designed specifically to be image
597          layers in GIS programs.          layers in GIS programs.
598          </para>          </para>
599            <para>
600            All actions in the
601            <menuchoice>
602            <guimenu>Layer</guimenu>
603            </menuchoice> menu act on the currently selected layer in the legend.
604            </para>
605          </section>          </section>
606    
607          <section><title>Properties</title>          <section><title>Properties</title>
# Line 554  Line 612 
612          <guimenu>Layer</guimenu>          <guimenu>Layer</guimenu>
613          <guimenuitem>Properties</guimenuitem>          <guimenuitem>Properties</guimenuitem>
614          </menuchoice> opens a dialog that displays a layer's properties.          </menuchoice> opens a dialog that displays a layer's properties.
615          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
616          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
617          of shape (polygon, arc, point) the classification table will be          of shape (polygon, arc, point) the classification table will be
618          shown. Image layers have no other properties other than title          shown. Image layers have no other properties other than title
# Line 646  Line 704 
704      <para>      <para>
705      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
706      map, a default classification is created with the DEFAULT group. This      map, a default classification is created with the DEFAULT group. This
707      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
708      attributes, will match this group if no other group matches.      layer, regardless of its attributes, will match this group if no other
709        group matches.
710      </para>      </para>
711    
712          <section><title>Editing Classifications</title>          <section><title>Editing Classifications</title>
# Line 664  Line 723 
723          button.          button.
724          </para>          </para>
725          <para>          <para>
726            To apply the changes to the map the user can click
727            either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
728            <guibutton>Try</guibutton> will not close the dialog box, allowing
729            the user to see how the classification changes the map.
730            <guibutton>Revert</guibutton> will undo the last classification applied
731            to the map. <guibutton>OK</guibutton> will commit the changes and
732            close the dialog. The user will be unable to undo the changes.
733            <guibutton>Close</guibutton> simply closes the dialog box. If any
734            changes have not been applied with <guibutton>Try</guibutton> the
735            changes will not be applied to the map.
736            </para>
737            <para>
738          <screenshot>          <screenshot>
739          <screeninfo>Properties Window</screeninfo>          <screeninfo>Properties Window</screeninfo>
740          <mediaobject>          <mediaobject>
# Line 756  Line 827 
827          opens the <varname>Generate Classification</varname> dialog.          opens the <varname>Generate Classification</varname> dialog.
828          Under the <varname>Generate</varname> pull down there are at most          Under the <varname>Generate</varname> pull down there are at most
829          three different ways to generate classifications:          three different ways to generate classifications:
830          Unique Values, Unique Distribution, and Quantiles. Some options          Unique Values, Uniform Distribution, and Quantiles. Some options
831          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
832          support them. For instance, <varname>Unique Distribution</varname>          support them. For instance, <varname>Uniform Distribution</varname>
833          doesn't make sense for a Text field.          doesn't make sense for a Text field.
834          </para>          </para>
835          <para>          <para>
836          For every way of generating a classification, a color scheme must          For every way of generating a classification, a color scheme must
837          be selected. Thuban provides several different color schemes that          be selected. Thuban provides several different color schemes that
838          affect how the group properties change over the classification.          affect how the group properties change over the classification.
839            It may be desirable that only certain properties change over the
840            classification. If the shape type is a polygon or a point then
841            the <guibutton>Fix Border Color</guibutton> option will be available.
842            This allows the user to select a border color for all classification
843            groups.
844          It is also possible to create a custom color scheme. Selecting          It is also possible to create a custom color scheme. Selecting
845          this option will display two symbols: the one of the left has the          this option will display two symbols: the one of the left has the
846          properties of the first group and the one on the right has the          properties of the first group and the one on the right has the
847          properties of the last group. Thuban will interpolate between these          properties of the last group. Thuban will interpolate between these
848          two properties to generate the other groups.          two properties to generate the other groups.
849            <screenshot>
850            <screeninfo>Custom Color Scheme</screeninfo>
851            <mediaobject>
852            <imageobject><imagedata fileref="../images/5_2_custom_ramp.png" format="PNG" scale="&imgscale;"/></imageobject>
853            <imageobject><imagedata fileref="./images/5_2_custom_ramp.eps" format="EPS" scale="&imgscale;"/></imageobject>
854            <textobject><phrase>Custom Color Scheme</phrase></textobject>
855            <caption><para>Custom Color Scheme</para></caption>
856            </mediaobject>
857            </screenshot>
858          </para>          </para>
859          <para>          <para>
860          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 864 
864          right. Each list can be sorted or reversed for easier searching.          right. Each list can be sorted or reversed for easier searching.
865          The classification that is generated will be in the same order as          The classification that is generated will be in the same order as
866          the list on the right.          the list on the right.
867            <screenshot>
868            <screeninfo>Unique Values</screeninfo>
869            <mediaobject>
870            <imageobject><imagedata fileref="../images/5_2_unique_values.png" format="PNG" scale="&imgscale;"/></imageobject>
871            <imageobject><imagedata fileref="./images/5_2_unique_values.eps" format="EPS" scale="&imgscale;"/></imageobject>
872            <textobject><phrase>Unique Values</phrase></textobject>
873            <caption><para>Unique Values Classification</para></caption>
874            </mediaobject>
875            </screenshot>
876          </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            <screenshot>
885            <screeninfo>Uniform Distribution</screeninfo>
886            <mediaobject>
887            <imageobject><imagedata fileref="../images/5_2_uniform_dist.png" format="PNG" scale="&imgscale;"/></imageobject>
888            <imageobject><imagedata fileref="./images/5_2_uniform_dist.eps" format="EPS" scale="&imgscale;"/></imageobject>
889            <textobject><phrase>Uniform Distribution</phrase></textobject>
890            <caption><para>Uniform Distribution Classification</para></caption>
891            </mediaobject>
892            </screenshot>
893          </para>          </para>
894          <para>          <para>
895          The Quantiles option generates ranges based on the number of items          The Quantiles option generates ranges based on the number of items
896          in the input set. For example, by specifying five groups Thuban will          in the table. For example, by specifying five groups Thuban will
897          generate five groups with appropriate ranges such that 20% of the table          generate five groups with appropriate ranges such that 20% of the table
898          data is in each group. If it is impossible to generate exact          data is in each group. If it is impossible to generate exact
899          groupings, Thuban will issue a warning but allow the user to continue.          groupings, Thuban will issue a warning but allow the user to continue.
900            <screenshot>
901            <screeninfo>Quantiles</screeninfo>
902            <mediaobject>
903            <imageobject><imagedata fileref="../images/5_2_quantiles.png" format="PNG" scale="&imgscale;"/></imageobject>
904            <imageobject><imagedata fileref="./images/5_2_quantiles.eps" format="EPS" scale="&imgscale;"/></imageobject>
905            <textobject><phrase>Quantiles</phrase></textobject>
906            <caption><para>Quantiles Classification</para></caption>
907            </mediaobject>
908            </screenshot>
909          </para>          </para>
910          </section>          </section>
911    </chapter>    </chapter>
# Line 855  Line 967 
967          <guibutton>Remove</guibutton> button will permanently remove a          <guibutton>Remove</guibutton> button will permanently remove a
968          projection from the list of available projections.          projection from the list of available projections.
969          </para>          </para>
970            <para>
971            To apply the selected projection to the map the user can click
972            either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
973            <guibutton>Try</guibutton> will not close the dialog box, allowing
974            the user to see how the projeciton changes the map.
975            <guibutton>Revert</guibutton> will undo the last projection applied
976            to the map. <guibutton>OK</guibutton> will commit the changes and
977            close the dialog. The user will be unable to undo the changes.
978            <guibutton>Close</guibutton> simply closes the dialog box. If no
979            selection has been applied with <guibutton>Try</guibutton> the
980            selection will not be applied to the map.
981            </para>
982      </section>      </section>
983          <section><title>Importing/Exporting Projections</title>          <section><title>Importing/Exporting Projections</title>
984          <para>          <para>
# Line 893  Line 1017 
1017          </para>          </para>
1018          <para>          <para>
1019          Thuban provides a standard dialog to display table contents, the          Thuban provides a standard dialog to display table contents, the
1020          Table View. The view falls has five sections: The title, selections,          Table View. The view has five sections: The title, selections,
1021          the table grid, export functions, and the status bar.          the table grid, export functions, and the status bar.
1022          </para>          </para>
1023          <para>          <para>
# Line 906  Line 1030 
1030          third choice can be either a specific value (interpreted as numerical          third choice can be either a specific value (interpreted as numerical
1031          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
1032          identifier. Thus you can perform analysis like selecting all          identifier. Thus you can perform analysis like selecting all
1033          records where "population > 10000" or          records where <literal>population > 10000</literal> or
1034          "cars_per_inhabitant <  bikes_per_inhabitant" (note that the field names          <literal>cars_per_inhabitant < bikes_per_inhabitant</literal>
1035          are only explanatory, the dBase files allow only          (note that the field names are only explanatory, the dBase files
1036          11 character field names).          allow only 11 character field names).
1037                
1038          Selections can be combined either by applying a selection only on          Selections can be combined either by applying a selection only on
1039          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 1041 
1041          earlier results.          earlier results.
1042          </para>          </para>
1043          <para>          <para>
1044          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),
1045          with highlighted selection results. Columns and rows can be resized.          with highlighted selection results. Columns and rows can be resized.
1046          </para>          </para>
1047          <para>          <para>
# Line 1044  Line 1168 
1168      </section>      </section>
1169      <section><title>Attribute Tables</title>      <section><title>Attribute Tables</title>
1170          <para>          <para>
1171              To clearly separate between both types, Thuban provides              To clearly separate between both types of tables (data and
1172          functionality regarding the attribute tables under the Layer menu.          attribute), Thuban provides functionality regarding the attribute
1173            tables under the <menuchoice><guimenu>Layer</guimenu></menuchoice> menu.
1174          </para>          </para>
1175    
1176          <section><title>Show Table</title>          <section><title>Show Table</title>
# Line 1099  Line 1224 
1224    
1225    <chapter><title>Trouble Shooting</title>    <chapter><title>Trouble Shooting</title>
1226      <para>      <para>
1227        Here are a few problems that users have encountered when first using Thuban.
1228      </para>      </para>
1229        <para>
1230      <variablelist>      <variablelist>
1231    
1232      <varlistentry>      <varlistentry>
1233      <term>After adding two or more layers nothing is being drawn in the      <term>After adding two or more layers nothing is drawn in the map window.
     map window.  
1234      </term>      </term>
1235      <listitem>      <listitem>
1236      <para>      <para>
1237      This is probably because the layers have different projections. Projections      This is probably because the layers have different projections. Projections
1238      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
1239      are different.      are different.
1240      </para>      </para>
1241      </listitem>      </listitem>
# Line 1143  Line 1269 
1269      </listitem>      </listitem>
1270      </varlistentry>      </varlistentry>
1271      </variablelist>      </variablelist>
1272        </para>
1273        <para>
1274        If an error occurs Thuban will display a dialog indicating the error
1275        before closing. The text should be copied and reported to the
1276        <ulink url="http://thuban.intevation.org/bugtracker.html">
1277        Intevation bugtracker
1278        </ulink>.
1279        More information about the system is available from
1280        <menuchoice><guimenu>Help</guimenu><guimenuitem>About</guimenuitem></menuchoice> box.
1281        This should also be included in the bug report.
1282        <screenshot>
1283        <screeninfo>Error Dialog</screeninfo>
1284        <mediaobject>
1285        <imageobject><imagedata fileref="../images/8_int_error.png" format="PNG" scale="&imgscale;"/></imageobject>
1286        <imageobject><imagedata fileref="./images/8_int_error.eps" format="EPS" scale="&imgscale;"/></imageobject>
1287        <textobject><phrase>Error Dialog</phrase></textobject>
1288        <caption><para>Error Dialog</para></caption>
1289        </mediaobject>
1290        </screenshot>
1291        </para>
1292    
1293    </chapter>    </chapter>
1294    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26