/[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 1490 by jonathan, Mon Jul 28 12:59:47 2003 UTC revision 1510 by jonathan, Tue Jul 29 14:48:41 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 101  Line 140 
140          The tool bar provides quick access to the commonly needed tools.          The tool bar provides quick access to the commonly needed tools.
141          By hovering over each button the user can see a short messages          By hovering over each button the user can see a short messages
142          describing what the tool does. The tools provided are Zoom In, Zoom          describing what the tool does. The tools provided are Zoom In, Zoom
143          Out, Pan, Full Extent, Full Layer Extent, Full Shape Extent, Indentify,          Out, Pan, Full Extent, Full Layer Extent, Full Shape Extent, Identify,
144          and Label. Each of the tools will be explained in further detail later          and Label. Each of the tools will be explained in further detail later
145          in the manual.          in the manual.
146          </para>          </para>
# Line 149  Line 188 
188          <guimenu>File</guimenu>          <guimenu>File</guimenu>
189          <guimenuitem>Save Session</guimenuitem>          <guimenuitem>Save Session</guimenuitem>
190          </menuchoice>. A dialog box will open allowing the user to browse          </menuchoice>. A dialog box will open allowing the user to browse
191          the filesystem and select a place to save the session. Thuban          the file system and select a place to save the session. Thuban
192          sessions should be saved under a name ending in          sessions should be saved under a name ending in
193          <varname>.thuban</varname>. If the file already exists the user          <varname>.thuban</varname>. If the file already exists the user
194          will be prompted to save under a different name or overwrite the          will be prompted to save under a different name or overwrite the
# 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. Normally, these          standard file format for storing geographic objects. These
254          files have the extension ``.shp''. Associated with          files have the extension ``.shp''. Associated with
255          the object information is a database file which stores attributes for          the shape file is a database file which stores attributes for
256          each shape in the Shapefile. This file, stored in dBASE format, usually          each shape in the shape file. This file, in dBase format,
257          has the extension ``.dbf''. Both files should have the same base name.          has the extension ``.dbf''. Both files must have the same base name.
258          For example, if there is a Shapefile named roads.shp there should          For example, if there is a shape file named roads.shp there must
259          also be a file roads.dbf.          also be a file roads.dbf.
260          </para>          </para>
261          <para>          <para>
# Line 226  Line 265 
265          <guimenuitem>Add Layer</guimenuitem>          <guimenuitem>Add Layer</guimenuitem>
266          </menuchoice>.          </menuchoice>.
267          Thuban will load all files with the same base name, so it doesn't          Thuban will load all files with the same base name, so it doesn't
268          matter if the Shapefile or database file is selected.          matter if the shape file or database file is selected.
269          </para>          </para>
270    
271          <para>          <para>
# Line 236  Line 275 
275          <guimenuitem>Add Image Layer</guimenuitem>          <guimenuitem>Add Image Layer</guimenuitem>
276          </menuchoice>.          </menuchoice>.
277          It is important to select a valid image file that has geographic          It is important to select a valid image file that has geographic
278          data associated with it. This can be embedded in the file itself,          data associated with it. The data can be embedded in the file itself,
279          or in another file. If geographic information cannot be found, Thuban          or in another file. If geographic information cannot be found, Thuban
280          will report an error.          will report an error.
281          </para>          </para>
# Line 245  Line 284 
284          <section><title>Navigation</title>          <section><title>Navigation</title>
285          <para>          <para>
286          The map can be explored by using the navigation tools available on          The map can be explored by using the navigation tools available on
287          the tool bar, or from the          the tool bar or from the
288          <menuchoice><guimenu>Map</guimenu></menuchoice> menu.          <menuchoice><guimenu>Map</guimenu></menuchoice> menu.
289          </para>          </para>
290          <para>          <para>
# Line 259  Line 298 
298          </imageobject>          </imageobject>
299          <textobject> <phrase>ZoomIn Tool</phrase> </textobject>          <textobject> <phrase>ZoomIn Tool</phrase> </textobject>
300          </inlinemediaobject>          </inlinemediaobject>
301          can be used to enlarge a region of the map. Clicking once on the map          enlarges a region of the map. Clicking once on the map
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 lets the user select a region          was clicked. Clicking and dragging selects a region that will be
304          to be enlarged to fit the window.          enlarged to fit the window.
305          </para>          </para>
306          <para>          <para>
307          The ZoomOut tool          The ZoomOut tool
# 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    
403          <section><title>Object Labelling</title>          <section><title>Object Labeling</title>
404          <para>          <para>
405          Objects can be labelled using the Label tool          Objects can be labeled using the Label tool
406          <inlinemediaobject>          <inlinemediaobject>
407          <imageobject>          <imageobject>
408          <imagedata fileref="../images/3_3_label.png" format="PNG" scale="&imgscale;"/>          <imagedata fileref="../images/3_3_label.png" format="PNG" scale="&imgscale;"/>
# Line 371  Line 414 
414          </inlinemediaobject>.          </inlinemediaobject>.
415          Clicking on an object selects that object and opens a dialog which          Clicking on an object selects that object and opens a dialog which
416          displays the table attributes for that object. An attribute can          displays the table attributes for that object. An attribute can
417          be selected to be the label on the map. Using this tool for an          be selected to be the label on the map. The label will be placed
418          object that already has a label will remove the label.          at the center of the shape. Clicking on an object that already has
419            a label will remove the label.
420          </para>          </para>
421          </section>          </section>
422    
# Line 400  Line 444 
444          <para>          <para>
445          Along the top of the legend is a toolbar which allows quick access          Along the top of the legend is a toolbar which allows quick access
446          to some of the layer manipulation options under          to some of the layer manipulation options under
447          <menuchoice> <guimenu>Map</guimenu> </menuchoice>.          <menuchoice><guimenu>Map</guimenu></menuchoice>.
448            </para>
449    
450            <para>
451            The Move Layer to Top tool
452            <inlinemediaobject>
453            <imageobject>
454            <imagedata fileref="../images/3_5_totop.png" format="PNG" scale="&imgscale;"/>
455            </imageobject>
456            <imageobject>
457            <imagedata fileref="./images/3_5_totop.eps" format="EPS" scale="&imgscale;"/>
458            </imageobject>
459            <textobject> <phrase>Move Layer to Top</phrase> </textobject>
460            </inlinemediaobject> raises the selected layer to the top of the map.
461            </para>
462    
463            <para>
464            The Move Layer Up tool
465            <inlinemediaobject>
466            <imageobject>
467            <imagedata fileref="../images/3_5_moveup.png" format="PNG" scale="&imgscale;"/>
468            </imageobject>
469            <imageobject>
470            <imagedata fileref="./images/3_5_moveup.eps" format="EPS" scale="&imgscale;"/>
471            </imageobject>
472            <textobject> <phrase>Move Layer Up</phrase> </textobject>
473            </inlinemediaobject> raises the selected layer one level.
474            </para>
475    
476            <para>
477            The Move Layer Down tool
478            <inlinemediaobject>
479            <imageobject>
480            <imagedata fileref="../images/3_5_movedown.png" format="PNG" scale="&imgscale;"/>
481            </imageobject>
482            <imageobject>
483            <imagedata fileref="./images/3_5_movedown.eps" format="EPS" scale="&imgscale;"/>
484            </imageobject>
485            <textobject> <phrase>Move Layer Down</phrase> </textobject>
486            </inlinemediaobject> lowers the selected layer one level.
487            </para>
488    
489            <para>
490            The Move Layer to Bottom tool
491            <inlinemediaobject>
492            <imageobject>
493            <imagedata fileref="../images/3_5_tobottom.png" format="PNG" scale="&imgscale;"/>
494            </imageobject>
495            <imageobject>
496            <imagedata fileref="./images/3_5_tobottom.eps" format="EPS" scale="&imgscale;"/>
497            </imageobject>
498            <textobject> <phrase>Move Layer to Bottom</phrase> </textobject>
499            </inlinemediaobject> lowers the selected layer to the bottom of the map.
500            </para>
501    
502            <para>
503            The Visible tool
504            <inlinemediaobject>
505            <imageobject>
506            <imagedata fileref="../images/3_5_visible.png" format="PNG" scale="&imgscale;"/>
507            </imageobject>
508            <imageobject>
509            <imagedata fileref="./images/3_5_visible.eps" format="EPS" scale="&imgscale;"/>
510            </imageobject>
511            <textobject> <phrase>Visible</phrase> </textobject>
512            </inlinemediaobject> shows the selected layer in the map if it was
513            hidden.
514            </para>
515    
516            <para>
517            The Invisible tool
518            <inlinemediaobject>
519            <imageobject>
520            <imagedata fileref="../images/3_5_invisible.png" format="PNG" scale="&imgscale;"/>
521            </imageobject>
522            <imageobject>
523            <imagedata fileref="./images/3_5_invisible.eps" format="EPS" scale="&imgscale;"/>
524            </imageobject>
525            <textobject> <phrase>Invisible</phrase> </textobject>
526            </inlinemediaobject> hides the selected layer in the map.
527            </para>
528    
529            <para>
530            The Properties tool
531            <inlinemediaobject>
532            <imageobject>
533            <imagedata fileref="../images/3_5_props.png" format="PNG" scale="&imgscale;"/>
534            </imageobject>
535            <imageobject>
536            <imagedata fileref="./images/3_5_props.eps" format="EPS" scale="&imgscale;"/>
537            </imageobject>
538            <textobject> <phrase>Properties</phrase> </textobject>
539            </inlinemediaobject> opens the layer's properties dialog box.
540          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 415  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 427  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 444  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 GDAL. The images must have geographic          file format supported by the Geo-spatial Data Abstraction Library
593          coordinate data either embedded within the file, or in a seperate          (GDAL). The images must have geographic
594            coordinate data either embedded within the file or in a separate
595          file that is in the same directory as the image file. GeoTIFF files          file that is in the same directory as the image file. GeoTIFF files
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 461  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 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
619          and type.          and type.
# Line 496  Line 647 
647          Sometimes it is not desirable to view all layers at the same time.          Sometimes it is not desirable to view all layers at the same time.
648          Some layers may take a long time to draw and so while navigating          Some layers may take a long time to draw and so while navigating
649          around the map the user may not want to wait for the map to redraw          around the map the user may not want to wait for the map to redraw
650          each time the map is changed. Each layer can be independently          all the layers each time the map is changed. Each layer can be
651          turned on or off using the          independently turned on or off using the
652          <menuchoice>          <menuchoice>
653          <guimenu>Layer</guimenu>          <guimenu>Layer</guimenu>
654          <guimenuitem>Show</guimenuitem>          <guimenuitem>Show</guimenuitem>
# Line 519  Line 670 
670          <guimenuitem>Duplicate</guimenuitem>          <guimenuitem>Duplicate</guimenuitem>
671          </menuchoice>. Duplicating a layer is useful if the user wishes          </menuchoice>. Duplicating a layer is useful if the user wishes
672          to model a layer in several different ways. Even though the layers          to model a layer in several different ways. Even though the layers
673          overlap by carefully selecting the shape properties it is possible          overlap, by carefully selecting the shape properties it is possible
674          to display several pieces of information at once. For example, one          to display several pieces of information at once. For example, one
675          copy of a roads layer may be classified on a length property and          copy of a roads layer may be classified on a length property and
676          another copy may be classified on a type property. if the length          another copy may be classified on a type property. If the length
677          property was expressed with color and the type property expressed          property was expressed with color and the type property expressed
678          with line thickness then it would be possible to view both          with line thickness then it would be possible to view both
679          classifications by placing the type property copy over the          classifications by placing the type property copy over the
# Line 540  Line 691 
691      cannot be classified.      cannot be classified.
692      </para>      </para>
693      <para>      <para>
694      A classification consists of a number of groups, with each group      A classification consists of a number of groups, each group
695      having a value or range of values to match against, and symbol      having a value or range of values to match against, and symbol
696      properties which control how a shape is drawn on the map. The user      properties which control how a shape is drawn on the map. The user
697      selects which field in the table is used by the classification and      selects which field in the table is used by the classification and
# Line 553  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.      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 571  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 585  Line 749 
749          The order of the groups in the classification is significant          The order of the groups in the classification is significant
750          except for the DEFAULT group, which remains at the top. When shapes          except for the DEFAULT group, which remains at the top. When shapes
751          are matched against groups the matching begins at the first group          are matched against groups the matching begins at the first group
752          other than the DEFAULT group so that groups higher in the list will          after the DEFAULT group so that groups higher in the list will
753          be checked first. Matching for a          be checked first. Matching for a
754          given shape will stop at the first group that matches. The user can          given shape will stop at the first group that matches. The user can
755          use <guibutton>Move Up</guibutton> and <guibutton>Move Down</guibutton>          use <guibutton>Move Up</guibutton> and <guibutton>Move Down</guibutton>
756          to change the order of the groups. The DEFAULT group will always          to change the order of the groups. The DEFAULT group will always
757          match a shape that hasn't matched another group.          match a shape that hasn't matched another group.
758          </para>          </para>
759          <para>              <section><title>Visible</title>
760          The Value column of the classification table is the value that will              <para>
761          be matched when the map is being drawn. The type of data that can              The Visible column has check-boxes that determine whether a
762          entered into this field depends on the type of data of the              classification group will be displayed in the legend. This is
763          classification field.              useful if the user knows that the groups completely cover
764          </para>              the data set and don't want the DEFAULT group to be displayed
765          <para>              in the legend and on a printout.
766          If the field is of type Text, anything entered              </para>
767          into the field is valid. The text will be compared literally to the          </section>
768          value of the shape attribute, including case sensitivity.              <section><title>Symbols</title>
769          If the type is Integer, then any valid integer may be entered. In              <para>
770          addition, with special syntax, a range of values can be entered.              Each type of shape has its own type of symbol. Thuban supports three
771          A range from <varname>start</varname> to <varname>end</varname>              types of shapes: polygons, lines, and points. Polygons and points
772          inclusive is specifed like this: <literal>[start;end]</literal>.              have outline and fill color, while lines have only line color. Each
773          The exclusive range is specified like this:              group has associated symbol properties. To edit the symbol
774          <literal>]start;end[</literal>. Ranges can include infinity like              properties for a group the user can double click on the Symbol
775          this: <literal>[-oo;oo]</literal>. Field types can also be of type              column or select a group and click the
776          Decimal. They represent any rational number and can be used in ranges              <guibutton>Edit Symbol</guibutton> button.
777          as well.              </para>
778          </para>              </section>
779          </section>          <section><title>Value</title>
780                <para>
781          <section><title>Symbols</title>              The Value column of the classification table is the value that will
782          <para>              be matched when the map is being drawn. The type of data that can
783          Each type of shape has its own type of symbol. Thuban supports three              entered into this field depends on the type of data of the
784          types of shapes: polygons, lines, and points. Polygons and points have              classification field.
785          outline and fill color, while lines have only line color. Each group              </para>
786          has associated symbol properties. To edit the symbol properties for a              <para>
787          group the user can double click on the Symbol column or select a              If the field is of type Text, anything entered
788          group and click the <guibutton>Edit Symbol</guibutton> button.              into the field is valid. The text will be compared literally to the
789          </para>              value of the shape attribute, including case sensitivity.
790                If the type is Integer, then any valid integer may be entered. In
791                addition, with special syntax, a range of values can be entered.
792                A range from <varname>start</varname> to <varname>end</varname>
793                inclusive is specified like this: <literal>[start;end]</literal>.
794                The exclusive range is specified like this:
795                <literal>]start;end[</literal>. Ranges can include infinity like
796                this: <literal>[-oo;oo]</literal>. Field types can also be of type
797                Decimal. They represent any rational number and can be used in
798                ranges as well.
799                </para>
800                </section>
801                <section><title>Label</title>
802                <para>
803                By default, the text that is displayed for a group in the legend
804                is the value for that group. The label can substitute a more
805                descriptive term in the legend.
806                </para>
807            </section>
808          </section>          </section>
809    
810          <section><title>Generating Classes</title>          <section><title>Generating Classes</title>
# Line 643  Line 825 
825          classification at once while still giving the user control over          classification at once while still giving the user control over
826          how it appears. Clicking <guibutton>Generate Class</guibutton>          how it appears. Clicking <guibutton>Generate Class</guibutton>
827          opens the <varname>Generate Classification</varname> dialog.          opens the <varname>Generate Classification</varname> dialog.
828          Under the <varname>Generate</varname> pulldown 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 they 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>
# Line 659  Line 841 
841          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
842          properties of the last group. Thuban will interpolate between these          properties of the last group. Thuban will interpolate between these
843          two properties to generate the other groups.          two properties to generate the other groups.
844            <screenshot>
845            <screeninfo>Custom Color Scheme</screeninfo>
846            <mediaobject>
847            <imageobject><imagedata fileref="../images/5_2_custom_ramp.png" format="PNG" scale="&imgscale;"/></imageobject>
848            <imageobject><imagedata fileref="./images/5_2_custom_ramp.eps" format="EPS" scale="&imgscale;"/></imageobject>
849            <textobject><phrase>Custom Color Scheme</phrase></textobject>
850            <caption><para>Custom Color Scheme</para></caption>
851            </mediaobject>
852            </screenshot>
853          </para>          </para>
854          <para>          <para>
855          The Unique Values option lets the user select specific values that          The Unique Values option lets the user select specific values that
# Line 668  Line 859 
859          right. Each list can be sorted or reversed for easier searching.          right. Each list can be sorted or reversed for easier searching.
860          The classification that is generated will be in the same order as          The classification that is generated will be in the same order as
861          the list on the right.          the list on the right.
862            <screenshot>
863            <screeninfo>Unique Values</screeninfo>
864            <mediaobject>
865            <imageobject><imagedata fileref="../images/5_2_unique_values.png" format="PNG" scale="&imgscale;"/></imageobject>
866            <imageobject><imagedata fileref="./images/5_2_unique_values.eps" format="EPS" scale="&imgscale;"/></imageobject>
867            <textobject><phrase>Unique Values</phrase></textobject>
868            <caption><para>Unique Values Classification</para></caption>
869            </mediaobject>
870            </screenshot>
871          </para>          </para>
872          <para>          <para>
873          The Unique Distribution option creates a user specified number of          The Uniform Distribution option creates a user specified number of
874          groups of ranges such that each range covers equal intervals. The          groups of ranges such that each range covers equal intervals. The
875          minimum and maximum values can automatically be retrieved from the          minimum and maximum values can automatically be retrieved from the
876          table by clicking <guibutton>Retrieve From Table</guibutton>. The          table by clicking <guibutton>Retrieve From Table</guibutton>. The
877          stepping is how large each interval is. Adjusting this value will          stepping is how large each interval is. Adjusting this value will
878          automatically recalculate how many groups is appropriate.          automatically recalculate how many groups is appropriate.
879            <screenshot>
880            <screeninfo>Uniform Distribution</screeninfo>
881            <mediaobject>
882            <imageobject><imagedata fileref="../images/5_2_uniform_dist.png" format="PNG" scale="&imgscale;"/></imageobject>
883            <imageobject><imagedata fileref="./images/5_2_uniform_dist.eps" format="EPS" scale="&imgscale;"/></imageobject>
884            <textobject><phrase>Uniform Distribution</phrase></textobject>
885            <caption><para>Uniform Distribution Classification</para></caption>
886            </mediaobject>
887            </screenshot>
888          </para>          </para>
889          <para>          <para>
890          The Quantiles option generates ranges based on the number items          The Quantiles option generates ranges based on the number of items
891          in the input set. For example, by specifying 5 groups Thuban will          in the table. For example, by specifying five groups Thuban will
892          generate groups with appropriate ranges such that 20% of the table          generate five groups with appropriate ranges such that 20% of the table
893          data is in each group. If it is impossible to generate exact          data is in each group. If it is impossible to generate exact
894          grouping, Thuban will issue a warning but allow the user to continue.          groupings, Thuban will issue a warning but allow the user to continue.
895            <screenshot>
896            <screeninfo>Quantiles</screeninfo>
897            <mediaobject>
898            <imageobject><imagedata fileref="../images/5_2_quantiles.png" format="PNG" scale="&imgscale;"/></imageobject>
899            <imageobject><imagedata fileref="./images/5_2_quantiles.eps" format="EPS" scale="&imgscale;"/></imageobject>
900            <textobject><phrase>Quantiles</phrase></textobject>
901            <caption><para>Quantiles Classification</para></caption>
902            </mediaobject>
903            </screenshot>
904          </para>          </para>
905          </section>          </section>
906    </chapter>    </chapter>
# Line 691  Line 909 
909      <para>      <para>
910      Projections control how the geographic data is displayed on the screen.      Projections control how the geographic data is displayed on the screen.
911      If multiple layers are loaded into Thuban where the geographic data      If multiple layers are loaded into Thuban where the geographic data
912      is in a different projection system, then the user must tell Thuban      is in a different projection system, then the user must specify a
913      which projection each layer has. The user must also tell Thuban which      projection for each layer. The user must also tell Thuban which
914      projection the map is in. This can be the same as the layers or a different      projection the map is in. This can be the same as the layers or a different
915      projection in which case the layers are reprojected into that space.      projection in which case the layers are reprojected into that space.
916      The map projection can be set using      The map projection can be set using
# Line 718  Line 936 
936      Thuban is distributed with a sample collection of projections. The      Thuban is distributed with a sample collection of projections. The
937      user can create new projections and make them available to all      user can create new projections and make them available to all
938      future Thuban sessions. They may also be exported and imported so      future Thuban sessions. They may also be exported and imported so
939      that custom projections can be distributed to others.      that custom projections can be distributed.
940      </para>      </para>
941          <section><title>Selecting a Projection</title>          <section><title>Selecting a Projection</title>
942          <para>          <para>
943          The available projections are listed on the left. If the layer          The available projections are listed on the left. If the layer
944          or map already has a projection it will be initially highlighted          or map already has a projection it will initially be highlighted
945          and will end with <varname>(current)</varname>. Selecting          and will end with <varname>(current)</varname>. Selecting
946          <varname>&lt;None&gt;</varname> will cause Thuban to use the data as          <varname>&lt;None&gt;</varname> will cause Thuban to use the data as
947          it appears in the source file and will not use a projection.          it appears in the source file and will not use a projection.
# Line 734  Line 952 
952          Whenever a projection is selected from the list its properties          Whenever a projection is selected from the list its properties
953          are displayed on the right. These properties can be changed          are displayed on the right. These properties can be changed
954          and the changes saved to the selected projection using          and the changes saved to the selected projection using
955          the <guibutton>Update</guibutton>. Only a projection that comes          <guibutton>Update</guibutton>. Only a projection that comes
956          from a file can be updated, so if the current layer's projection          from a file can be updated, so if the current layer's projection
957          is selectd, <guibutton>Update</guibutton> will be disabled.          is selected, <guibutton>Update</guibutton> will be disabled.
958          The <guibutton>Add to List</guibutton> adds the projection to the          <guibutton>Add to List</guibutton> adds the projection to the
959          list of available projections as a new entry, and thus make it          list of available projections as a new entry, and thus makes it
960          available to future Thuban sessions. Clicking <guibutton>New</guibutton>          available to future Thuban sessions. Clicking <guibutton>New</guibutton>
961          will create an entirely new, empty projection. The          will create an entirely new, empty projection. The
962          <guibutton>Remove</guibutton> button will permanantly remove a          <guibutton>Remove</guibutton> button will permanently remove a
963          projection from the list of available projections.          projection from the list of available projections.
964          </para>          </para>
965            <para>
966            To apply the selected projection to the map the user can click
967            either <guibutton>Try</guibutton> or <guibutton>OK</guibutton>.
968            <guibutton>Try</guibutton> will not close the dialog box, allowing
969            the user to see how the projeciton changes the map.
970            <guibutton>Revert</guibutton> will undo the last projection applied
971            to the map. <guibutton>OK</guibutton> will commit the changes and
972            close the dialog. The user will be unable to undo the changes.
973            <guibutton>Close</guibutton> simply closes the dialog box. If no
974            selection has been applied with <guibutton>Try</guibutton> the
975            selection will not be applied to the map.
976            </para>
977      </section>      </section>
978          <section><title>Importing/Exporting Projections</title>          <section><title>Importing/Exporting Projections</title>
979          <para>          <para>
980          The projections that appear in the list of available projections          The projections that appear in the list of available projections
981          can be exported to another file that the user chooses. By selecting          can be exported to another file that the user chooses. By selecting
982          one or more projections and clicking <guibutton>Export</guibutton>          one or more projections and clicking <guibutton>Export</guibutton>
983          the user will be able to select a file to store those projections.          the user will be able to select a file in which to store those
984            projections.
985          The file can then be distributed to other Thuban users. To import          The file can then be distributed to other Thuban users. To import
986          a projection file the user can click <guibutton>Import</guibutton>.          a projection file the user can click <guibutton>Import</guibutton>.
987          The imported projections are added to the list and are then available          The imported projections are added to the list and are then available
988          to the current session and any future Thuban session.          to the current session and any future Thuban sessions.
989          </para>          </para>
990      </section>      </section>
991    </chapter>    </chapter>
# Line 762  Line 993 
993    <chapter><title>Table Management</title>    <chapter><title>Table Management</title>
994      <para>      <para>
995      Thuban distinguishes two different types of tables: Attribute tables      Thuban distinguishes two different types of tables: Attribute tables
996      (which belong to a layer) and usual data tables. Both provide in      (which belong to a layer) and normal data tables. Both provide
997          general the same functionality with the difference that actions on an          the same general functionality with the difference that actions on an
998      attribute table might also effect the map display.      attribute table might also effect the map display.
999      </para>      </para>
1000    
# Line 781  Line 1012 
1012          </para>          </para>
1013          <para>          <para>
1014          Thuban provides a standard dialog to display table contents, the          Thuban provides a standard dialog to display table contents, the
1015          Table View. The view falls into five sections: The title, selections,          Table View. The view has five sections: The title, selections,
1016          the table grid, export functions and the status bar.          the table grid, export functions, and the status bar.
1017          </para>          </para>
1018          <para>          <para>
1019          The title bar identifies the table with it's name.          The title bar identifies the table with its name.
1020          </para>          </para>
1021          <para>          <para>
1022          The functions box let the user perform simple analysis on the data          The selections box let the user perform simple analysis on the data
1023          based on comparisons: First choice must be a field identifier of the          based on comparisons: The first choice must be a field identifier of
1024          table, the second choice determines the type of comparison. The third          the table, the second choice determines the type of comparison. The
1025          choice can be either a specific value (interpreted as numerical          third choice can be either a specific value (interpreted as numerical
1026          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
1027          identifier. Thus you can perform analysis like selecting all          identifier. Thus you can perform analysis like selecting all
1028          records where "population > 10000" or          records where <literal>population > 10000</literal> or
1029          "cars_per_habitants <  bike_per_habitants" (note that the field names          <literal>cars_per_inhabitant < bikes_per_inhabitant</literal>
1030          are only explanatory, the currently considered dBASE files allow only          (note that the field names are only explanatory, the dBase files
1031          11 character field names).          allow only 11 character field names).
1032                
1033          Selections can be combined, either by applying a selection only on          Selections can be combined either by applying a selection only on
1034          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
1035          selection to a previous set. The default is that a selection replaces          selection to a previous set. The default is that a selection replaces
1036          earlier results.          earlier results.
1037          </para>          </para>
1038          <para>          <para>
1039          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),
1040          with highlighted selection results. Columns and rows can be resized.          with highlighted selection results. Columns and rows can be resized.
1041          </para>          </para>
1042          <para>          <para>
1043          The contents of a table can be exported into a file, either dBASE          The contents of a table can be exported into a file, either dBase
1044          format (DBF) or comma seperated values (CSV). The          format (DBF) or comma separated values (CSV). The
1045          <guibutton>Export</guibutton> button          <guibutton>Export</guibutton> button
1046          raises a file dialog to specify a path and file name, the export type          raises a file dialog to specify a path and file name, the export type
1047          is determined by the file extension (either .dbf or .csv).          is determined by the file extension (either .dbf or .csv).
# Line 834  Line 1065 
1065      <section><title>General Functionality (Menu Table)</title>      <section><title>General Functionality (Menu Table)</title>
1066          <para>          <para>
1067          The general functions affect all tables open in Thuban. Attribute          The general functions affect all tables open in Thuban. Attribute
1068          tables are considered here as usual data tables (with the exception          tables are considered here as normal data tables (with the exception
1069          that they cannot be closed).          that they cannot be closed).
1070          </para>          </para>
1071          <section><title>Open</title>          <section><title>Open</title>
# Line 845  Line 1076 
1076              <guimenuitem>Open</guimenuitem>              <guimenuitem>Open</guimenuitem>
1077              </menuchoice>              </menuchoice>
1078              item raises a file dialog to let you select a              item raises a file dialog to let you select a
1079              dBASE file from the file system to be loaded into Thuban read-only.              dBase file from the file system to be loaded into Thuban read-only.
1080              On OK the selected file is loaded and a table view is opened.              On <guibutton>OK</guibutton> the selected file is loaded and a
1081                table view is opened.
1082              </para>              </para>
1083          </section>          </section>
1084    
# Line 867  Line 1099 
1099              Since tables are opened read-only the contents of the tables are              Since tables are opened read-only the contents of the tables are
1100              not affected.              not affected.
1101    
1102              A still open table view is closed as well.              Any open views of the tables are closed as well.
1103    
1104              Tables used in a join cannot be closed.              Tables used in a join cannot be closed.
1105              </para>              </para>
# Line 891  Line 1123 
1123              </menuchoice>              </menuchoice>
1124              item raises a list of available tables (explicitly              item raises a list of available tables (explicitly
1125              loaded, attribute tables, results of a join). Selected tables are              loaded, attribute tables, results of a join). Selected tables are
1126              show in tables views on <guibutton>OK</guibutton>              show in tables views on <guibutton>OK</guibutton>.
1127              </para>              </para>
1128          </section>          </section>
1129    
# Line 917  Line 1149 
1149              joined. The join results in a new table named 'Join of "left table"              joined. The join results in a new table named 'Join of "left table"
1150              and "right table"'.              and "right table"'.
1151    
1152              The dialog let you select the two tables to be joined and the two              The dialog lets you select the two tables to be joined and the two
1153              fields the join has to be performed on. By default the new              fields the join has to be performed on. By default, the new
1154              table contains only those records which are mathced by the join.              table contains only those records which are matched by the join.
1155    
1156              If you want to preserve the records of the left table you can              If you want to preserve the records of the left table you can
1157              perform an outer join. The fields from the right table for records              perform an outer join. The fields from the right table for records
# Line 931  Line 1163 
1163      </section>      </section>
1164      <section><title>Attribute Tables</title>      <section><title>Attribute Tables</title>
1165          <para>          <para>
1166              To clearly separate between both types, Thuban provides              To clearly separate between both types of tables (data and
1167          functionality regarding the attribute tables under the Layer menu.          attribute), Thuban provides functionality regarding the attribute
1168            tables under the <menuchoice><guimenu>Layer</guimenu></menuchoice> menu.
1169          </para>          </para>
1170    
1171          <section><title>Show Table</title>          <section><title>Show Table</title>
# Line 952  Line 1185 
1185    
1186          <section><title>Join Table</title>          <section><title>Join Table</title>
1187              <para>              <para>
1188              In difference to the join described above the join results not in a              Unlike the join described above, the join does not result in a
1189              new table. The attribute table of the currently active layer is the              new table. The attribute table of the currently active layer is the
1190              left table and other tables are joined to this table. The results of              left table and other tables are joined to this table. The results of
1191              the join are available for classifications.              the join are available for classification.
1192    
1193              As a consequence, the join cannot result in fewer              As a consequence, the join cannot result in fewer
1194              records than the source attribute table. The user is warned if the              records than the source attribute table. The user is warned if the
# Line 971  Line 1204 
1204              normal tables can be simply closed (and thereby dereferencing              normal tables can be simply closed (and thereby dereferencing
1205              the source tables), this is not possible for attribute tables.              the source tables), this is not possible for attribute tables.
1206    
1207              Hence joins on attribute tables must be solved explicitely. This is              Hence joins on attribute tables must be solved explicitly. This is
1208              what the              what the
1209              <menuchoice>              <menuchoice>
1210              <guimenu>Layer</guimenu>              <guimenu>Layer</guimenu>
# Line 986  Line 1219 
1219    
1220    <chapter><title>Trouble Shooting</title>    <chapter><title>Trouble Shooting</title>
1221      <para>      <para>
1222        Here are a few problems that users have encountered when first using Thuban.
1223      </para>      </para>
1224        <para>
1225      <variablelist>      <variablelist>
1226    
1227      <varlistentry>      <varlistentry>
1228      <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.  
1229      </term>      </term>
1230      <listitem>      <listitem>
1231      <para>      <para>
1232      This is probably because the layers have different projections. Projections      This is probably because the layers have different projections. Projections
1233      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
1234      are different.      are different.
1235      </para>      </para>
1236      </listitem>      </listitem>
# Line 1023  Line 1257 
1257      <listitem>      <listitem>
1258      <para>      <para>
1259      Thuban depends on the wxWindows library. If Thuban is compiled with an      Thuban depends on the wxWindows library. If Thuban is compiled with an
1260      incompatible version of the compiler that wxWindows was compiled with      incompatible version of the compiler than wxWindows was compiled with
1261      this error may occur. Try compiling with a different version of the      this error may occur. Try compiling with a different version of the
1262      compilere      compiler.
1263      </para>      </para>
1264      </listitem>      </listitem>
1265      </varlistentry>      </varlistentry>
1266      </variablelist>      </variablelist>
1267        </para>
1268        <para>
1269        If an error occurs Thuban will display a dialog indicating the error
1270        before closing. The text should be copied and reported to the
1271        <ulink url="http://thuban.intevation.org/bugtracker.html">
1272        Intevation bugtracker
1273        </ulink>.
1274        More information about the system is available from
1275        <menuchoice><guimenu>Help</guimenu><guimenuitem>About</guimenuitem></menuchoice> box.
1276        This should also be included in the bug report.
1277        <screenshot>
1278        <screeninfo>Error Dialog</screeninfo>
1279        <mediaobject>
1280        <imageobject><imagedata fileref="../images/8_int_error.png" format="PNG" scale="&imgscale;"/></imageobject>
1281        <imageobject><imagedata fileref="./images/8_int_error.eps" format="EPS" scale="&imgscale;"/></imageobject>
1282        <textobject><phrase>Error Dialog</phrase></textobject>
1283        <caption><para>Error Dialog</para></caption>
1284        </mediaobject>
1285        </screenshot>
1286        </para>
1287    
1288    </chapter>    </chapter>
1289    
# Line 1053  Line 1307 
1307      </varlistentry>      </varlistentry>
1308    
1309      <varlistentry>      <varlistentry>
1310      <term>dBASE file</term>      <term>dBase file</term>
1311      <listitem>      <listitem>
1312          <para>          <para>
1313          dBASE files are used to store the attributes for each layer. This          dBase files are used to store the attributes for each layer. This
1314          is closely associated with the Shapefile format. For detailed          is closely associated with the Shapefile format. For detailed
1315          specifications on the correct format of a dBASE file used with          specifications on the correct format of a dBase file used with
1316          Thuban please see the Technical Specification for the Shapefile          Thuban please see the Technical Specification for the Shapefile
1317          format above.          format above.
1318          </para>          </para>
# Line 1073  Line 1327 
1327      The following types of projections are directly support by      The following types of projections are directly support by
1328      Thuban. The specific values for each are provided by the user      Thuban. The specific values for each are provided by the user
1329      to create custom projections. Thuban comes with predefined      to create custom projections. Thuban comes with predefined
1330      projections and are available through the Projections dialog.      projections which are available through the Projections dialog.
1331      </para>      </para>
1332      <variablelist>      <variablelist>
1333      <varlistentry>      <varlistentry>
1334      <term>Geographic</term>          <term>Geographic</term>
1335      <listitem><para></para></listitem>          <listitem><para><literal>Ellipsoid</literal></para>
1336            <para><literal>Source Data</literal>: either Degrees or Radians
1337                    </para></listitem>
1338      </varlistentry>      </varlistentry>
1339      <varlistentry>      <varlistentry>
1340      <term>Lambert Conic Conformal</term>          <term>Lambert Conic Conformal</term>
1341      <listitem><para></para></listitem>          <listitem><para><literal>Ellipsoid</literal></para>
1342            <para><literal>Latitude of 1st standard parallel</literal></para>
1343            <para><literal>Latitude of 2nd standard parallel</literal></para>
1344            <para><literal>Central Meridian</literal></para>
1345            <para><literal>Latitude of Origin</literal></para>
1346            <para><literal>False Easting</literal> (meters)</para>
1347            <para><literal>False Northing</literal> (meters)</para></listitem>
1348      </varlistentry>      </varlistentry>
1349      <varlistentry>      <varlistentry>
1350      <term>Transverse Mercator</term>          <term>Transverse Mercator</term>
1351      <listitem><para></para></listitem>          <listitem><para><literal>Ellipsoid</literal></para>
1352            <para><literal>Latitude</literal>of origin</para>
1353            <para><literal>Longitude</literal>at central meridian</para>
1354            <para><literal>Scale Factor</literal>at central meridian</para>
1355            <para><literal>False Easting</literal> (meters)</para>
1356            <para><literal>False Northing</literal> (meters)</para></listitem>
1357      </varlistentry>      </varlistentry>
1358      <varlistentry>      <varlistentry>
1359      <term>Universal Transverse Mercator</term>          <term>Universal Transverse Mercator</term>
1360      <listitem><para></para></listitem>          <listitem><para><literal>Ellipsoid</literal></para>
1361            <para><literal>Zone</literal>
1362                    (can be guessed appling the Propose button)</para>
1363            <para><literal>Southern Hemisphere</literal> flag</para></listitem>
1364      </varlistentry>      </varlistentry>
1365      </variablelist>      </variablelist>
1366        
1367        <para>
1368        Thuban comes with a sample set of map projections for various
1369        European countries. Apart from the basic projection they differ
1370        especially in their parameterization:
1371        </para>
1372        <variablelist>
1373        <varlistentry><term>Belgium Datum 1972 (Lambert Conic Conformal)</term>
1374            <listitem><para></para></listitem>
1375        </varlistentry>
1376    
1377        <varlistentry><term>Gauss-Boaga Zone 1 (Italy, Transverse Mercartor)</term>
1378            <listitem><para></para></listitem>
1379        </varlistentry>
1380    
1381        <varlistentry><term>Gauss-Krueger Zone 2 (Germany, Transverse Mercartor)
1382        </term>
1383            <listitem><para></para></listitem>
1384        </varlistentry>
1385    
1386        <varlistentry><term>Reseau Geodesique Francaise
1387        (France, Lambert Conic Conformal)</term>
1388            <listitem><para></para></listitem>
1389        </varlistentry>
1390    
1391        <varlistentry><term>UK National Grid (United Kingdom, Transverse Mercartor)
1392        </term>
1393            <listitem><para></para></listitem>
1394        </varlistentry>
1395        </variablelist>
1396    
1397        <para>
1398        Thuban uses the comprehensive PROJ library for projections. PROJ provides
1399        more than the four commonly used projections described above. If needed
1400        Thuban can be easily extended to a new projection covered by PROJ.
1401        </para>
1402    </appendix>    </appendix>
1403    
1404  </book>  </book>
1405    

Legend:
Removed from v.1490  
changed lines
  Added in v.1510

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26