S-52 Display Extension

According to the chart data storage structure and extension logic: A feature entity consists of a unique characteristic feature and one or more spatial features. When extending features, it's necessary to adjust their characteristic attributes, display rules, and data inspection standards simultaneously to maintain consistency.

The bin/Resource/Chart/Presentation/S52 folder in the root directory of SuperMap iDesktopX organizes files controlling nautical chart display, including three folders: ColorTable, LookupTable, and SymbolLib. You can modify or define color tables in ColorTable and marker styles in SymbolLib, then modify or add display commands in LookupTable to achieve customized chart display.

Folder Description

Detailed descriptions of chart display control folders:

  • ColorTable: XML files define chart color schemes corresponding to color mode parameters in chart properties panel.
    • DayBright.xml for daylight color scheme;
    • Dusk.xml for twilight color scheme;
    • Night.xml for nighttime color scheme;

    Modify RGB values or add Color tags to extend colors. Use token values directly when setting colors in other files.

  • LookupTable: dic files define display commands for complex point symbols, simple point symbology, line symbols, boundary symbology area symbols, and simple boundary surface symbols. Modify or add symbol commands in corresponding files for symbol display extension. File contents:

    • psymref_paperchart.dic records complex point symbol display commands;
    • psymref_simplified.dic records simple point symbology display commands;
    • lsymref.dic records line symbol display commands;
    • asymref_symbolized.dic records boundary symbology area symbol display commands;
    • asymref_plain.dic records simple boundary surface symbol display commands;
  • SymbolLib: Contains SuperMap point/line/area symbol libraries for nautical charts. Preview symbols or create new chart symbols through symbol editor. Draw symbols according to S-52 standard proportions and set default size to required marker size. Example marker symbol library:

Extension Rule Specification

SuperMap iDesktopX supports extending features for inland electronic navigation charts and military charts. Taking underwater/land pipeline display extension in CJ-57 specification as example, detailed explanation of parameters in command "PIPSOL","PRODCT3","LC(PIPSOL06)","6","O","OTHER","34070":

Command Content (separated by commas)
Description
PIPSOL
Feature abbreviation for Underwater/Land Pipeline.
PRODCT3
PRODCT as feature property field, 3 as value. Display specified style when PRODCT=3, otherwise use default style. Empty quotes indicate default style.
LC(PIPSOL06)
Line dataset display symbol name PIPSOL06 (obtain from Resource Symbol Library). Dataset display rules:
  • SY(point symbol name): Icons for lines or areas
  • LS(line type, width, color): Display lines/area boundaries (e.g., LS(SOLD,3,CHGRD)
  • LC(line symbol name): Line display symbol
  • AP(area symbol name): Area fill symbol
  • AC(color name): Area fill color from ColorTable folder
  • cs(symbol name): Internal command (non-customizable)
  • TE(): Text style control (see TE() Specification)
  • TX(): Similar to TE rules
6
Feature display priority.
O
Radar-related flag (currently O, no display impact).
OTHER
Display type (Base/Standard/OTHER). Features won't display when chart properties panel type mismatches.
34070
Viewing group for logical grouping (no display impact).

Example TE('bn%s','OBJNAM',2,1,2,'15110',-1,-1,CHBLK,21) specification:

Command Content (separated by commas)
Description
bn%s
Prefix text before field value. E.g., 'bn%s'+'OBJNAM' becomes "bn 刘家湾". For numeric fields: '%4.11f kn' formats to 1245.23 kn.
Follows C++ escape sequences (%s, %4.1lf, etc.).
OBJNAM
Field name (usage as above).
2
Text horizontal alignment:
  • 1: Center
  • 2: Right
  • 3: Left
1
Text vertical alignment:
  • 1: Baseline alignment
  • 2: Midline alignment
  • 3: Topline alignment
2
Text spacing:
  • 1: FitSpace
  • 2: StandardSpace
  • 3: StandardSpaceAndWordWrap
15110
Viewing group (logical grouping).
-1
X-axis text offset
-1
Y-axis text offset
CHBLK
Text color from ColorTable folder
21
Text priority (currently unused internally)
Notes:
  • Maintain English character format (quotes, commas, brackets) without spaces between characters when extending display commands.
  • Place extensions in section one of .dic files using uppercase letters, referencing existing defined rules.

Related Topics

Search Feature Definition

Extend Feature

Extend Attribute

S-58 Check Extension