951
A.6 MODULE DISPL.
AND UNITS
by using two
, centroids;
y digitizing a
contructed
to the
b)classes for
btained by
ble (relation
rements table
linking it with
ale III, section
md their in-
map on the
i suitability
>e digitized
, because this
lit maps are
1 program than
.1 and RAMTEK
i image file
:ntroids of the
:entroid can be
t is indicated
n. The result
i centroids and
on 1, Table
with attribute
ection I.a,
a menu for
p requirements
o edit an
it table (see
p requirements
I). Also
Schema A.1 Survey of modules and their interaction
MODULE ATTTAB
V ;
IAttr.menu! MODULE MAPDIG
! MODULE MUTCRT
V
! V
V
¡Map description!
! ¡Crop req.\
¡Map unit!
;
\ ¡table \
¡table
MODULE MAPCEN
¡' ¡'
;
V
¡Centroid - map unit!
! table !
MODULE PRINT !
! MODULE MATCH
V !
! Hard copy ! !
! table ! !
V
¡class - colour code table !
¡Hamm.dist - col.code table I
¡Matching data [
MODULE DISPL
V
!Image file!
MODULE PRINT
V
1 Hard copy 1
! map !
For the map unit table map unit names must be given
and for the crop requirements table the class name
(crop names) and their subclass names. By cursor
movement the attributes and the values for each item
in the table(s) can be choosen from the attribute
table constructed in module ATTTAB (see section A.3).
The map unit names are used in the module MAPCEN (see
A.2) to classify the centroids.
A.5 MODULE MATCH.
This module is used to match two tables: a map unit
table and a crop requirements table (both constructed
by module MUTCRT see section A.4).
For each class (crop) a colour code must be specified
for its subclasses by choosing from a menu of
colours.
It also registrates the measure of mismatch for each
map unit. This measure is the Hamming distance to a
full match (if result is TRUE, TRUE, FALSE, FALSE the
Hamming distance to a full match - i.e. TRUE, TRUE,
TRUE, TRUE - is 2). For each possible distance also a
colour must be specified.
The result is a table with map units and colour codes
and a table with Hamming distances and colour codes.
Further for each map unit and subclass a decimal
coded number is given for the (mis)match (for example
- 1=TRUE, 0=FALSE 1,1,1,0 =12; 0,1,1,1 =7; 1,0,0,1
=9). This information is the input for module DISPL
(see section A.6).
This module is used to display land suitability maps
on the screen. By using a menu the class (crop) to be
displayed can be choosen. Further there is a choice
between a full match picture or partly match picture.
A full match picture shows the possible units to grow
different subclasses of a crop, a partly match
picture shows the land units and their distance to a
full match for the best suitability class of a crop.