Previous Page Table of Contents Next Page


4. DATABASE STRUCTURE

4.1. Fields and linking

The complete database holds the following fields:

NAMETYPEWIDTHDESCRIPTION
WS_IDtext4numeric identifier in text format
NAME_1text30name of major outflowing river
NAME_2text100name of secondary river(s)
LEVELinteger3level (distance from final sink in number of basins)
MEGABASINtext30name of megabasin
AREAreal15surface area in km2
COLOR_CODEinteger1colour coding (numerical)
COLORtext9colour
DOWN_ALLtext180combined string of all downstream basin ID's
D1…D39text4downstream basin ID's
UP0..UP39text4upstream basin ID's

Figure 1: Linking of the separate database files is done as follows:

Figure 1

4.2. File and directory structure

An installation file (install bat) file has been provided on disk for automatic installation on the C: drive only. Files will then be expanded to the C:\ALCOMWRD\WS\ directory with specific subdirectories for each type of file. The \DBASE, \DOC and \MAP subdirectories respectively hold database files (extension DBF and APR), document files (DOC and TXT) and mapping files (BNA, GSM, PRJ, CUR, BAS and BAT). The complete interface will be available only for users who have Lotus approach by opening the WS_SADC.APR file but a similar interface in other database packages can be developed rather easily following the instructions in this document on the interface.


Previous Page Top of Page Next Page