13.2.8 Conditional Symbology Procedure QUAPNT02
Quality of position of point and area objects (S-57) Conditional Symbology Procedure for additional symbology for point and area objects when positional accuracy is low. (Note that this is called as a sub-procedure by OBSTRNnn, QUAPOSnn, SLCONSnn, WRECKSnn).
Applies to: S-57 Object Class "Land area" (LNDARE) as point;
S-57 Object Class "Obstruction" (OBSTRN) as point and area;
S-57 Object Class "Shoreline construction" (SLCONS) as point;
S-57 Object Class "Wrecks" (WRECKS) as point and area.
S-57 Object Class "Under water rock" (UWTROC) as point.
Spatial Object(s): Point, Area.
Attribute(s) used: Spatial attribute QUAPOS
Parameter(s): Object to be symbolized from SENC.
User Parameters: View low accuracy symbols.
Defaults: Symbolization given by the look-up table:
Display Priority given by look-up table;
OVERRADAR priority given by look-up table;
Display Category given by look-up table;
Viewing Group given by look-up table
Remarks: The attribute QUAPOS, which identifies low positional accuracy, is attached only to the spatial component(s) of an object.
This procedure checks whether the mariner has requested that the symbol SY(LOWACC01) is to be shown; retrieves any QUAPOS attributes; and returns the appropriate symbols to the calling procedure.
Figure 18 QUAPNT02 conditional symbology sub-procedure
Entry point
|
Entry from the calling conditional procedure.
|
Get the Calling Object
|
Get the object which is calling this procedure.
|
ACCURATE=TRUE
|
Set local variable 'ACCURATE' equal to true.
|
Show Low Accuracy symbols?
|
Has the mariner chosen to view the low accuracy symbols (LOWACC01) (i.e. viewing group equals 31011)?
|
return
|
If ‘No’, return to the calling procedure with the message that the low accuracy symbol is not required!
|
Loop for each spatial component
|
For each spatial component of the object perform this loop
|
ACCURATE == FALSE?
|
Is the local variable 'ACCURATE' set to 'FALSE?
|
return
|
If ‘No’, return to the calling procedure with the message that the low accuracy symbol is not required.
|
SELECT = 'LOWACC01'
|
Select the 'Low Accuracy' symbol 'LOWACC01' Return to the calling procedure.
|
return
|
Return to the calling procedure with the message that the low accuracy symbol is to be shown, also return the selected symbol ‘LOWACC01’.
|
Figure 19 Loop for each spatial component
Loop entry point
|
For each spatial component of the object, perform this loop:
|
Get the Spatial Component
|
Get the next spatial component of the calling object.
|
Get 'QUAPOS'
|
Get the value of the attribute 'Quality of position' (QUAPOS) of the current spatial component
|
Has value ('QUAPOS')?
|
Is the value of the attribute 'QUAPOS' given?
|
continue
|
If ‘No’, go to the next spatial component of the calling object.
|
'QUAPOS' == 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9?
|
Does the value of the attribute 'QUAPOS' equal to one of the following values: '2', '3', '4', '5', '6', '7', '8' or '9'?
|
continue
|
If ‘No’, go to the next spatial component of the calling object.
|
ACCURATE=FALSE
|
Set local variable 'ACCURATE'='FALSE'.
|
break
|
Loop by spatial components
|
Share with your friends: |