Table of Contents

Enum S57ProductSpecification

Namespace
EncDotNet.S57
Assembly
EncDotNet.S57.dll

The product specification codes of the DSID subfield PRSP (S-57 Edition 3.1, Part 3 §7.3.1.1 and §1.4.1), for setting the code of a new data set.

public enum S57ProductSpecification

Fields

DataDictionary = 2

The IHO Object Catalogue Data Dictionary (ODD, code 2).

Enc = 1

An Electronic Navigational Chart (ENC, code 1).

InlandEnc = 10

An Inland ENC (code 10). This code is defined by the Inland ENC product specification, not by S-57.

Remarks

The values are the exact PRSP codes, so cast between this enum and ProductSpecification in either direction. To interpret the code of a data set that has been read, use Product instead: its S57ProductKind groups the codes but doesn't hold them, so it can't be cast to a PRSP code.

NATO Additional Military Layers (AML) products use the codes 51-57, which AmlProduct names; its values are PRSP codes too. A code this enum doesn't name, such as an AML code, casts to an unnamed value rather than failing.