The procedure returns local variables 'LEAST_DEPTH' and 'SEABED_DEPTH'.
Entry point
|
Entry to the symbology sub-procedure with values of the attributes WATLEV and EXPSOU passed from the calling procedures.
|
Get the Calling Object
|
Get the object which is calling this procedure.
|
Set 'LEAST_DEPTH' = 'unknown'; 'SEABED_DEPTH' = 'unknown'
|
Set the local variable 'LEAST_DEPTH' equal to 'unknown'.
Set the local variable 'SEABED_DEPTH' equal to 'unknown'.
|
Loop for each underlying Group 1 object
|
For each underlying group 1 object which is wholly or partially covered by the calling object, perform this loop to establish a default value for the local variable 'LEAST_DEPTH'.
Setup - The collection of underlying objects TG1 and the local variable 'LEAST_DEPTH';
Test - While there is underlying group 1 object;
Body - Define Local Variable 'LEAST_DEPTH'.
|
Has value (LEAST_DEPTH)?
|
Does the local variable 'LEAST_DEPTH" have a value?
|
return
|
If ‘No’, return to the calling procedure with the value of the Local variables 'LEAST_DEPTH' and 'SEABED_DEPTH'
|
'WATLEV' == 3 && ('EXPSOU' == 1 || 'EXPSOU' == 3)?
|
Is the attribute value for 'WATLEV' equal to 3 (underwater) and is the attribute value for 'EXPSOU' equal to '1' (within the range of depth of the surrounding depth area) or '3' (deeper than the range of depth of the surrounding depth area)?
|
SEABED_DEPTH = LEAST_DEPTH; LEAST_DEPTH = 'unknown'
|
Set the local variable 'SEABED_DEPTH' equal to 'LEAST_DEPTH' value
Set the local variable 'LEAST_DEPTH' equal to 'unknown'
|
SEABED_DEPTH = LEAST_DEPTH
|
Set the local variable 'SEABED_DEPTH' equal to 'LEAST_DEPTH' value.
|
return
|
Return to the calling procedure with the value of the Local variables 'LEAST_DEPTH' and 'SEABED_DEPTH'
|
LOOP Entry point
|
For each underlying Group 1 object
|
Is 'UNSARE'?
|
Is the underlying group 1 object of the class 'UNSARE' (unsurveyed area)?
|
LEAST_DEPTH = 'unknown'
|
Set the local variable 'LEAST_DEPTH' equal to 'unknown' value.
|
break
|
Exit loop.
|
DRVAL1 missing or unknown?
|
Is the value of the underlying object's attribute 'DRVAL1' missing or unknown?
|
Get 'DRVAL1'
|
Get the value of the attribute "Depth range value 1" (DRVAL1) of the underlying object?
|
Has value ('DRVAL1')?
|
Is the value of the attribute 'DRVAL1' given in the underlying object DEPARE(DRGARE)?
|
continue
|
If ‘No’, go to the next found Group 1 object.
|
LEAST_DEPTH == 'unknown'?
|
Is the value of the local variable 'LEAST_DEPTH' unknown?
|
continue
|
go to the next found Group 1 object.
|
LEAST_DEPTH = 'DRVAL1'
|
Set the value of the local variable 'LEAST_DEPTH' equal to 'DRVAL1'.
|
LEAST_DEPTH < 'DRVAL1'?
|
Is the value of the local variable 'LEAST_DEPTH' less than the value of 'DRVAL1'?
|
continue
|
go to the next found Group 1 object.
|
LEAST_DEPTH = 'DRVAL1'
|
Set the value of the local variable 'LEAST_DEPTH' equal to 'DRVAL1'
|
continue
|
go to the next found Group 1 object.
|