LIGHTS05LIGHTS05

Conditional Symbology Procedure LIGHTS05

Applies ToS-57 Object Class "light" (LIGHTS)
SpatialObject(s)Point
Parameter(s)Object to be symbolized from ENC.
DefaultsSymbolization 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 A light is one of the most complex S-57 objects. Its presentation depends on whether it is a light on a floating or fixed platform, its range, it’s colour and so on. This conditional symbology procedure derives the correct presentation from these parameters and also generates an area that shows the coverage of the light. Notes on light sectors: 1.) The radial leg-lines defining the light sectors are normally drawn to only 25mm from the light to avoid clutter (see continuation B). However, the mariner should be able to select «full light-sector lines» and have the leg-lines extended to the nominal range of the light (VALMAR). 2.) Continuation B of this procedure symbolizes the sectors at the light itself. In addition, it should be possible, upon request, for the mariner to be capable of identifying the colour and sector limit lines of the sectors affecting the ship even if the light itself is off the display. Further note: The sub-procedure LITDSN, which generates the light description text-string, is provided on the Presentation Library CD as an independent 'C' function. Note that LITDSN does not use the default value for attribute VALNMR generated by CSP LIGHTS.

PARAMETERS
NameDirectionDefinition
callingObjectinput...

VARIABLES
NameExpressionValueDefaultValue
colour
getAttributeValueAsListColour
Magenta
valueOfNominalRange
getAttributeValueAsFloatValueOfNominalRange
9
categoryOfLight
getAttributeValueAsStringCategoryOfLight
orientation
getAttributeValueAsFloatOrientation
sector1
getAttributeValueAsFloatSectorOne
sector2
getAttributeValueAsFloatSectorTwo
startPoint
Call the function getGeometryAsPoint
PARAMETERS
callingObject
lineStyle
S52.SL_DASHS52.CO_CHBLK1

IS categoryOfLight GIVEN ?
YESNO
IS categoryOfLight EQUAL TO FloodLight ? Or IS categoryOfLight EQUAL TO SpotLight ?
YESNO
ADD THE POINT SYMBOL REFERENCE S52.PO_LIGHTS82 ---
EXIT PROCEDURE SYMBOLISATION IS FINISHED.
IS categoryOfLight EQUAL TO StripLight ?
YESNO
ADD THE POINT SYMBOL REFERENCE S52.PO_LIGHTS81 ---
EXIT PROCEDURE SYMBOLISATION IS FINISHED.
IS categoryOfLight EQUAL TO Directional ? Or IS categoryOfLight EQUAL TO MoireEffect ?
YESNO
IS orientation GIVEN ?
YESNO
Call the function createLine
PARAMETERS
startPoint
valueOfNominalRange
orientation
lineStyle
DO NOTHING HERE
DO NOTHING HERE
DO NOTHING HERE
IS sector1 GIVEN ? Or IS sector2 GIVEN ?
YESNO
Call the sub-procedure LIGHTS05_A
Call the function LIGHTS05_B