Table of Contents

Enum S57DepthUnits

Namespace
EncDotNet.S57
Assembly
EncDotNet.S57.dll

The depth units of the DSPM subfield DUNI, which takes its values from the attribute DUNITS (S-57 Edition 3.1, Part 3 ยง7.3.2.1; Appendix A, chapter 2, attribute 89).

public enum S57DepthUnits

Fields

FathomsAndFeet = 2

Fathoms and feet (code 2).

FathomsAndFractions = 4

Fathoms and fractions of fathoms (code 4).

Feet = 3

Feet (code 3).

Metres = 1

Metres (code 1).

Remarks

The values are the exact S-57 codes, so cast between this enum and DepthUnits (or a DUNITS attribute value) in either direction. A code S-57 doesn't define casts to an unnamed value rather than failing.