IEHG / Portrayal-Catalogue

0 stars 0 forks source link

TOPMAR02 - Default symbols #25

Open gert-MORLION opened 1 month ago

gert-MORLION commented 1 month ago

The TOPMAR02 procedure is now checking the marking system to make it possible to use the TOPMA1** symbols (as defined in the PresLib). Which symbol should be used as default if marsys=11 but no corresponding symbol is found?

TMRADEF2 is the default symbol for S-101

if isFloating then if (feature.marksNavigationalSystemOf == 11) then
topmarkSymbol = floatingInlandTopmarks[feature.topmark.topmarkDaymarkShape] or 'TMARDEF2' else topmarkSymbol = floatingTopmarks[feature.topmark.topmarkDaymarkShape] or 'TMARDEF2' end else topmarkSymbol = rigidTopmarks[feature.topmark.topmarkDaymarkShape] or 'TMARDEF1' end

BerndBirklhuber commented 1 month ago

I think we can use the S-101 symbol. If an IENC is correctly encoded it will never be used.