Browse samples per component: Maritime Standards
This sample demonstrates how to load and display ECDIS data on a map, and configure S-52 display settings interactively.
While this sample only demonstrates S-52 on a Lightspeed view, you can easily use the same approach on a GXY view.
The sample loads data using the registered ILcdModelDecoder
services, and uses the registered ILspLayerFactory
services.
In practice, this will be:
TLcdS57UnifiedModelDecoder
to load S-57 catalogs and/or cells
TLcdS63UnifiedModelDecoder
to load S-63 encrypted catalogs and/or cells
S52LayerFactory
to create Lightspeed layers with the S-52 symbology (delegates to TLspS52LayerBuilder
)
S52GXYLayerFactory
to create GXY layers with the S-52 symbology (delegates to TLcdS52GXYLayerFactory
)
Both the GXY and Lightspeed layers can be configured with a TLcdS52DisplaySettings
instance to configure the styling.
This sample provides a UI component to interactively change the S-52 display settings.
This sample supports
To load S-63 catalogs or cells, you need:
The sample will automatically load an individual ENC cell and fit on it.
The S-52 display settings button can be used to display the S-52 display settings dialog. It allows to modify each individual S-52 display setting, supported by the S-52 rendering engine.
Objects can be double-clicked to see a list with their attributes.
The LuciadLightspeed distribution contains no multileveled ECDIS data. NOAA, the U.S. National Oceanic & Atmospheric Administration provides a large dataset on its website, which can be found at http://www.nauticalcharts.noaa.gov/mcd/enc/
The LuciadLightspeed distribution contains no AML data. UKHO, the United Kingdom Hydrographic Office, provides a sample AML dataset on its website, which can be found at http://www.ukho.gov.uk/Defence/AML/Pages/Home.aspx