Table of Contents

Class NoaaEncProductCatalogReader

Namespace
EncDotNet.S100.Collections.Noaa
Assembly
EncDotNet.S100.Collections.dll

Reads a NOAA ENC product catalogue (ENCProdCat.xml).

public static class NoaaEncProductCatalogReader
Inheritance
NoaaEncProductCatalogReader
Inherited Members

Remarks

The full catalogue is about 10 MB with more than 7,000 cells, so it is streamed: each <cell> element is materialised on its own and discarded once mapped. Unknown elements are ignored and malformed values read as absent, so a producer-side addition never fails the read.

Methods

Read(Stream)

Reads a catalogue from stream.

public static NoaaEncProductCatalog Read(Stream stream)

Parameters

stream Stream

Returns

NoaaEncProductCatalog

Exceptions

XmlException

The content is not a NOAA ENC product catalogue.

Read(string)

Reads the catalogue at path.

public static NoaaEncProductCatalog Read(string path)

Parameters

path string

Returns

NoaaEncProductCatalog